Is it possible to load a different components.json file in the config.xml for Phonegap?
1
We have a whitelabel app where we can lead different stylesheets per label (based on the URL) on desktop. Using a switch statement the app reads the URL and load the correct stylesheets. For the responsive app this works fine. But we also offer a Phonegap app, using the components.json. This file is hard coded and "statically" loads the stylesheets. Is there a way to dynamically load the correct stylesheets by configuring this in the config.xml / index.html of the phonegap build? - Edit: Since we have different phonegap builds per whitelabel, changing the components.json in the config.xml or index.html would be a solution as well.