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.
Answers
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
ITNOA
maybe PCLAppConfig is useful.