Skip to content

Files

This branch is 2 commits ahead of, 64 commits behind FormidableLabs/react-native-app-auth:main.

Example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 13, 2022
Jan 7, 2020
Jan 7, 2020
Nov 23, 2022
Apr 15, 2020
Jan 7, 2020
Jan 7, 2020
Apr 15, 2020
Jan 7, 2020
Nov 23, 2022
Mar 19, 2021
Apr 15, 2020
Jul 13, 2022
Nov 24, 2017
Aug 4, 2020
Jul 13, 2022
Jul 13, 2022
Jul 13, 2022

React Native App Auth Example

Demo

Running the iOS app

After cloning the repository, run the following:

cd react-native-app-auth/Example
yarn
(cd ios && pod install)
npx react-native run-ios

Running the Android app

After cloning the repository, run the following:

cd react-native-app-auth/Example
yarn
npx react-native run-android

Notes

  • You have to have the emulator open before running the last command. If you have difficulty getting the emulator to connect, open the project from Android Studio and run it through there.
  • ANDROID: When integrating with a project that utilizes deep linking (e.g. React Navigation deep linking), update the redirectUrl in your config and the appAuthRedirectScheme value in build.gradle to use a custom scheme so that it differs from the scheme used in your deep linking intent-filter as seen here.

Example:

// build.gradle
android {
  defaultConfig {
    manifestPlaceholders = [
      appAuthRedirectScheme: 'io.identityserver.demo.auth'
    ]
  }
}