Based on https://simplepwa.com. An experiment to see how complex it is to go straight to android via a PWA.
To run, simply load up index.html. In chrome you can run lighthouse and should get a PWA valid score.
Next step packaging.
- Ensure the keystore is in the repo root directory:
android.keystore
- Gen a new version:
bubblewrap update
- Build it:
bubblewrap build
- checkin the new versions of
twa-manifest.json
&app/build.gradle
- Do something with the generated APK or the AAB (AAB is a newer form of APK, both may be generated)
- Update favicon.png
real-favicon generate favicon_config.json favicon_data.json .
- delete
favicon_data.json
- commit