push_notifs: Set APNs topic individually on each notification.

This makes it possible to send notifications to more than one app ID
from the same server: for example, the main Zulip mobile app and the
new Flutter-based app, which has a separate app ID for use through its
beta period so that it can be installed alongside the existing app.
This commit is contained in:
Greg Price
2023-11-06 11:25:28 -08:00
committed by Tim Abbott
parent 40e5243c35
commit 528a76a419
4 changed files with 35 additions and 12 deletions

View File

@@ -226,9 +226,6 @@ push notifications through the new app is quite straightforward:
`APNS_TOKEN_KEY_ID` to the corresponding 10-character key ID, and
`APNS_TEAM_ID` to your 10-character Apple team ID.
- Set the `APNS_TOPIC` setting to the ID for
your app (for the official Zulip apps, it's `org.zulip.Zulip`).
- Restart the Zulip server.
[apple-doc-cert]: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_certificate-based_connection_to_apns