Shorebird/README.md
2025-01-17 22:07:40 +02:00

1 KiB

experiment_shorebird

Basic app to try out Shorebird, contains a build and a patch.

This branch uses manual update

Restart.restartApp does not seem to work for my situation.

To resolve this, I instead stop the process and restart the activity via alarm manager, inspired by ProcessPhoenix.

This is a bit ugly (as nothing is shown while waiting for alarm manager) but it is better than not applying changes.

APK

Created the APK from the release's aab via

java -jar bundletool-all-1.17.0.jar build-apks --bundle=my_app.aab --output=my_app.apks \
--ks=keystore.jks \
--ks-pass=<keystorepass> \
--ks-key-alias=<keyalias> \
--key-pass=<keypass>

Download via:

QR Code for APK

First launch you should see an incorrect text. Second launch it should update to the correct patched version. (After swiping away from recents)

Local development

Steps:

  • install FVM
  • fvm use
  • install shorebird
  • define aliases for flutter
alias f="fvm flutter"
alias flutter="fvm flutter"
  • shorebird login