Back

not able to send push notifications to users

  • 0
  • Self Hosted
  • Messaging
S3ppo
17 Mar, 2024, 16:49

i want to try the new push notifications but i am not able to send push notifications to users after i created the new provider with FCM

TL;DR
Developers have an issue sending push notifications to users after switching to FCM provider. The problem likely lies in user targeting or missing push targets in the app settings. Follow the create push token API in your app's redesign and ensure targets are correctly set up.
Steven
17 Mar, 2024, 16:50

Please provide more details about what's going wrong

S3ppo
17 Mar, 2024, 16:51

i tried to send a test message to a user, but users are not selectable:

Steven
17 Mar, 2024, 16:52

Do they have push targets?

S3ppo
17 Mar, 2024, 16:54

i added sms and email.. but there is no button to add push

Steven
17 Mar, 2024, 16:55

That needs to be done in your app

S3ppo
17 Mar, 2024, 16:57

ah okay so i would need a redesign.. at the moment i store my fcm tokens as user preferences

Steven
17 Mar, 2024, 16:58

Ah ya, so instead, you would call the create push token API

S3ppo
17 Mar, 2024, 16:58

alright okay, thanks for the infos 🙂

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more