and# Genius Scan SDK for React Native demo
-
Ensure you are using the recommended version of Node. For instance, for React Native 0.75, you need to use Node 18 or newer.
nvm install 18 nvm alias default 18
-
If you don't have it already, install the React Native CLI:
npm install -g react-native-cli
-
Install the project dependencies:
yarn install
-
For iOS, install the Cocoapods dependencies:
cd ios pod install
-
Run the app:
yarn ios yarn android
For iOS, it's also possible to run the app from Xcode, after opening the
ios/demo.xcworkspace
project:xed ios/demo.xcworkspace