Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Sending a Notification to all the registered devices #73

Closed
fawzanm opened this issue Aug 1, 2017 · 1 comment
Closed

Sending a Notification to all the registered devices #73

fawzanm opened this issue Aug 1, 2017 · 1 comment

Comments

@fawzanm
Copy link
Contributor

fawzanm commented Aug 1, 2017

I have the same request as this issue

Is it possible to send a notification to all the registered users without passing an array of tokens? Because Firebase console allows us to do it using Target: 'User Segment' where we can simply send a notification to all the users without specifying the tokens.

@brozot
Copy link
Owner

brozot commented Aug 25, 2017

Hi,

Unfortunately it's not allowed by FCM

Here an extract of the official documentation :

Note that some fields in the Notifications composer are not available through the FCM server protocols. For example, you can target user segments based on app, app version, language or user properties in ways that are not available using the field in the server API.

https://firebase.google.com/docs/cloud-messaging/send-with-console

Best regards,

Nicolas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants