Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Prerequisites

patogallaiovlabs edited this page Jun 22, 2021 · 6 revisions

General

  • NodeJS : node.js >=12 and compatible npm version.

To run on Android

  1. In order to run this App in Android Simulator, Android Studio needs to be installed with Android SKD 11 (Api level 30). Please refer to https://developer.android.com/studio
  2. Open Android Studio, create a device via Tools > AVD Manager > Create Virtual Device. After downloading required dependencies, start the device by clicking on Play icon.
  3. Now we are testing if you can invoke adb in terminial. This is for running rWallet Android App on Android virtual device.
    1. Since we already have Android Studio installed we can add platform-tools to path
      echo 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' >> ~/.bash_profile
      echo 'export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools' >> ~/.bash_profile
      
    2. Then, refresh bash profile by source ~/.bash_profile
    3. Start using adb with adb devices
    4. If you have a virtual device running, it should show
      List of devices attached
      emulator-5554	device
      

To run on iOS Devices

  1. Cocoapods installed: https://cocoapods.org/
    1. There is a known issue with macs with M1. To solve it, follow this solution: https://stackoverflow.com/questions/67282416/load-error-while-trying-to-install-cocoapods-in-macbook-air-running-osx-11-2-2-w
  2. XCode needs to be installed (v11.x). iOS simulator will be installed along with XCode.

Note: When running npm install with xCode 12.x it throws the following error:

ReferenceError: globalThis is not defined #2795