Base solution for your next web application
Open Closed

Xamarin App - Store Config Settings on Device #8073


User avatar
0
strategy9 created

I'm working on the asp.netzero Xamarin project to create a generic app that will work for all of our users. However, we have multiple host URLs (user-specific). Has anyone implemented storing settings on the device with this app?

ie: when the app is installed and first run, it would ask for your specific config details (ie: host-url) and store those locally, and use that host-url instead of the value stored in DefaultHostUrl in ApiUrlConfig.cs


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @aww123

    You can create an endpoint in the host project and make a request to this URL to get necessary config. Storing items on mobile app is nothing different than a regular Xamarin app. If I don't remember wrong, current app already stores some information.

  • User Avatar
    0
    strategy9 created

    Cool, thanks.