Skip to content

Files

Latest commit

1149bf6 · Jan 14, 2025

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 12, 2024
Jun 12, 2024
Aug 1, 2024
Jun 12, 2024
Aug 1, 2024
Jan 14, 2025
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Aug 1, 2024
Aug 22, 2024
Jun 12, 2024
Jan 14, 2025
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Jun 12, 2024
Jul 24, 2024
Aug 22, 2024
Jun 12, 2024

React Native App Auth Example

Demo

Running the iOS app

After cloning the repository, run the following:

cd react-native-app-auth/examples/demo
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/examples/demo
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'
    ]
  }
}