I have been looking for a way to manage application properties in Ionic apps with little success. I am from the Java land and have worked on a few apps using the lovely spring framework. In that space we do stuffs like that using .yml or .properties that can also be externalized from the app and updated at runtime. Obviously, I am not looking for anything that advanced, especially because that may not be possible since most of these apps run on mobile devices.
I am one of those who like to code and test realtime and I find the ionic serve command really helpful. However there is the CORS challenge that has the potential of causing some pain if the concept is not properly understood. Thankfully, there are tons of documents online on that. Here however, to circumvent some of that pain one has to proxy request through a configuration in the ionic.config.json file at development time. At release time that code has to be changed from using the proxy to using the actual URL since devices do not trigger CORS. This example, coupled with a few other properties such as, API public keys, partner URLs need to be managed properly. What is the best way to handle this in an ionic app.