1

In iOS you can email users a Configuration Profile XML file that will automatically update custom app-specific settings when opened on the device with the app installed. This is an easy way to get configuration settings to many users who use your app so they don't have to manually enter them. For example, this could update or enter a URL to a web service needed for the app to work.

You don't need an MDM, you can just email the file as an attachment.

Is there a similar way to do this with Android? I've found some of these Android interfaces and APIs but they don't seem to accept updates by opening a file on the device from what I see:

SharedPreferences

RestrictionsManager

Managed Configurations

Device Administration

I don't want to use an MDM or external URL listening.

I checked these questions but they were either not exactly the question or old so I don't know if there is a new way that it can be done:

What is iOS mobile config equivalent in android?

Android Config File

Equivalent of configuration profiles (iOS) for Android

Android remote or push config profile

Heinrich
  • 1,711
  • 5
  • 28
  • 61
  • 1
    Is there a reason why you don't just have the app register a custom URI or file format via Intent Filter? You would be still responsible for securing/validating the payload. – Morrison Chang Sep 24 '17 at 03:29
  • 1
    Emailing a file of settings? That seems incredibly insecure. – Gabe Sechan Sep 24 '17 at 03:52
  • @GabeSechan No sensitive data is in the configuration file. Apple supports this, maybe in Android it's not a good idea. I'm not really an Android developer so I don't know. This is from the iOS Developer documentation I linked in my question: There are five ways to deploy configuration profiles: -Using Apple Configurator 2, available in the App Store -In an email message -On a webpage -Using over-the-air configuration as described in Over-the-Air Profile -Delivery and Configuration -Over the air using a Mobile Device Management Server – Heinrich Sep 24 '17 at 14:34
  • @MorrisonChang I'll look into custom URI or Intent Filter, as long as they can load the custom app settings after the app is installed it might work. – Heinrich Sep 24 '17 at 14:36
  • I'm working on an Android WiFi configuration. This following link looks promising. It would only work for WPA-Enterprise (username+password or client certificate). https://source.android.com/devices/tech/connect/wifi-passpoint – Gordolio Jun 27 '19 at 19:32

0 Answers0