Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 815 Bytes

File metadata and controls

42 lines (29 loc) · 815 Bytes

and# Genius Scan SDK for React Native demo

Installation

  1. 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
    
  2. If you don't have it already, install the React Native CLI:

    npm install -g react-native-cli
    
  3. Install the project dependencies:

    yarn install
    
  4. For iOS, install the Cocoapods dependencies:

    cd ios
    pod install
    
  5. 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