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
nix: build unsigned Android APK, sign separately #13296
Conversation
Jenkins BuildsClick to see older builds (108)
|
aefe291
to
0e594c4
Compare
0e594c4
to
e3e0b16
Compare
2440bfb
to
5c01501
Compare
The APK signing process works, but I encountered an issue when installing:
Which apparently it's because the APK(which is a ZIP) needs to be "aligned":
https://developer.android.com/studio/command-line/zipalign And since in the current implementation I'm using |
6f44c38
to
15aef90
Compare
And indeed, signing with
|
15aef90
to
8b60886
Compare
5782aaa
to
9ca449f
Compare
d9ff0c4
to
a3a9228
Compare
a3a9228
to
56cf2ae
Compare
Hi @jakubgs , what will be the difference between the output of |
And do we need |
Just look at the targets: |
Ah, you're asking about the difference between release and fdroid build. Here it is:
Actually, maybe we should change the name of |
56cf2ae
to
5ecb34e
Compare
747db0f
to
c05fc08
Compare
c05fc08
to
4884222
Compare
Merged as: acfa73a |
This has several benefits:
extra-sandbox-paths
Nix optionscripts/release-android.sh
The only two remaining credentials passed via
extra-sandbox-paths
is the Infura and OpenSea API keys, and there is no way around that other than passing them via Nix arguments, but that would cause them to end up in/nix/store
as part of.drv
files.I'm also renaming
release-fdroid
tobuild-fdroid
to be consistent.Depends on: https://github.com/status-im/status-jenkins-lib/pull/42