Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 654 Bytes

File metadata and controls

33 lines (21 loc) · 654 Bytes

onfido-sdk-web-sample-react-native

Sample app which uses the Web SDK inside a React Native app

Usage

Install required packages:

$ npm install

then run for the target device:

$ npm run ios # for iOS
$ npm run android # for Android

For more info, see Expo.io

WebSDK URL

By default, this app uses the lastest build: https://latest-onfido-sdk-ui-onfido.surge.sh/.

To change this, go to App.tsx.

Caveats

  • Because we don't have the full control of iOS/Android native configuration (e.g. Info.plist file for iOS), it's unable to load a local URL like https://localhost:8080.