Skip to content
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

Non-Play Store installation methods #640

Closed
foxyseta opened this issue May 1, 2024 · 7 comments
Closed

Non-Play Store installation methods #640

foxyseta opened this issue May 1, 2024 · 7 comments
Assignees
Labels
a-tools Our own development tooling, scripts, and infrastructure

Comments

@foxyseta
Copy link

foxyseta commented May 1, 2024

The old React Native client is also regularly updated on F-Droid. I was told at zulip/zulip-mobile#5795 (comment) that eventually APKs for the Flutter client will be made available as GitHub Releases, too. Will any store other than Google Play also feature the new client?

@foxyseta
Copy link
Author

Bump

@gnprice
Copy link
Member

gnprice commented May 14, 2024

Thanks. Yeah, it's probably time we started posting release APKs on GitHub.

I'm planning to make a v0.0.15 release this week. So I'll see about working that into the release process then.

@gnprice gnprice self-assigned this May 14, 2024
@gnprice gnprice added the a-tools Our own development tooling, scripts, and infrastructure label May 14, 2024
@gnprice gnprice added this to the Beta 3: Summer 2024 milestone May 14, 2024
@gnprice
Copy link
Member

gnprice commented May 16, 2024

@foxyseta Release made — please take a look!
https://github.com/zulip/zulip-flutter/releases/tag/v0.0.15

@gnprice gnprice closed this as completed May 16, 2024
gnprice added a commit that referenced this issue May 16, 2024
@rajveermalviya
Copy link
Collaborator

@gnprice I think we should keep this open to also investigate publishing to F-Droid, which would require a build that doesn't depend on Google Play services (com.google.gms:google-services):

So, that will mean we would need to integrate something like UnifiedPush for notifications (which may also need changes to server).

@foxyseta
Copy link
Author

Had to uninstall 0.0.14 before installing 0.0.15 via apk for some reason. Anyway, yes, the original post is talking about stores.

@gnprice
Copy link
Member

gnprice commented May 16, 2024

Had to uninstall 0.0.14 before installing 0.0.15 via apk for some reason.

Yeah, that's expected. Android requires that when the APKs are signed with different keys, and the signing keys we're using for this app in the Play Store and in the GitHub release artifacts are different:

  • The APKs you get from the Play Store are signed by a key that was generated in Google's infrastructure and lives only there.

  • The APK and AAB uploaded to GitHub are signed by our own key, at build time. (The same AAB, with the same signature, is the artifact I upload in turn to the Play Store. The Play Store breaks that apart and recombines its contents in order to make a smaller APK specialized to each user device's CPU architecture and display density.)

When you make upgrades within either of those distribution channels, the signing key will remain the same and you shouldn't need to uninstall in order to upgrade.

@gnprice
Copy link
Member

gnprice commented May 16, 2024

For F-Droid, the production/legacy zulip-mobile app is there today. So I expect that when this app is ready and we start rolling it out to replace the legacy app — that is, when we start publishing builds of this app with the package ID com.zulipmobile, rather than com.zulip.flutter, so that it offers a direct upgrade from the legacy app — we'll also go on to have this app appear on F-Droid too.

The way the existing F-Droid version of zulip-mobile works is that the F-Droid build just removes the notification support. So that's what I expect would initially happen with this app too.

There's an issue thread in the zulip-mobile (or maybe zulip/zulip?) tracker where we've talked about UnifiedPush and things like it. That might be something we do in the future. We won't have attention to spare for that before we complete the migration from zulip-mobile to zulip-flutter, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-tools Our own development tooling, scripts, and infrastructure
Projects
Status: Done
Development

No branches or pull requests

3 participants