This app is for demonstrating the usage of functions supportted by @authgear/react-native SDK.
Please read the environment setup guildlines by the official react-native team
See https://reactnative.dev/docs/environment-setup
# In root of React Native demo app
npm ci# In root of React Native demo app
npm start-
By command line
# In root of React Native demo app npm run android -
By Android Studio
i. Open the
androidfolder using Android Studioii. Select device to build the app on
iii. Click the
Runbutton (play button)
-
Install CocoaPods dependencies
# In root of React Native demo app cd ios && pod install && cd ..
NOTE: make sure you enabled XCode command line tools (XCode Preference -> Location -> Command Line Tools)
-
Build by command line
# In root of React Native demo app npm run ios -
Build by Xcode
i. Configure
Signing and Capabilitiesin XCode for signing the appii. Click
Buildbutton in XCode (play button)