Tuesday, October 12, 2021

How to make a installable pwa for ios in FILE?


 —————

File to download (we will be basing on that):

—————-


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>ConsentText</key>

<dict>

<key>default</key>

<string>Choose 'Install' and enter passcode if prompted.</string>

</dict>

 <key>PayloadContent</key>

 <array>

   <dict>

     <key>FullScreen</key>

     Provided Input

     <key>Icon</key>

     <data>Base64 Encoded</data>

     <key>IsRemovable</key>

     Provided Input

     <key>Label</key>

     <string>Provided Input</string>

     <key>PayloadDescription</key>

     <string>Provided Input</string>

     <key>PayloadDisplayName</key>

     <string>Web Clip (Provided Input)</string>

     <key>PayloadIdentifier</key>

     <string>Provided Input</string>

     <key>PayloadOrganization</key>

     <string>Provided Input</string>

     <key>PayloadType</key>

     <string>com.apple.webClip.managed</string>

     <key>PayloadUUID</key>

     <string>c3b2c123-6253-464e-afde-0d987400da0f</string>

     <key>PayloadVersion</key>

     <integer>1</integer>

     <key>Precomposed</key>

     <false/>

     <key>URL</key>

     <string>Page URL</string>

   </dict>

 </array>

 <key>PayloadDescription</key>

 <string>Provided Input</string>

 <key>PayloadDisplayName</key>

 <string>Provided Input</string>

 <key>PayloadIdentifier</key>

 <string>Provided Input</string>

 <key>PayloadOrganization</key>

 <string>Provided Input</string>

 <key>PayloadRemovalDisallowed</key>

 <false/>

 <key>PayloadType</key>

 <string>Configuration</string>

 <key>PayloadUUID</key>

 <string>345097fb-d4f7-4a34-ab90-2e3f1ad62eed</string>

 <key>PayloadVersion</key>

 <integer>1</integer>

</dict>

</plist>

—————-

Copy this text and paste into notes. Now we will modify some values, so this app wont be a literal template, so:

After „<key>Fullscreen</key>” add text: yes (if your app will be fullscreen) or no if you want to show statusbar both with browser navbar (back, forward, share menu and open in safari)

Between <data> And </data> after line with „<key>Icon<Key>” insert base64 encoded image of your app (to display at homescreen)

After „<key>isremovable</key>” add yes or no depending if this app can be removed from homescreen

As a string after „<key>Label</key>” place your app’s name. This one will be only visible when you install or view profiles in settings

As a string in „<key>Payloaddescription</key>” place description of your app. It also will be visible only in settings profiles page.

As a string in „<key>payloaddisplayname</key>” also place your app name.

Same for „<key>Payloadinentifier</key>”

In „<key>payloadorgnization</key>” place your name/nick/company. Its just a place for author.

And set <key>url</key> string to url you want to convert to app.

Payloaddescription, payloaddisplayname, indentifier and organization setup again the same.

After „<key>payloadremovaldisallowed</key>” set to </true> if you want to preserve this app from being deleted after factory reset and block removal. Otherwise leave as-is (set </false>)

Thats all if about file setup.

Now save this file as {myapp}.mobileconfig and its already installable profile !!! 

Small note : you can not only make free web app using ios profiles. You can also do a way more things. Like removing apps (!even system!), make vpns, save settings, and more !!!

For full reference go there ->  https://developer.apple.com/business/documentation/Configuration-Profile-Reference.pdf . 

= ]

No comments:

Post a Comment