Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Downloading "mobileconfig" file from an App

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:

  1. Can .mobileconfig file be created programatically. I cannot find a link to how to cretae this programatically (not using iPCU).

  2. 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?

  3. 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. :)

like image 547
Nikita P Avatar asked May 14 '13 06:05

Nikita P


People also ask

How do I download Mobileconfig files to my Iphone?

Open the Settings app. Select Profile Downloaded. You will see a description of what your MOBILECONFIG file contains. To install the file, select Install.

What is a mobile config file?

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.

How do I download Mobileconfig on Mac?

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 Answers

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).

like image 60
SG1 Avatar answered Oct 23 '22 17:10

SG1