The ZaigIosDeviceScan object
To use QI Tech’s iOS DeviceScan, you must import the ZaigIosDeviceScan framework and then instantiate the ZaigIosDeviceScan class, which has the following constructor parameters:
Important Note!
Starting from version 5.0.0, the authentication system was updated to use a temporary tokeninstead of mobileToken.
Version 5.0.0+
| name | type | description |
|---|---|---|
| environment | String | An environment enum where the application is running — sandbox or production. If a different value is sent, an exception will be thrown. required |
| token | String | Authentication token that identifies that the collected data comes from your application. Obtained through a request to the Device Scan API. required |
| sessionId | String | Session identifier (must be the same used to generate the token) which will also be sent at the moment of the event evaluation (Transaction, Onboarding, for example), to correlate the device scan data with the event to be evaluated. required |
Previous versions
| name | type | description |
|---|---|---|
| environment | String | An environment enum where the application is running — sandbox or production. If a different value is sent, an exception will be thrown. required |
| mobileToken | String | Customer key sent by QI Tech support that identifies that the collected data comes from your application. For security reasons, if this key is incorrect, QI Tech servers will receive the call but will not process it. required |
| sessionId | String | Session identifier, which will also be sent at the moment of the event evaluation (Transaction, Onboarding, for example), to correlate the device scan data with the event to be evaluated. required |