-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproducible builds #1055
Reproducible builds #1055
Conversation
Wow, you're much further along than I thought! What we have to do now is remove the keysigning process from the |
build.sh
Outdated
|
||
docker build . -t zeus_builder_image | ||
|
||
docker run --name zeus_builder_container -v `pwd`:$ZEUS_PATH zeus_builder_image bash -c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to include flag --platform linux/amd64
or you'll hit an error on M1 systems
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UGH, performance is terrible via emulation. Need to get them to publish an arm64
image
But then people won't be able to compare the .apk from Playstore and get the same MD5, right? Not exactly sure how this works. It's been ages without me doing something Android related. Edit: ok, not only Playstore, but the one you download from github or the webpage. |
There's tooling that separates the main package from the signed data on top of it. I believe apkdiff does this: https://github.com/daniellockyer/apkdiff |
I've simplified the process a lot so that it can also be used to compile a local version of the code (see Right now it installs the node packages then it starts compile process, but it fails with:
Will try again later, but probably I'll not advance too much until I get unlimited data and a faster computer. If anybody wants to try to see where the problem is, you can try putting this at the line 13 in build.sh:
Another thing I want to try, is using the previous docker image for the React builder, as a few months ago I tried this and it was working (latest image is from 15 days ago). For that, you would need to change the first line in Dockerfile to:
|
Comparing built APK to APK from provider can be done with:
See related issue I opened a while ago with my RB attempts of Zeus wallet: #898 and another issue of diffs between the APK from f-droid to APK on github (the APK on f-droid is built using their build server) #463 |
Thanks @emanuelb I'll have a look at it |
My mind is slow being on vacation... I forgot that I can test this in a remote server that I have with unlimited bandwidth... It seems we're hitting this issue: browserify/pbkdf2#111
But here someone states that it's more likely that the culprit is @kaloudis I'm not sure why you were able to compile v0.6.5 without hitting this issue, but changing the version of the package from 10.2.0 to 10.3.0 as stated in the last link fixes the issue for this build environment. |
@kaloudis if you want me to create a PR to upgrade the version of the library, just tell me. |
@ktecho you can include the library upgrade in this PR |
Do you not have to remove the signing config block for https://github.com/ZeusLN/zeus/blob/master/android/app/build.gradle#L139 |
Yeah, probably you're right. I was trying to generate a self-signed certificate to be able to release, so the process is valid for the normal release and the apks only diff in the certificate. I'm going to try and generate the release without the signing config block to finish this, and if it works fine, I'll let you or others accomodate the android part. |
It's working! :) I've tested the build for v.0.6.5 and it works. The only changes I had to make is updating the library I was refering before to the newer version without the issue, and commenting this line in build.gradle so it doesn't try to sign the apks:
@kaloudis I don't know what you want to do with this signing stuff, because I think you need signing the apk that goes to the Play Store. Can we have another type of assemble, so we have Another one: is there an easy way to change the So for the comparison of the apks: I'll take a look at that later on which are the differences, but right now there is a big difference in size for the apks:
The tools that @emanuelb told me we could use pulls some 400 to 800 MB of dependencies in my debian testing environment. I'll have a look later on which one is the lighter one so we recomment it to people verifying the builds. Just so we start thinking about it: maybe the apk that can be downloaded from the page should be generated using this procedure so the diff is exact? |
More findings: @kaloudis I'm getting big differences in the size of this
And also:
|
we could but we probably won't use the old |
doesn't seem like a big deal, as long as the Tor library is still working (decreasing the size of the binary is a good thing). we shouldn't be comparing the official binary anyway, let's start comparing the newly built images across different machines. Can you give us a hash of the newly built version on the v0.6.5 tag and I'll try to do the same on my machine? |
please commit the |
Done.
|
RE: testing the Intel machine I got my hands on doesn't have enough RAM. I will get a VPS/cloud instance to test on in the coming days. I'm optimistic that the hashes will match. |
I think they won't, because of the different certificate :) |
Just pushed last version. I think we can give this as a first version of the reproducible builds feature. Right now it's ready to be tested. It builds all the 5 apks, create a new certificate and signs the apks with that certificate. Then lists the files so you know where they are, relative to your current directory. The last part, showing the MD5 of all the apks, I think we could remove it because it will give a different checksum for each user, each time. Maybe the checksum could be the same before signging, but I don't think that's useful. |
I disagree with this approach: despite the fact that users should just be installing the official versions after verifying, this approach will cause the users to have to uninstall their old versions of apps each time because a new key is always generated, no? RE: MD5 hashing, I think there might be value in getting the checksum before signing You should be able to We'll have to test this. |
Are you refering to the "official build" or the "reproducible build" that users will run? |
Either way, I think the signing should be a separate step. Maybe we just include instructions on how to use |
This is ready to be tried. I removed the part that signs the apks, so now we all should be getting the same MD5s. Anybody willing to test it? :) I leave home tomorrow again. If I have the time, I'll update the README.md with instructions on how to compare apks and how to sign them if one wants to install her own apk. This is my MD5 section so we can compare if everybody gets the same:
|
I got a match
|
That's very cool :) |
Instructions updated. Please, give it a look. Is there any way to get the version number from the command line? I was thinking it would be better to have |
Pushed some changes to the |
I'll be traveling tomorrow, so if nobody can give a look, I'll take care of it when I'm back after the Baltic Honeybadger
No problem. I was in a bit of a hurry because of the travel thing, and then the spaniard thing :) |
build.sh
Outdated
@@ -0,0 +1,20 @@ | |||
#!/bin/bash | |||
BUILDER_IMAGE="reactnativecommunity/react-native-android:latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final steps, we should lock in a version of the build image instead of latest and see if we can build it deterministically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So docker images aren't binaries - they're not deterministic and the hashes also derive from build time
But the good news is I was able to build the images from scratch and get the same outputs for our builds:
Custom image built from reactnativecommunity/react-native-android v5.4 branch:
********************************
**** APKs and MD5
********************************
5b29390ba80b3cec1b6056c01a3ef666 android/app/build/outputs/apk/release/zeus-arm64-v8a.apk
30649c4dd7b5cc3e88c51bc46d657ec9 android/app/build/outputs/apk/release/zeus-armeabi-v7a.apk
582dabb062450c054522e0f397486b8a android/app/build/outputs/apk/release/zeus-universal.apk
2f0da60499591fbdd45633d6cc096bc2 android/app/build/outputs/apk/release/zeus-x86.apk
8e0941f62736a5218552fba52e07bd60 android/app/build/outputs/apk/release/zeus-x86_64.apk
Built with reactnativecommunity/react-native-android:5.4:
********************************
**** APKs and MD5
********************************
5b29390ba80b3cec1b6056c01a3ef666 android/app/build/outputs/apk/release/zeus-arm64-v8a.apk
30649c4dd7b5cc3e88c51bc46d657ec9 android/app/build/outputs/apk/release/zeus-armeabi-v7a.apk
582dabb062450c054522e0f397486b8a android/app/build/outputs/apk/release/zeus-universal.apk
2f0da60499591fbdd45633d6cc096bc2 android/app/build/outputs/apk/release/zeus-x86.apk
8e0941f62736a5218552fba52e07bd60 android/app/build/outputs/apk/release/zeus-x86_64.apk
Let's lock in the image here at 5.4
and get this merged in. Will be perfect to use for our v0.6.6
release.
reactnativecommunity/react-native-android:5.4
* OnchainSwippeableRow: fix animation render for receive and send actions depends on supportsCoinControl and not supportsRouting * SwipeableRow: fix animation width for middle action if supported The actual value of 100 does not match with any other width animated value. The value should be 200 because if present, the width of others is 200. * SwipeableRow: add opacity transition for actions Since the routing and coins width animations are correct, the button can appear on the right at the beginning of the swap. Adding opacity transition hide this buttons. * GitHub Actions: add prettier * GitHub Actions: add lint * GitHub Actions: Remove old main workflow * Fix branches * Add checks:write permission * Fix link to 'Zeus over Tor guide for RaspiBolt' * AndroidManifest.xml: Don't make NFC a requirement Existing config leads to Google Play prevented users without NFC from being able to download the app * Update README.md w/ new node solution Add link to Citadel (https://runcitadel.space/) to Full Node Solutions * Add lint workflow * Update prettier workflow * Bug fix: Custom block explorer url force prefixed with https:/ (#1053) * attempted fix of issue 1051 #1051 if a custom instance of mempool.space is used 'block-height' -> 'block' translation will fail! could we hint in the url, that it must happen? * Handle <schema>://<ip>:<port>#mempool.space We can now hint in a custom url to use mempool.space type path convention. Anything behind the first # will get cut off from host, and any other value than mempool.space gets ignored. * Handle <scheme>://<ip>:<port>#mempool.space fix typo: schema -> scheme * Clarifying url host convention hint behavior Translate 'block-height' to 'block' if: a) host is 'mempool.space' b) host is in url form ending in convention hint '#mempool.space' Everything from the first '#' is stripped from host, other convention hints are currently completely ignored * after prettier * UrlUtils.ts: remove inferred type Co-authored-by: Evan Kaloudis <[email protected]> * Update Mortals display (#1058) * Update splash images (#1057) * Android: new splash screen * Update intro splash image * Bump nth-check and react-native-svg Bumps [nth-check](https://github.com/fb55/nth-check) and [react-native-svg](https://github.com/react-native-community/react-native-svg). These dependencies needed to be updated together. Updates `nth-check` from 1.0.2 to 2.1.1 - [Release notes](https://github.com/fb55/nth-check/releases) - [Commits](fb55/nth-check@v1.0.2...v2.1.1) Updates `react-native-svg` from 9.13.6 to 13.0.0 - [Release notes](https://github.com/react-native-community/react-native-svg/releases) - [Commits](software-mansion/react-native-svg@v9.13.6...v13.0.0) --- updated-dependencies: - dependency-name: nth-check dependency-type: indirect - dependency-name: react-native-svg dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Reproducible builds (#1055) * Simplre reproducible builds * clone the branch you're reproducing * fix branch/tag argument taking + use master as default * be able to execute build.sh more than once * Simplifiying process * Updating rn-nodeify to 10.3.0 to avoid issue * Deleting compile and Dockerfile as they're not used anymore * Updated simplified build script and README file with instructions to build * Simplify / beautify build script * Commenting out the singning process for release in build.gradle * Build and sign every apk * Cut apk location up to current location for easy location of files * Remove signing code * Delete unused variables * Updated instructions * README: update reproducible instructions * build.sh: lock in Docker image version reactnativecommunity/react-native-android:5.4 Co-authored-by: Evan Kaloudis <[email protected]> * Version bump: v0.6.6 (#1060) * package.json: version bump to v0.6.6 * Android: version bump to v0.6.6 * iOS: version bump to v0.6.6 * package-lock.json: update (#1061) * F-Droid: update metadata (#1062) * F-Droid: update metadata * Update featureGraphic * Locales: v0.6.6 (#1063) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Louis Aussedat <[email protected]> Co-authored-by: Andrei <[email protected]> Co-authored-by: sz3k <[email protected]> Co-authored-by: moonsettler <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luis Miguel <[email protected]>
* LNDHub: transactions call fix * Add missing `BITCOIN:` url scheme for iOS * Updated versions in bug template * Taproot: send and receive * Taproot: add new locale strings * Linking fixes * Spark fixes * handle LNURL-auth when node doesn't support it * Lint: Security * Spark: fix address generation * Main pane: fix display of Tor onion * Make sure max parts options only appear for implentations that support MPP/AMP * Version bump: v0.6.5 * Taproot: new style for Address type selection * LND: handle commas when setting channel fees * Make sure Taproot support can be assessed when setting Address types * Remove default LNDHub host * v0.6.5: bump iOS build to 2 * CLN: createInvoice: expiry fix * ErrorUtils: user friendly error messages * Address select modal QA. * Lint fix. * Added quality assurance to PR template * Android: NFC intent * handleAnything: don't throw alert when filling out Send form * Update React: 18.1.0, React Native: 0.68.2 * Remove unused react-native-animated * OpenChannel: Remove private var as it is restricted * OpenChannel: don't announce channels by default * Android: set up NFC app linking * AndroidManifest: Remove redundant NFC config * PaymentRequest: enhance UI * MobileTools: add credit to source * PaymentRequest: clear store values on navigation back * AddEditNode: add Spark QR scanner * Locales: v0.6.5 * bump version to v0.6.5-rc1 * v0.6.5: bump iOS build to 3 * Roll back RN to 0.67.2 * v0.6.5: bump iOS build to 4 * Revert "Roll back RN to 0.67.2" * SparkQRScanner: add React import * v0.6.5: bump iOS build to 5 * CollapsedQR: fix color of icon on Hide/Show button * SparkQRScanner: fix imports to include implementation * Fix typo * Add lndhub.io as the first custodial lndhub It seems that BlueWallet is connecting to lndhub.io by default and by looking at https://lndhub.io and https://lndhub.herokuapp.com it seems these two are using the same backend * About: add new sponsor tiers * Locales: v0.6.5-rc2 * Version bump: v0.6.5-rc2 * Add c-lightning-REST QR scanner * xcodeproj: v0.6.5: bump project version to 7 * Android 12: remove top margin hack * Version bump: v0.6.5-rc3 * Update README.md * OnchainSwippeableRow: fix animation render for receive and send actions depends on supportsCoinControl and not supportsRouting * SwipeableRow: fix animation width for middle action if supported The actual value of 100 does not match with any other width animated value. The value should be 200 because if present, the width of others is 200. * SwipeableRow: add opacity transition for actions Since the routing and coins width animations are correct, the button can appear on the right at the beginning of the swap. Adding opacity transition hide this buttons. * Wallet: only enable event listeners after unlock * Locales: Missing translation labels in Help menu * Locales: v0.6.5-rc4 * Version bump: v0.6.5-rc4 * Version bump: v0.6.5 * GitHub Actions: add prettier * GitHub Actions: add lint * GitHub Actions: Remove old main workflow * Fix branches * Add checks:write permission * Fix link to 'Zeus over Tor guide for RaspiBolt' * AndroidManifest.xml: Don't make NFC a requirement Existing config leads to Google Play prevented users without NFC from being able to download the app * Update README.md w/ new node solution Add link to Citadel (https://runcitadel.space/) to Full Node Solutions * Add lint workflow * Update prettier workflow * Bug fix: Custom block explorer url force prefixed with https:/ (#1053) * attempted fix of issue 1051 #1051 if a custom instance of mempool.space is used 'block-height' -> 'block' translation will fail! could we hint in the url, that it must happen? * Handle <schema>://<ip>:<port>#mempool.space We can now hint in a custom url to use mempool.space type path convention. Anything behind the first # will get cut off from host, and any other value than mempool.space gets ignored. * Handle <scheme>://<ip>:<port>#mempool.space fix typo: schema -> scheme * Clarifying url host convention hint behavior Translate 'block-height' to 'block' if: a) host is 'mempool.space' b) host is in url form ending in convention hint '#mempool.space' Everything from the first '#' is stripped from host, other convention hints are currently completely ignored * after prettier * UrlUtils.ts: remove inferred type Co-authored-by: Evan Kaloudis <[email protected]> * Update Mortals display (#1058) * Update splash images (#1057) * Android: new splash screen * Update intro splash image * Bump nth-check and react-native-svg Bumps [nth-check](https://github.com/fb55/nth-check) and [react-native-svg](https://github.com/react-native-community/react-native-svg). These dependencies needed to be updated together. Updates `nth-check` from 1.0.2 to 2.1.1 - [Release notes](https://github.com/fb55/nth-check/releases) - [Commits](fb55/nth-check@v1.0.2...v2.1.1) Updates `react-native-svg` from 9.13.6 to 13.0.0 - [Release notes](https://github.com/react-native-community/react-native-svg/releases) - [Commits](software-mansion/react-native-svg@v9.13.6...v13.0.0) --- updated-dependencies: - dependency-name: nth-check dependency-type: indirect - dependency-name: react-native-svg dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Reproducible builds (#1055) * Simplre reproducible builds * clone the branch you're reproducing * fix branch/tag argument taking + use master as default * be able to execute build.sh more than once * Simplifiying process * Updating rn-nodeify to 10.3.0 to avoid issue * Deleting compile and Dockerfile as they're not used anymore * Updated simplified build script and README file with instructions to build * Simplify / beautify build script * Commenting out the singning process for release in build.gradle * Build and sign every apk * Cut apk location up to current location for easy location of files * Remove signing code * Delete unused variables * Updated instructions * README: update reproducible instructions * build.sh: lock in Docker image version reactnativecommunity/react-native-android:5.4 Co-authored-by: Evan Kaloudis <[email protected]> * Version bump: v0.6.6 (#1060) * package.json: version bump to v0.6.6 * Android: version bump to v0.6.6 * iOS: version bump to v0.6.6 * package-lock.json: update (#1061) * F-Droid: update metadata (#1062) * F-Droid: update metadata * Update featureGraphic * Locales: v0.6.6 (#1063) * README: update F-Droid link * Update bug_report.yml Add v0.6.5 + v0.6.6 * remove fallbackResource for react native 0.68 upgrade (#1066) * style pinpad to avoid overlap on smaller screens (#1067) * Sponsors: fix display on iPod Touch (#1070) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: benthecarman <[email protected]> Co-authored-by: bosch <[email protected]> Co-authored-by: bosch <[email protected]> Co-authored-by: Pavol Rusnak <[email protected]> Co-authored-by: Louis Aussedat <[email protected]> Co-authored-by: Andrei <[email protected]> Co-authored-by: sz3k <[email protected]> Co-authored-by: moonsettler <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luis Miguel <[email protected]> Co-authored-by: deregs <[email protected]>
* New default view * Default view: use noUppercase for all buttons * Home: center pin pad * [v0.7.0] update branch (#1074) * LNDHub: transactions call fix * Add missing `BITCOIN:` url scheme for iOS * Updated versions in bug template * Taproot: send and receive * Taproot: add new locale strings * Linking fixes * Spark fixes * handle LNURL-auth when node doesn't support it * Lint: Security * Spark: fix address generation * Main pane: fix display of Tor onion * Make sure max parts options only appear for implentations that support MPP/AMP * Version bump: v0.6.5 * Taproot: new style for Address type selection * LND: handle commas when setting channel fees * Make sure Taproot support can be assessed when setting Address types * Remove default LNDHub host * v0.6.5: bump iOS build to 2 * CLN: createInvoice: expiry fix * ErrorUtils: user friendly error messages * Address select modal QA. * Lint fix. * Added quality assurance to PR template * Android: NFC intent * handleAnything: don't throw alert when filling out Send form * Update React: 18.1.0, React Native: 0.68.2 * Remove unused react-native-animated * OpenChannel: Remove private var as it is restricted * OpenChannel: don't announce channels by default * Android: set up NFC app linking * AndroidManifest: Remove redundant NFC config * PaymentRequest: enhance UI * MobileTools: add credit to source * PaymentRequest: clear store values on navigation back * AddEditNode: add Spark QR scanner * Locales: v0.6.5 * bump version to v0.6.5-rc1 * v0.6.5: bump iOS build to 3 * Roll back RN to 0.67.2 * v0.6.5: bump iOS build to 4 * Revert "Roll back RN to 0.67.2" * SparkQRScanner: add React import * v0.6.5: bump iOS build to 5 * CollapsedQR: fix color of icon on Hide/Show button * SparkQRScanner: fix imports to include implementation * Fix typo * Add lndhub.io as the first custodial lndhub It seems that BlueWallet is connecting to lndhub.io by default and by looking at https://lndhub.io and https://lndhub.herokuapp.com it seems these two are using the same backend * About: add new sponsor tiers * Locales: v0.6.5-rc2 * Version bump: v0.6.5-rc2 * Add c-lightning-REST QR scanner * xcodeproj: v0.6.5: bump project version to 7 * Android 12: remove top margin hack * Version bump: v0.6.5-rc3 * Update README.md * OnchainSwippeableRow: fix animation render for receive and send actions depends on supportsCoinControl and not supportsRouting * SwipeableRow: fix animation width for middle action if supported The actual value of 100 does not match with any other width animated value. The value should be 200 because if present, the width of others is 200. * SwipeableRow: add opacity transition for actions Since the routing and coins width animations are correct, the button can appear on the right at the beginning of the swap. Adding opacity transition hide this buttons. * Wallet: only enable event listeners after unlock * Locales: Missing translation labels in Help menu * Locales: v0.6.5-rc4 * Version bump: v0.6.5-rc4 * Version bump: v0.6.5 * GitHub Actions: add prettier * GitHub Actions: add lint * GitHub Actions: Remove old main workflow * Fix branches * Add checks:write permission * Fix link to 'Zeus over Tor guide for RaspiBolt' * AndroidManifest.xml: Don't make NFC a requirement Existing config leads to Google Play prevented users without NFC from being able to download the app * Update README.md w/ new node solution Add link to Citadel (https://runcitadel.space/) to Full Node Solutions * Add lint workflow * Update prettier workflow * Bug fix: Custom block explorer url force prefixed with https:/ (#1053) * attempted fix of issue 1051 #1051 if a custom instance of mempool.space is used 'block-height' -> 'block' translation will fail! could we hint in the url, that it must happen? * Handle <schema>://<ip>:<port>#mempool.space We can now hint in a custom url to use mempool.space type path convention. Anything behind the first # will get cut off from host, and any other value than mempool.space gets ignored. * Handle <scheme>://<ip>:<port>#mempool.space fix typo: schema -> scheme * Clarifying url host convention hint behavior Translate 'block-height' to 'block' if: a) host is 'mempool.space' b) host is in url form ending in convention hint '#mempool.space' Everything from the first '#' is stripped from host, other convention hints are currently completely ignored * after prettier * UrlUtils.ts: remove inferred type Co-authored-by: Evan Kaloudis <[email protected]> * Update Mortals display (#1058) * Update splash images (#1057) * Android: new splash screen * Update intro splash image * Bump nth-check and react-native-svg Bumps [nth-check](https://github.com/fb55/nth-check) and [react-native-svg](https://github.com/react-native-community/react-native-svg). These dependencies needed to be updated together. Updates `nth-check` from 1.0.2 to 2.1.1 - [Release notes](https://github.com/fb55/nth-check/releases) - [Commits](fb55/nth-check@v1.0.2...v2.1.1) Updates `react-native-svg` from 9.13.6 to 13.0.0 - [Release notes](https://github.com/react-native-community/react-native-svg/releases) - [Commits](software-mansion/react-native-svg@v9.13.6...v13.0.0) --- updated-dependencies: - dependency-name: nth-check dependency-type: indirect - dependency-name: react-native-svg dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Reproducible builds (#1055) * Simplre reproducible builds * clone the branch you're reproducing * fix branch/tag argument taking + use master as default * be able to execute build.sh more than once * Simplifiying process * Updating rn-nodeify to 10.3.0 to avoid issue * Deleting compile and Dockerfile as they're not used anymore * Updated simplified build script and README file with instructions to build * Simplify / beautify build script * Commenting out the singning process for release in build.gradle * Build and sign every apk * Cut apk location up to current location for easy location of files * Remove signing code * Delete unused variables * Updated instructions * README: update reproducible instructions * build.sh: lock in Docker image version reactnativecommunity/react-native-android:5.4 Co-authored-by: Evan Kaloudis <[email protected]> * Version bump: v0.6.6 (#1060) * package.json: version bump to v0.6.6 * Android: version bump to v0.6.6 * iOS: version bump to v0.6.6 * package-lock.json: update (#1061) * F-Droid: update metadata (#1062) * F-Droid: update metadata * Update featureGraphic * Locales: v0.6.6 (#1063) * README: update F-Droid link * Update bug_report.yml Add v0.6.5 + v0.6.6 * remove fallbackResource for react native 0.68 upgrade (#1066) * style pinpad to avoid overlap on smaller screens (#1067) * Sponsors: fix display on iPod Touch (#1070) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: benthecarman <[email protected]> Co-authored-by: bosch <[email protected]> Co-authored-by: bosch <[email protected]> Co-authored-by: Pavol Rusnak <[email protected]> Co-authored-by: Louis Aussedat <[email protected]> Co-authored-by: Andrei <[email protected]> Co-authored-by: sz3k <[email protected]> Co-authored-by: moonsettler <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luis Miguel <[email protected]> Co-authored-by: deregs <[email protected]> * Fix styling for lower resolution devices * DefaultPane: clear amount on unit change * DefaultPane: limit decimal places based on units + add shake animation * DefaultPane: add text color animation Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: benthecarman <[email protected]> Co-authored-by: bosch <[email protected]> Co-authored-by: bosch <[email protected]> Co-authored-by: Pavol Rusnak <[email protected]> Co-authored-by: Louis Aussedat <[email protected]> Co-authored-by: Andrei <[email protected]> Co-authored-by: sz3k <[email protected]> Co-authored-by: moonsettler <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luis Miguel <[email protected]> Co-authored-by: deregs <[email protected]>
It probably needs a signature
Aug 14, 2022, 11:12 by ***@***.***:
…
@kaloudis <https://github.com/kaloudis>> I just tried installing the apk in my smartphone and it says that the package is not valid, so it seems that more tests will be needed...
—
Reply to this email directly, > view it on GitHub <#1055 (comment)>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOKUXNRR4BB3HN7SATOWPTVZEEFBANCNFSM556ZMBKA>> .
You are receiving this because you were mentioned.> Message ID: > <ZeusLN/zeus/pull/1055/c1214398477> @> github> .> com>
|
This started using #535 as base. The Dockerfile is a lot simpler because I'm using a
reactnativecommunity/react-native-android
image that has everything built in. Both.sh
files are from the other PR and have several problems yet:1-
compile.sh
andbuild.sh
are almost the same, butbuild.sh
has theIMAGETAG
stuff removed because I wanted to make it work without it (see point 3).2- This works just for Debug releases (assembleDebug), not Release (assembleRelease). This is because we need the same keystore used to build the releases. For Debug, it generates a new keystore, as we don't care if it's reproducible or not. But it builts the apk correctly.
3- It works just the first time. So if you don't have the container created yet, it creates it, uses it and it works. If it already exists, it may not work. For this, maybe the
IMAGETAG
stuff incompile.sh
could be useful, but I don't think I made it work.