This app shows how to use React Native 0.57+ with Typescript (i.e. Babel 7), using React Native App Auth for OAuth2 authentication (Okta) and react-test-renderer for testing.
Note: This has only been tested on Android.
First run
yarn
to install the dependencies. Then edit src/App.tsx
and change the config
to match your
authentication parameters. Similarly for the manifestPlaceholders
section of
android/app/build.gradle
.
For Android run
react-native run-android
to deploy to an emulator or connected device.