Smart QR Mode
Flow version supported: v1.2 (or earlier)
The Smart QR mode displays a QR code on the user's primary device (e.g., a desktop browser). The user scans the code with a mobile device to launch the IAB flow in their mobile browser. After completion, the status is reflected back on the primary device.
This behaviour is configured at the partner level via backend configs. To override the partner-level defaults for a specific session, pass the following parameters to the Initiate Flow API when generating the launch URL.
Configuration Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
additionalDetails.allowQr | boolean | false | Enables the QR flow on devices without a camera |
additionalDetails.forceQr | boolean | false | Forces the QR flow on all devices, regardless of camera availability |
Behaviour Reference
The combination of allowQr and forceQr determines when the QR screen is shown:
|
| Behaviour |
|---|---|---|
|
| QR flow is disabled |
|
| QR flow is launched always |
|
|
|
|
| QR flow is launched always |
Updated 3 months ago