emilhakobyan8 / testapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Application in React-Native

Installation iOS

  1. Make sure you have

    NodeJS

    brew install node
    

    Watchman

    brew install watchman
    

    cocoapods installed.

    sudo gem install cocoapods
    
  2. Install react-native-cli

    npm install -g react-native-cli
    

    For more information please visit here.

  3. Clone down the repository

    git clone git@gitlab.com:emil.hakobyan1/testapp.git
    
  4. Install your dependencies

    npm install
    
  5. In ios folder run

    pod install
    
  6. Start the iOS app.

    Open testapp.xcworkspace (in testapp/ios folder). Select device or simulator and run the project.

Installation Android

  1. Make sure you have

    NodeJS

    brew install node
    

    Watchman

    brew install watchman
    
  2. Install react-native-cli

    npm install -g react-native-cli
    

    For more information please visit here.

  3. Clone down the repository

    git clone git@gitlab.com:emil.hakobyan1/testapp.git
    
  4. Install your dependencies

    npm install
    
  5. Setup Android Studio by following these steps. Run Android Studio and open ./android. Wait for gradle indexing... :)

  6. Make sure you have NDK, Android SDK Tools checked in Android SDK section.

  7. run npx jetify.

  8. Run the project on the device or emulator.

  9. Skip this step if you running on emulator. Shake your device (or long press on menu or back buttons). It will open developer menu. Press on Dev Settings.

    devmenu

Press on Debug server host & port for device and type ${your_ip_address}:8081 (e.g. 192.168.3.93:8081). Reload the app.

Available deep links

  1. testapp:// - opens app
  2. testapp://auth - opens app and navigates to auth screen
  3. testapp://map - opens app and navigates to map screen(authenticated)
  4. testapp://camera - opens app and navigates to camera screen(authenticated)

About


Languages

Language:TypeScript 67.6%Language:Java 13.2%Language:Objective-C 11.1%Language:Starlark 4.1%Language:JavaScript 2.0%Language:Ruby 2.0%