This repo provides a working example of integrating Verisoul's webview into an IOS native app
The app opens the hidden webview and loads the Verisoul webview. The app then listens for a
secure session_id
from the webview and makes an API call to the Verisoul API to retrieve the account prediction. The
API call is included as an example but in production this should be done on your backend.
To run the app a Verisoul API Key is required. Schedule a call here to get started.
-
Download and install the latest Xcode
-
Clone this repo
git clone https://github.com/verisoul/native-ios-sample-app.git
- Open the project in Xcode and update the following variables
- Update
projectId
with your project id in theViewController.swift
file - Update
apiKey
with your api key in theZeroFakeDemo.swift
file
- Save the changes and select the simulator or plug in your IOS device and click Run