Relative Content

Tag Archive for firebase-cloud-messaging

FCM notification not showing image on all devices

I have multiple devices (both Android and IOS) subscribed to same topic (e.g. “all”/”unregistered”)
I am sending FCM notification through postman,
I am able to successfully able to receive notification on all devices, but when I add image url to notification all devices receive notification but some devices are showing notification image.

how to get access token from service_Account_key.json

i am using Rest API using netty library along with vertx event loop handle the multithreading, how to generate the access Token use it across all the threads in vertx event loop. Any idea how to handle this scenario.
i am using below code to generate the token and generating the token in every 45 mins.

Push notification limits on FCM HTTP V1 and I am under spark plan

we are using Firebase HTTPV1 and i am under spark plan(No cost)
How many message can i send per day, per month and per second and i am using same project for all the push notifications and Is there any throttling on push message for FCM HTTPV1?
we are getting few message drops while doing more pushes via REST Call with java code

Sending Push messages using REST API with json payload and Authorization done via accessToken

Issues is after migrating from Legacy API to FCM HTTPV1 API.
We are Sending Push messages using REST API with json payload and Authorization done via access_Token
and we are creating access_Tokens in multiple-thread for same Service_Account_Key from FCM Project.
We are Generating access_Token every 30 mins for API authorization.
Each thread has it’s own access token, can we do this for pushing messages.