We are trying Xamarin as our cross platform approach. And we have learnt many things along the way, some of them were the old approach of Static Library, the API definition and how the code structure and the API design of Xamarin and iOS are somehow different.
We have quite a big codebase (more than 100 thousand lines of code) in iOS and Android in native, mainly because we deal mostly with Video Processing and some native features. We use frameworks a lot to share code between different apps. I have been looking for ways to port the code from iOS to Android in a smooth and cost saving way.
There are multiple steps that I plan to go through when adapting Cross Platform:
– Same or similar architecture between iOS and Android codebase
– Prepare the library in correct format to be reused in the Cross Platform
– Prepare the Binding
– Prepare the team with C# knowledge to migrate the codebase
– Design the module and how best the app will be separated between Shared Module and iOS Module