1. Generate Access Credentials
- Create a new connection in the sync.blue® Dashboard.
- Select sync.blue® MOBILE Storage as the sync target.
- Note the displayed access credentials.
2. Create mobileconfig File
Create a mobileconfig file for iOS (e.g., DEMO.mobileconfig) for the CardDAV configuration and replace the parameters inside (MY-CONTACT-LIST-NAME, MY-MOBILE-STORAGE-API-KEY, MY-MOBILE-STORAGE-PASSWORD) with your own values:
<?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>PayloadContent</key>
<array>
<dict>
<key>CardDAVAccountDescription</key>
<string>MY-CONTACT-LIST-NAME</string>
<key>CardDAVHostName</key>
<string>carddav.sync.blue</string>
<key>CardDAVUsername</key>
<string>MY-MOBILE-STORAGE-API-KEY</string>
<key>CardDAVPassword</key>
<string>MY-MOBILE-STORAGE-PASSWORD</string>
<key>CardDAVPrincipalURL</key>
<string>https://carddav.sync.blue/MY-MOBILE-STORAGE-API-KEY</string>
<key>PayloadDescription</key>
<string>Configuration profile for contact synchronization with sync.blue®.</string>
<key>PayloadDisplayName</key>
<string>sync.blue® CardDAV</string>
<key>PayloadIdentifier</key>
<string>blue.sync.carddav.MY-MOBILE-STORAGE-API-KEY</string>
<key>PayloadOrganization</key>
<string>sync.blue®</string>
<key>PayloadType</key>
<string>com.apple.carddav.account</string>
<key>PayloadUUID</key>
<string>7A6904B0-49C9-4D7A-B037-5B6C5CE1F312</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Configuration profile for contact synchronization with sync.blue®.</string>
<key>PayloadDisplayName</key>
<string>sync.blue® CardDAV Configuration</string>
<key>PayloadIdentifier</key>
<string>blue.sync.carddav.MY-MOBILE-STORAGE-API-KEY</string>
<key>PayloadOrganization</key>
<string>sync.blue®</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>239D1FAC-7B72-467D-87F6-E18803861A83</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>3. Provide the mobileconfig File
Upload the completed .mobileconfig file to a secure web server of your choice so that it can be downloaded by iPhones via a URL such as https://www.mycompany.com/DEMO.mobileconfig.
4. Generate QR Code
Create a QR code using any QR code generator that points to the URL of the .mobileconfig file, for example https://www.mycompany.com/DEMO.mobileconfig.
5. Test Functionality
- Scan the QR code with the iPhone’s camera app.
- Open the offered profile installation.
- Install the profile according to the instructions.
- Verify that the CardDAV account was successfully set up.
Comments
0 comments
Please sign in to leave a comment.