xmtp / xmtp-dot-org

xmtp.org, powered by Docusaurus
https://xmtp.org
MIT License
11 stars 25 forks source link

Group Chat Push notifications #730

Open nplasterer opened 4 months ago

nplasterer commented 4 months ago

Push notifications work nearly the same as V2. You will still subscribe to the topic the same way but HMACs are not currently supported. You'll also want to subscribe to the new welcome topic to make sure you get new group chats. /xmtp/mls/1/w-$installationId/proto or use the convinence methods in the code Kotlin -> Topic.userWelcome(installationId)

The new things are

Example push notification server here: https://github.com/xmtp/xmtp-android/blob/main/example/src/main/java/org/xmtp/android/example/pushnotifications/PushNotificationsService.kt

Detailed docs here: https://github.com/xmtp/xmtp-android/blob/main/library/src/main/java/org/xmtp/android/library/push/README.md

jhaaaa commented 4 months ago

In progress here? https://github.com/xmtp/xmtp-dot-org/pull/704

scotboyd commented 4 months ago

Addressed in https://github.com/xmtp/xmtp-dot-org/pull/747