Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

heutagogy/HeutagogyMobileApp

Repository files navigation

Heutagogy mobile app

Android

Install

  1. Go through https://facebook.github.io/react-native/docs/getting-started.html Choose Android and Linux. To install Android Studio on NixOS: nix-env -iA nixos.android-studio
  2. Open android emulator using Android Studio.
  3. npm install
  4. npm run link

Run

  1. nix-shell
  2. npm run android
  3. npm run start → hopefully, you should see the app inside android emulator

Create signed APK

Doc: https://facebook.github.io/react-native/docs/signed-apk-android.html

  • Follow the instruction till “Generating the release APK” and then run npm run build-apk. Signed APK file can be found in android/app/build/outputs/apk
  • To build apk and upload it to emulator run npm run android-release

Tips

  • Enable keyboard input in emulator manager in order to use R-R shortcut for reloading
  • To open developer menu: adb shell input keyevent KEYCODE_MENU
  • Use "Debug JS Remotely" to see the logs in http://localhost:8081/debugger-ui

License

The HeutagogyMobileApp source code is licensed by GNU Affero General Public License version 3 (APGLv3).

The full text of the Heutagogy license is available in LICENSE file.