universal_link_url set in the Console, with the Connect session ID appended:
Handling universal links
- Open your app if it is installed and set up for Universal Links (iOS) or App Links (Android). Otherwise open the link in the browser.
- Read
connect_sessionfrom the URL. - Retrieve the Connect session and check it is valid and not expired.
- Check the user is signed in, and ask them to sign in if not.
- Find the device. If the session has a
device_id, check that it belongs to the signed-in user and use it; if it has none, or the device is someone else’s, ask the user to pick a device. The session carries adevice_idwhen the user started from your Programs page and the VPP operator passed the sign-up reference back. Create the device, and its location if needed, when Flatpeak does not have it, then update the Connect session withdevice_idandlocation_id. - Start the session with
flowAUTO.
connect_session.
Platform setup
When the session completes
Your backend receivesconnect_session.complete. Read the consents the user granted on the device: if they consented to telemetry, start sending it, and if they consented to control, start fetching and applying instructions.
