My org is creating an app, that will have certain wifi hotspots listed in a mobile config file, so that the user does not have to write the password for these wifi when he is in range.
I know this can be done using .mobileconfig
file. But I have serious doubts.
Here are few questions regarding the app:
Can .mobileconfig
file be created programatically. I cannot find a link to how to cretae this programatically (not using iPCU).
Will Apple allow an app that creates .mobileconfig
file and asks the user to download it and install it, so as to change the wifi settings?
Is making the user download this .mobileconfig
file only possible via Safari or Mail? Is there any way that this file be opened directly from the app to the settings screen?
Thanks in advance. :)
Open the Settings app. Select Profile Downloaded. You will see a description of what your MOBILECONFIG file contains. To install the file, select Install.
These files are helpful with setting up features like Wi-Fi networks or E-Mail accounts, and provide an easy way to distribute configuration information to multiple devices.
In the Profile Manager sidebar, select a device, user, or group. Click the Download button. A . mobileconfig file is downloaded to the Downloads folder on your Mac.
1) Yes it can. It can be created as an XML file. In fact, you can open and edit an unsigned .mobileconfig
file in a text editor and edit the fields. Keep in mind that if it's signed then any edits to the file will require you to re-sign it.
2) Apple will allow an app that downloads and installs a .mobileconfig via Safari, I've seen one on the App Store that does this.
3) Safari + Mail are the only ways to open them(on iOS).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With