Excerpt | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Step 1 - Download and Import the Cardinal Mobile SDKDownload the CardinalMobile.framework/CardinalMobile.xcframework file using the following cURL.
Step 2 - Setting Up Your Build Environment
Step 3 - Configure Cardinal Mobile SDKUpon successfully completing Integration in Step 1 and Step 2, create a new instance of the cardinal object by [CardinalSession new]. SDK offers multiple configuration options for you (if not specified, everything is set to default). For more details: CardinalConfigurationOptions. Use the code snippet below for completing the configuration.
|
...
Method | Description | Default Value | Possible Values |
---|---|---|---|
deploymentEnvironment | The environment SDK connects to. | CardinalSessionEnvironmentProduction |
|
collectLogs | Enables collecting SDK logs | true | Boolean |
requestTimeout | Sets the maximum amount of time (in milliseconds) for all exchanges | 8000 | Milliseconds |
challengeTimeout | Challenge Screen Timeout in Minutes. | 5 | Greater than or equal to 5 Minutes. |
uiType | Interface types that the device supports for displaying specific challenge user interfaces within the SDK. | CardinalSessionUITypeBoth |
|
renderType | List of all the RenderTypes that the device supports for displaying specific challenge user interfaces within the SDK. | [CardinalSessionRenderTypeOTP, CardinalSessionRenderTypeHTML, CardinalSessionRenderTypeOOB, CardinalSessionRenderTypeSingleSelect, CardinalSessionRenderTypeMultiSelect] |
|
proxyServerURL | Proxy server through which the Cardinal SDK Session operates. | nil | String Value |
| |||
uiCustomization | Set Custom UICustomization for SDK Controlled Challenge UI. | nil | |
enableDFSync | Enable DF Sync to get onSetupCompleted (Step 4) called after collected Device Data is sent to the server. | true | Boolean |
threeDSRequestorAppURL | Merchant app declaring their URL within the CReq message so that the Authentication app can call the Merchant app after OOB authentication has occurred. Each transaction would require a unique Transaction ID by using the SDK Transaction ID. | nil | String Value |
darkModeUiCustomization | Set Custom UICustomization for SDK Controlled Challenge UI. | nil | - |
...