Search code examples
testingxamarinconfigapi-key

xamarin config file and sandbox


I have created a application and about to release in few days After searching online I understand there is nothing like app.config for Xamarin. Please suggest better place to save api keys

Also is there any environment where I can test my application before it goes live. So I can see how it looks and functions in many devices


Solution

  • You have a few options, for example:

    1. Resource file (resx);
    2. Constants file;
    3. Api endpoint that retrieves config on startup. Huge benefit is that your config is dynamic. So if you change something in the config, it is automatically updated when user restarts the app.

    For testing the app on multiple devices, try TestCloud.