Sample app which uses the Web SDK inside a React Native app
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
By default, this app uses the lastest build: https://latest-onfido-sdk-ui-onfido.surge.sh/.
To change this, go to App.tsx
.
- 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 likehttps://localhost:8080
.