Can I read the enterprise iOS boot boot layer from the app?

I would like to distribute the iOS application for enterprises, which by the time the user opens it, he already shows his name and other information, even if .ipa is the same .ipa that every other user downloads. I believe that I could do this by providing the user with a specific application download URL and creating the required Plust Enterprise download to include some user data, but my question is:

Is it possible to access / read Plist from the download link from the application? If so, how?

+8
ios objective-c ios-enterprise
source share
5 answers

There is a way to read the link to download the enterprise from the application (but I'm sure you are not asking the code to download and read the file) , but there is no way to display something different in the application, based on the parameter on the index page or manifest file, without changing IPA

Unfortunately, the installed application does not know the manifest file or index page from which it was loaded.

EDIT with links / sources

This link in the section “Exporting your application for testing outside the application store”: Exporting your application for testing (iOS, watchOS) discusses the manifest files, but does not mention any data chain from the web deployment in the application.

I also turned to a senior Apple adviser who confirmed that there is no mechanism that provides the App with any knowledge of where the application was installed.

+7
source share

The only way I could do this is to send the same link to all users (examplesite.com/ios/download) and send them a unique user ID "SG5JD5J" . When the application is downloaded and opened for the first time, prompt the user to enter a unique user identification code. After which your application will be able to update its plist and go to the application.

Unfortunately, the way you want to do this will require a private API or jailbroken iOS device , so that you can look at the history of web browsers, find your URL (example site.com/ios/download) with a unique identifier at the end and update plist as needed.

If you find a solution to this issue, comment on it, as I would be interested to see.

+2
source share

I can imagine two options:

+1
source share

No, It is Immpossible. Plist is designed for iOS to search for information, such as the download path, version name and application, so iOS will know what the user needs to request.

Your code can only be executed after the application has been installed on the device, and at that time it no longer has information about this plist. And there is no way for the application to find its download path information.

0
source share

There is no way to read any file from the IPS if it is not already installed on the device.

What you can do is get information about the user from your site, that is, allow the user to fill out a form on the download page. Then save the data on your server along with the GUID that you can create on your download page.

After the application is installed and launched, the application must recreate the GUID and then query the server to find user information related to the GUID.

Your application may pre-populate user information.

The problem is, how can your download page create a GUID that will also be recreated by the installed application? Well, you can create a GUID using browser information. Check this out how to create a GUID using browser info:

https://andywalpole.me/#!/blog/140739/using-javascript-create-guid-from-users-browser-information

0
source share

All Articles