I am writing an application to automate the process of connecting an Apple mobile device to a Wi-Fi network and downloading configuration profiles to the device. Since it is automated (for example, Native Driver), all functions must be controlled by the application itself, and not be sent to another application, such as Settings or Safari.
I already use the Apple80211 private infrastructure to connect to a Wi-Fi network, as well as UIWebView instead of a browser, to go to a specific web page. As soon as I go to this web page, my server will send the .mobileconfig file to the mobile device to set the configuration profile. I could not find a clear answer on how to handle this .mobileconfig file after it was sent by the server. I read in several different places that UIWebView cannot process the .mobileconfig file after it is submitted. What would be the best way to process this file when sending it?
In addition, after sending it and providing that something can process the file, is there a way to set the configuration profile programmatically without the need for user input? those. Are there any public or private entities that I can implement to set the configuration profile backstage?
This app will only ever be used for testing, and it will live on only a few devices. Thanks in advance, any help would be greatly appreciated.
sliske
source share