Because Firebase Console has the functionality to send notifications to Android/iOS devices without subscribing to topics or targeting specific tokens, and it can also send notifications to users who have logged in within a certain number of days, I would like to ask if it’s possible to achieve the same thing through the API.
Because if using Firebase Console, notifications can be sent separately to Android and iOS devices to achieve sending to all users. However, I saw the following article in the official documentation, which specifically mentions that one must use a token, topic, or condition to send notifications. Still, I hold out hope and want to know if there is a way, similar to the Firebase Console backend, to send messages to all devices without knowing the token and without subscribing to a topic, even though the Firebase token has been initialized.
YUHO is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.