I recently started working with Ionic and Cordova, as my job requires me to, and I come across an issue that serves as a bottleneck.
Right now, we’re developing essentially two apps that’re based off of just one business model or majority of code. The first app is our main one, but the second one is for a specific customer. The differences are minimal, namely: theme changes (colour and logo) and two views that should be excluded, as they need to skip the entry point.
Preferably, we want to only use one code base and make the second app the ‘exception’ to the rule, by using something similar to view overrides in certain content management systems (such as Orchard CMS).
Right now, the folder structure is as follows:
Or rather: what would be the ideal way to solve this crux and how would I go on about this?
Any help would be greatly appreciated.