A react native app with the latest random news.
-
Install dependencies
yarn install
-
Set up your device for react native testing. Google that or something
-
Run the command
yarn start
-
Open another terminal and run the command
yarn android
-
Make sure you have a sugned keystore file. Google how to generate one.
-
Put the keystore file in android/app folder
-
Update the details at the end of the android/gradle.properties file for the given keystore
-
Enter the android folder and run the build command
cd android && ./gradlew bundleRelease
-
Find the .aab file in the android/app/build/outputs/bundle/release folder
-
Download bundletool
-
Dump the .aab file in the same folder as the bundletool
-
Run the command
java -jar bundletool.jar build-apks --bundle=app-release.aab --output=cobble_alerts.apks --overwrite --mode=universal --ks=your_upload_key.keystore --ks-pass=pass:your_keystore_password --ks-key-alias=your_key_alias --key-pass=pass:your_key_password
- Add README
- Correct the metro.config.js to watch all relevant files
- Add app icons
- Add more modularity in the components folder