notes/native
Vlad Filippov 4db0079efa
Switch targetSDKVersion to 28
2020-09-17 12:42:08 -04:00
..
android Switch targetSDKVersion to 28 2020-09-17 12:42:08 -04:00
app Latest strings and urls 2020-09-17 10:57:30 -04:00
ios Upgrade 059 (#1474) 2019-04-03 21:53:39 -04:00
misc Add Taskcluster file (#1006) 2018-05-15 18:18:52 -04:00
scripts Update to fxa-crypto-relier 2.3.0 everywhere (#1126) 2018-06-01 00:47:57 -04:00
.babelrc react native update (#1471) 2019-04-03 16:53:56 -04:00
.buckconfig Land initial Android app functionality (#797) 2018-04-05 18:32:59 -04:00
.flowconfig Upgrade 059 (#1474) 2019-04-03 21:53:39 -04:00
.gitattributes Land initial Android app functionality (#797) 2018-04-05 18:32:59 -04:00
.gitignore Update to React Native 0.55 (#1067) 2018-05-15 09:50:43 -04:00
.watchmanconfig Land initial Android app functionality (#797) 2018-04-05 18:32:59 -04:00
CHANGELOG.md Prepare Android 1.3.0 Release (#1478) 2019-04-04 09:37:14 -04:00
README.md Land initial Android app functionality (#797) 2018-04-05 18:32:59 -04:00
app.json Land initial Android app functionality (#797) 2018-04-05 18:32:59 -04:00
babel.config.js Upgrade 059 (#1474) 2019-04-03 21:53:39 -04:00
config.json Initial L10n support, add config generator (#934) 2018-04-13 11:46:46 -04:00
index.js react native update (#1471) 2019-04-03 16:53:56 -04:00
package-lock.json Add babel stuff 2020-09-10 10:56:52 -04:00
package.json Add babel stuff 2020-09-10 10:56:52 -04:00
shim.js Land initial Android app functionality (#797) 2018-04-05 18:32:59 -04:00

README.md

Notes for Android

Contributing

  • Use node 8 and run npm install
  • Plugin an Android phone (or use a device from Android AVD) and make sure it is visible via adb devices
  • Run npm start

Useful commands

npm run dm - when the app is open this opens the debug menu

Use npx (from npm 5) to run commands for react-native

npx react-native upgrade - regenerates Android files from React Native npx react-native start --reset-cache - resets app cache

adb logcat *:S ReactNative:V ReactNativeJS:V - Logger from Android LogCat

Release

Read Generating Signed APK

Creating a release: cd android && ./gradlew assembleRelease