Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mobileconfig installation without using Safari

Tags:

ios

vpn

Regarding iOS 8 profile install...

I'm trying to figure out how to design the simplest flow for VPN profile install while using Apple guidelines as entry point, but can't find any clue of clean VPN install implementation without using Safari.

My Q is: How to build the correct structure for a fast VPN profile install.

Pls find a cool reference: ZenMate iOS app. Can you assist?

Thanks :)

like image 268
Tzahi Moyal Avatar asked Feb 26 '15 13:02

Tzahi Moyal


People also ask

How do I install MobileConfig on my Iphone?

Your iOS or iPadOS device should recognize the file and go to Settings > General > Profiles for you. Tap Install to install the profile. A . mobileconfig file will be installed on your iOS or iPadOS device.

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.

What is iOS MobileConfig?

mobileconfig) that consists of payloads that load settings and authorization information onto Apple devices. Configuration profiles automate the configuration of settings, accounts, restrictions, and credentials.

What are mobile config files?

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.


1 Answers

Currently, the only way to install mobileconfig files are using Safari or Mail app on iOS.

To install the mobileconfig, you have some choices like:

  1. Put the mobileconfig files on the web and open it by Safari
  2. Send the mobileconfig by email and open it by Mail app
  3. Package (or download) the mobileconfig files to your bundle and host a HTTP server by your app, then open the localhost link by safari through openURL: function.

Or, the iOS 8 way, using the new framework Network Extension to establish the VPN connection. And after trying the ZenMate iOS app, I believe it's what they use.

You can refer following resource for installing mobileconfig file:

Downloading "mobileconfig" file from an App

Installing a configuration profile on iPhone - programmatically

Or this link for using Network Extension:

Connect to VPN programmatically in iOS 8

like image 162
Charlie Hung Avatar answered Sep 30 '22 23:09

Charlie Hung