patch
This commit is contained in:
parent
c63298b02f
commit
a02fd6c430
7 changed files with 19 additions and 3 deletions
4
.github/workflows/shorebird_patch.yaml
vendored
4
.github/workflows/shorebird_patch.yaml
vendored
|
|
@ -18,5 +18,9 @@ jobs:
|
|||
- name: Create Patch
|
||||
env:
|
||||
SHOREBIRD_TOKEN: ${{ secrets.SHOREBIRD_TOKEN }}
|
||||
SIGNING_KEYSTORE_BASE64: ${{ secrets.SIGNING_KEYSTORE_BASE64 }}
|
||||
SIGNING_PROPERTIES: ${{ secrets.SIGNING_PROPERTIES }}
|
||||
run: |
|
||||
echo "$SIGNING_KEYSTORE_BASE64" | base64 --decode > android/app/experiment.jks
|
||||
echo "$SIGNING_PROPERTIES" > android/signing.properties
|
||||
echo y | shorebird patch --platforms=android --release-version=${{ github.event.inputs.version_to_patch }}
|
||||
12
README.md
12
README.md
|
|
@ -4,7 +4,19 @@ Basic app to try out Shorebird, contains a build and a patch.
|
|||
|
||||
## 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:
|
||||

|
||||
|
||||
First launch you should see an incorrect text. Second launch it should update to the correct patched version.
|
||||
|
||||
## Local development
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ android {
|
|||
keyPassword 'android'
|
||||
}
|
||||
release {
|
||||
storeFile file(signingProperties.getProperty("keystore_path"))
|
||||
storeFile file(signingProperties.getProperty("keystore_path", "debug.keystore"))
|
||||
keyAlias signingProperties.getProperty("key_alias")
|
||||
keyPassword signingProperties.getProperty("key_password")
|
||||
storePassword signingProperties.getProperty("store_password")
|
||||
|
|
|
|||
BIN
android/app/debug.keystore
Normal file
BIN
android/app/debug.keystore
Normal file
Binary file not shown.
BIN
download_qr.jpg
Normal file
BIN
download_qr.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
|
|
@ -49,8 +49,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
const Text(
|
||||
// 'You have pushed the button this many times:',
|
||||
'You have times:',
|
||||
'You have pushed the button this many times:',
|
||||
// 'You have times:',
|
||||
),
|
||||
Text(
|
||||
'$_counter',
|
||||
|
|
|
|||
BIN
release.apk
Normal file
BIN
release.apk
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue