Skip to content Skip to sidebar Skip to footer

Xamarin Whitelabel Apps

I'm investigating Xamarin solution for my project. Project requirements are: IOS app, Android app, MacOS app, Windows 7,8,10 app. I already build test solution based on MvvmCross

Solution 1:

MSBuild has a lot of features and can certainly achieve something similar to what gradle has with build variants. However, it is complicated to dive into that stuff if you don't have a background with MSBuild.

I think this might be the easier approach (and what I would do):

  • Use projects to organize everything
  • Keep all your cross-platform code in a Shared project (or PCL)
  • Keep all Windows, iOS, Android-specific code in a Shared project for each platform
  • Make a startup project for each flavor/platform of your app, referencing the shared projects. If you wish, include preprocessor defines for each flavor of your app.

In the startup projects you can include different string resources, images, etc. Also look into how to use "file-linking" in Visual Studio/Xamarin Studio, as it will help you out of tight spots here--especially if the different flavors of your app vary in different ways.


Post a Comment for "Xamarin Whitelabel Apps"