You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🚀 Enhancement: Add support for push notification channels (Android/FCM) #8086
Enhance the capabilities of the Appwrite Messaging API by incorporating support for Android push notification channels in conjunction with Firebase Cloud Messaging (FCM).
🎤 Pitch
Currently, it's not possible to specify a notification channel ID when using Appwrite's Messaging feature and FCM. This means that all notifications currently end up in the same channel, which is not ideal. Notification channels allow Android users to specifically control which notifications they'd like to receive.
{
"to": "$device_token",
"notification": {
"title": "New Message",
"body": "You have a new message!",
"android_channel_id": "$channel_id", // For Android 8 and above
"channel_id": "$channel_id", // For Android versions prior to 8
},
"data": {
"message_id": "123456789",
"sender_id": "user123",
"message_text": "Hello, how are you?"
},
"priority": "normal"
}
Enhancing the createPush() method by adding parameters for android_channel_id and channel_id would enable the passing of a channel ID.
In my view, integrating support for push notification channels would greatly enhance the functionality of the Appwrite Messaging API.
👀 Have you spent some time to check if this issue has been raised before?
Activity
stnguyen90 commentedon May 8, 2024
@f1refliesss, thanks for raising this! 🙏🏼 This makes a lot of sense.
ucswift commentedon Jan 17, 2025
Hey all,
I see a lot of work going into the 1.6.x release dealing with messaging #9060 an wondering if this issue will be included as well.