I'm looking at being able to set some configuration variables for my android Library from the app.
The library I work with is basically serving data from a REST Api. I have a staging and production server and I would like to give the guys who are going to use the lib the ability to switch environment easily.
On iOS i have used the info.plist of the iOS app that hosts the library. I have put a ApiEnvironement variable inside and the plist in which you can specify your working environment, and then any framework linked can use this variable.
Any idea on how I could achieve this kind of behavior for Android ?
Thank you.