- 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
- Open android emulator using Android Studio.
npm install
npm run link
nix-shell
npm run android
npm run start
→ hopefully, you should see the app inside android emulator
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 inandroid/app/build/outputs/apk
- To build apk and upload it to emulator run
npm run android-release
- 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
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.