This is more about the standard practice ? Normally we put our urls in constant file in mobile apps? Unlike in web to make urls configurable they used to write inside app.config as key value pair? Whats the standard practice ?
On mobile there's little practical difference between hard-coded in a .cs file versus hard-coded in some config file. You can't update the values without re-signing and redeploying the whole app. If you need the values to be updated dynamically without redeploying the app (i.e., without going through app review) then you will have to put a config file online somewhere and then fetch it from within your app, using hardcoded or recent values as fallbacks.
Thanks a ton @adamkemp
maybe PCLAppConfig is useful.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies