0

I am building an Xamarin Forms IOS, Android and UWP app that can be custom branded for different clients (e.g. white-labeled). Their apps are exactly the same except for Info.plist, bundle identifier, name, app icons, assets and a few other minor things.

Personally, I thought of a project with multiple build configurations. (pre-build event scripts)

Does anyone know how I can realize this step by step(try it out)?

E75
  • 153
  • 3
  • 13

1 Answers1

1

As i see it, You could have a main set of projects (shared, platfrom-dependent, controls etc) with a skin system implemented - this is your app with all the functionality, let's call it "A".

Then You would have different VS solutions for each brand with projects "A" + "B - the launcher shared project for a specific brand, with appropriate bundle id etc".

Nick Kovalsky
  • 5,378
  • 2
  • 23
  • 50
  • I think it is useful to have one project, namely because about 90% of the code are the same. It is unnecessary to create a new solution for each brand – E75 Feb 05 '18 at 10:39
  • 1
    You will not copy your 90% code, you will be including same code to different solutions. :) – Nick Kovalsky Feb 05 '18 at 11:15
  • One solution could become massive though, right? With multiple build configurations relying on the same projects? – Chucky Mar 19 '21 at 15:44
  • Not really. In addition you can compact some your shared code into private nuget packages to include in your projects, to make the solution even smaller. – Nick Kovalsky Mar 22 '21 at 08:53