How do you store/manage stage dependent configuration?

Hey,

Its a common scenario that an an app has different settings regarding of the stage you are developing against.
As example the app could have different URL hosts for the API, more verbose debugging output, profiling enabled or tracking enabled depending on the stage local, testing, sandbox or production.

Its a rather common scenario on other platforms, but i cant find a viable solution for xamarin. So what is the common practice to store and manage those? I am curious about your solutions. :) Please note that conditional compilation shouldn't be an option because its not platform but stage specific.

Also i would prefer the principles of SimpleConfig but xamarin has no app.config. :( Is there maybe a way to use it anyway?

Regards
Ota

Best Answer

Answers

Sign In or Register to comment.