I'm working on a xamarin forms (PCL) project (A basic customer care chat app which is meant to run on Android and iOS only) that has just two xaml pages, custom renderers and few dependencies. This project is meant to be implemented into another existing project (which I don't have access to its source code) such that an action would be binded to a button on the existing app to show a page on my own project.
There is need for me to share my chat project with my client's developer but without exposing my source codes, perhaps compiling to dll or nuget package(this might be what I need but I have no idea on how to get started) that would be added to the existing project to access my project's functions and pages. I have searched through the forum but can't seem to lay my hands on a solution.
Is this possible at all? If yes, what am I missing? If no, is there any better option to use?
Please do note that I have the chat project done already. (Perhaps there's a way I could convert the existing project directly to nuget package)
Thanks in anticipation!
Thanks for your response @kentucker, I seem to have found a way around it by setting visual studio to build a Nuget package for each platform on build
Answers
If it is Xamarin forms you could probably compile it to a dll or put it in a nuget package to use. The real question here is what does the contract say about what you need to deliver?
Thanks for your response @kentucker, I seem to have found a way around it by setting visual studio to build a Nuget package for each platform on build
@kentucker Now I seem to be having another problem as my client complains of my package installing another apk on android aside the main app. Do you have any idea on how to solve this?
could you export your code as a dll or nuget package instead of an apk?
https://montemagno.com/converting-xamarin-libraries-to-sdk-style-multi-targeted-projects/