A game to keep the score for a two player game such as Star Realms.
Open the Android Virtual Device (AVD) Manager (android avd
) and start a device).
Or open Genymotion and start and android device.
react-native run-android
In the emulator, hit Cmd+M, and tap "Enable Live Reload".
In the emulator, hit Cmd+M, and tap "Enable Live Reload".
react-native log-android
This is from the React Native Getting Started guide
brew install node
brew install watchman
npm install -g react-native-cli
Make sure you have AVD (Android Virtual Device) and HAXM (Performance (Intel HAXM)).
Run android
to start SDK Manager, look for "Intel x86 Emulator Accelerator (HAXM installer)" under Extras.
javac -version
Select "SDK Platforms" from within the SDK Manager, then check the box next to "Show Package Details". Look for and expand the Android 6.0 (Marshmallow) entry, then make sure the following items are all checked:
- Google APIs
- Intel x86 Atom System Image
- Intel x86 Atom_64 System Image
- Google APIs Intel x86 Atom_64 System Image
Next, select "SDK Tools" and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build Tools" entry, then make sure that Android SDK Build-Tools 23.0.1 is selected.
Finally, click "Apply" to download and install the Android SDK and related build tools.
export ANDROID_HOME="$HOME/Library/Android/sdk"
ANDROID_PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools"
export PATH="$ANDROID_PATH:$PATH"
This is from the React Native Documentation.
-
Make sure you have the keystore file (
my-release-key.keystore
) inandroid/app
. -
Edit the file
~/android/gradle.properties
and add the following (replace ***** with the correct keystore password, alias and key password),MYAPP_RELEASE_STORE_FILE=my-release-key.keystore MYAPP_RELEASE_KEY_ALIAS=my-key-alias MYAPP_RELEASE_STORE_PASSWORD=***** MYAPP_RELEASE_KEY_PASSWORD=*****
-
Generating the release APK
cd android ./gradlew assembleRelease open app/build/outputs/apk
The generated APK can be found under android/app/build/outputs/apk/app-release.apk
.
- Add undo icon
- Add app icon
- Animation when adding/subtracting
- Use correct undo icon
- Make the score text responsive
- Status bar color should be slightly darker
- Choose app name
- Keep the screen on
- Remove unnecessary permissions
- Publish on Google Play
- Publish on F-Droid
- Add more menu on card
- Add color picker on more menu
- Add hamburger menu?
- New game button?
- Setting for starting score?