-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add scripts to use Android App Bundles #1028
Conversation
5855f9a
to
f21aff7
Compare
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.
I tested the app and it seems that Google login doesn't work building the app this way.
I'm not sure it this is an issue only for local debug installations or if it may affect the distribution from Google Play store as well (it may not, since play store resigns the aab), but I think it needs some more investigation.
That's strange @loremattei 🤔 I had tested Google login and . it worked fine. Certainly worth investigating this. |
@jtreanor I investigated this a little bit more and I think the problem is with the signature. If you sign the generated apk with the proper key, Google login works. If you don't pass any key to |
Ah, thanks @loremattei. I suspected that might be the case. I'll update the script with signing. |
f21aff7
to
522ec04
Compare
522ec04
to
7b2eb0d
Compare
@loremattei This is ready for another pass now. Here is what I have changed:
The scripts are adapted from WPAndroid. |
Cool! I tested the changes @jtreanor and it looks like we can ship it 👍 |
This adds two scripts script,
tools/build-app-bundle.sh
andtools/install-app-bundle.sh
which makes it easier to build and test Android App Bundle (.aab) files.The scripts are simplified versions of the ones in WPAndroid. We should think about sharing these at some point.
Related to wordpress-mobile/WordPress-Android#9734.
To test:
./tools/build-app-bundle.sh
. This will prompt you to installbundletool
if you don't have it installed../tools/install-app-bundle.sh artifacts/wcandroid-1.8-rc-1.aab
.adb install artifacts/wcandroid-1.8-rc-1-universal.apk
.Update release notes:
RELEASE-NOTES.txt
.