This is a sample app that demonstrate the basic usage of BlueID's Access React Native SDK
For more information check our documentation
Install NPM packages
npm install
To be able to run the app on an iOS device, first you need make sure pod version should be > 1.16.x and then install the pods, to do so run below commands in /ios
folder
- pod --version (if version is less than 1.16.x then update it)
- rm -rf Podfile.lock
- pod repo update
- pod install --repo-update
Once pods are installed run:
npm run start
Then on the terminal type "i" when prompted to run the app on your iOS device.
Important: To be able to run on a real device you'll need to select a developer team on XCode. To change the team open /ios/BlueIDAccessRNSample.xcworkspace
with XCode and change it on the Signing & Capabilities tab.
To run the app on an Android device simply run the following command:
npm run start
Then on the terminal type "a" when prompted to run the app on your Android device.