Questions tagged [google-cloud-messaging]

Google Cloud Messaging is a service to allow data to be sent remotely to Android and iOS applications and Chrome extensions and packaged apps.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Google Cloud messaging failure_count not working

I am trying to pass wrong token to Google Cloud Messaging MulticastMessage(): async def sendMessageAsync(registration_tokens: list[str]): message = messaging.MulticastMessage( notification=...
Andrey's user avatar
  • 5,932
0 votes
0 answers
8 views

Why am I receiving the gcm/fcm notification only when autostart permission is set to ON in android OS even after passing priority=high header?

Why am I receiving the gcm/fcm notification only when autostart permission is set to ON in android OS even after passing priority=high header? What are the reasons behind this? And How do I mitigate ...
knamer akhau's user avatar
0 votes
0 answers
13 views

How to generates an OAuth 2.0 access token for a service account for my firebase project using projects.serviceAccounts.generateAccessToken

I am working on FCM(Firebase cloud messaging) to send push notification for users. I am using .NET core to implement that. I am allowing users to create firebase project dynamically, and what i want ...
Frehiwot Talema's user avatar
0 votes
0 answers
13 views

Flutter: notifications not working to callkit in background

I have an issue with the call notification not working in the background in release mode, but it works in debugging mode on iOS. I am using CallKit with FCM (Firebase Cloud Messaging) for ...
Amer Al Haj Ali's user avatar
0 votes
1 answer
34 views

Why is GCM and APN notifications going on some clients and not on others?

Curious case of GCM and APN in our android application. We provide GCM/APN notification services to enterprises among other things. In some enterprises, notification goes only on android In these ...
knamer akhau's user avatar
0 votes
0 answers
11 views

GCM Server Dependency

In pom.xml file i have added dependency for version 1.0.2 : <dependency> <groupId>com.google.android.gcm</groupId> <artifactId>gcm-server</artifactId> </dependency> ...
Charu Singh's user avatar
0 votes
1 answer
18 views

Firebase data notifications are not being sent

We are currently struggling with sending our firebase data notifications. As far as I can see, those are not being sent at all. Here is a screenshot from the firebase console: Here is the piece of ...
Florian Baierl's user avatar
0 votes
0 answers
56 views

Which formate notifications should be send to FCM server for push notifications?

I have implemented push noticiation to send gem in FCM server. GemFile: gem 'fcm' gem 'httparty' gem 'google-api-client' gem 'google-apis-fcm_v1' gem 'googleauth' The setup: config/initializers/fcm....
Rabeya Khatun Muna's user avatar
0 votes
0 answers
23 views

Just activated Firebase Cloud Messaging, what are all "credentials" entries?

As mentioned, just enabled FCM API. On that page, there's a "credentials" dropdown. It has eleven entries! What on earth are those? One is called "Anonymous", one "Unspecified&...
Mathias's user avatar
  • 3,879
1 vote
0 answers
26 views

Firebase PubSub Topic Quota Limit Exceed

I'm getting "Topic quota exceeded" error on Firebase Logs Explorer but when I open Google Cloud console, I see no quota limit is exceeded. In fact, there's no google cloud API service that ...
Haseeb Sahi's user avatar
0 votes
0 answers
30 views

Implementation method for enabling/disabling push notifications

I have implemented push notifications using FCM in my Flutter app. Next, I want to allow users to control the ON/OFF state of receiving push notifications based on their content (similar to receiving ...
sub's user avatar
  • 127
0 votes
1 answer
52 views

Google Cloud Pub/Sub - Message delivery

Google Cloud Pub/Sub supports both exactly once (for pull subscriptions) and atleast once delivery guarantee. However there is no mention of associated cost if we opt for one of these mode in the doc -...
user16798185's user avatar
1 vote
0 answers
32 views

Google Cloud Pub/Sub - Spark structured streaming support

Came across below two references, where it was mentioned that pub/sub does not support spark structured streaming. Apache Spark’s Structured Streaming with Google PubSub https://github.com/...
user16798185's user avatar
0 votes
1 answer
73 views

Google Cloud Pub/Sub - throughput

Have a question on throughput limit mentioned on the doc https://cloud.google.com/pubsub/quotas. For ex: Publisher throughput per region is mentioned as 240,000,000 kB per minute (4 GB/s) in large ...
user16798185's user avatar
1 vote
1 answer
279 views

Function execution took 60000 ms, finished with status: 'error'

Getting timeout, even though function is working as intended Function execution took 60000 ms, finished with status: 'error' As above, I have a Firebase cloud function which sends out a notification ...
Bradley Cable's user avatar
0 votes
0 answers
58 views

Unable to send FCM Push Notification

I have integrated google-services.json into my mobile application. I am trying to send notification on actual device using https://testfcm.com/. This was working till yesterday and have stopped ...
Nitin Varpe's user avatar
  • 10.5k
2 votes
0 answers
92 views

How to upload APNs key, team id, key id on firebase through cloud console service account json using google cloud php client library?

I am currently using the Cloud Console to manage some of my services, and I perform all activities through the APIs provided by the console. I am using a Cloud Console service account JSON for ...
Mohammad Azeem's user avatar
2 votes
0 answers
52 views

How to retrieve cloud messaging server key through cloud console service account json using google cloud php client library?

I am currently using the Cloud Console to manage some of my services, and I perform all activities through the APIs provided by the console. I am using a Cloud Console service account JSON for ...
Mohammad Azeem's user avatar
0 votes
1 answer
65 views

Is there a way to use cloud messaging without displaying a notification in Flutter using Firebase or other cloud messaging platforms?

i am developing a mobile application using Flutter. I was wondering if we can use Cloud Messaging for data transfer or event listening purposes without giving user an actual app notification if app is ...
Emre Turan's user avatar
0 votes
1 answer
42 views

Cloud messaging with cloud function

How many usage rate when i send notification to multiple iOS devices on firebase cloud function? I want to send to many users by the fcm token and name. For example.. Title: Hello (Name)
Mohammed's user avatar
0 votes
0 answers
108 views

FCM too_many_registration problem is showing in real device but not in emulator?

void signWithGoogle( BuildContext context, WidgetRef? ref, ) async { try { final GoogleSignIn googleSignIn = GoogleSignIn(); final GoogleSignInAccount? googleSignInAccount = ...
Luffy's user avatar
  • 23
0 votes
0 answers
23 views

Notification not arriving - Android/Kotlin

I can't get a notification to send to anyone. The 'sendNotification()' method is called and runs without error, but nothing else happens. title and message are not empty! I also get no notification ...
Captai-N's user avatar
  • 1,146
8 votes
1 answer
909 views

Getting error "Device doesn't support the messaging feature" in android 13

I'm getting an Exception like com.google.android.gms.common.api.ApiException: 17: Device doesn't support the messaging feature in Android 13 It works fine on another version as well as the Android 13 ...
Shekhar J. Lobo's user avatar
0 votes
1 answer
269 views

Firebase Cloud Messaging Notification network pricing

I am hosting the image in other storage-S3, not Firebase Hosting or Google Cloud. https://firebase.google.com/docs/cloud-nesaging/android/send-emage?hl When I checked this document, I sent an image to ...
kincjf's user avatar
  • 23
0 votes
0 answers
31 views

FCM notification is not overwritting existing one when using tag

This is how I am sending a FCM notification to my Android device through Postman. { "to": "<fcm_token>", "notification": { "title": "...
iDecode's user avatar
  • 22.9k
0 votes
1 answer
497 views

Invalid JSON payload received. Unknown name "tag" at 'message.notification': Cannot find field

Minimum reproducible code: exports.testNotification = functions.https.onCall(async (data, context) => { if (data != null) { const message = { token: '<fcm_token>', ...
iDecode's user avatar
  • 22.9k
0 votes
1 answer
168 views

android, which FirebaseMessagingService will in use if there are more than one

In Android app if it has dependency on some libraries (LibraryA, LibraryB) and they have their own FirebaseMessagingService implementation, i.e. LibraryA has class LibA_FCMService : ...
lannyf's user avatar
  • 9,915
2 votes
1 answer
3k views

Crash on Android 13 with Parse SDK: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating

My app uses Parse SDK for Android and GCM to get notification after a change on Parse database. The app's onCreate() calls the line: ParseGCM.register(context); On Android 13 device, this line causes ...
matdev's user avatar
  • 4,127
0 votes
1 answer
114 views

How do I register new vapidKeys outside FCM console UI

Update As Gerardo pointed out, vapidKey != FCM Token. I finally got things going, though im unsure if this is the best way to do it. This was what i needed to generate a NEW token: try{ if(...
Kyle Berry's user avatar
1 vote
0 answers
152 views

How to create a copy of a custom Compute Engine virtual machine (VM) to facilitate an expected increase in application traffic.? [closed]

How to create a copy of a custom Compute Engine virtual machine (VM) to facilitate an expected increase in application traffic due to a business acquisition. what is the correct answer? A. Create a ...
user3094331's user avatar
0 votes
0 answers
34 views

Error 502 when get topics with google apis iid

I tray to get all topic in specific token(fcm). https://iid.googleapis.com/iid/info/{token}?details=true that's response an error 502. response But if I not use details=true it work fine. is that api ...
Nur Syahfei's user avatar
0 votes
1 answer
125 views

OpenResty lua-resty-string: Unable to decrypt data which can be decrypted by Golang and Python

OpenResty lua-resty-string: Unable to decrypt data which can be decrypted by Golang and Python https://github.com/openresty/lua-resty-string I can decrypt data with enc, key, iv like: test_enc:"...
ccwang's user avatar
  • 1
0 votes
1 answer
1k views

Android Push notification without google play services

Requirement: I am looking for a (open-source/free-to-use) mechanism: to deliver messages (similar to GCM) to android clients which do not require google play service/store on client side. Support for ...
mk09's user avatar
  • 313
1 vote
0 answers
113 views

GCP PUB/SUB io.grpc.StatusException CANCELLED

We are getting below error for the gcp pub/sub subscription. What could be the cause here and in which case this method getting triggered. io.grpc.Status.asException(Status.java:541) at com.google....
Krishna Kumar's user avatar
0 votes
0 answers
102 views

How does Google send a message back to a user's browser for Chrome extensions that use GCM/FCM for push notifications?

At a high level, I understand the data flow process for Chrome extensions that want to register for push notifications. For example, for an extension to register for push notifications when a user's ...
IMTheNachoMan's user avatar
0 votes
0 answers
264 views

AWS Pinpoint Service GCM(FCM) channel pinpoint.sendMessage sending duplicate push notifications

Getting duplicate push notifications while sending one push notification through AWS Pinpoint Service using FCM channel pinpoint.sendMessage method. pushing notification on an FCM token but getting ...
Lavish Patel's user avatar
0 votes
1 answer
134 views

How to integrate Google business messaging through API

Problems: I am unable to enable Business Messages API, Because "Business Messages API" is not showing API list, While i am going to enable the API through the https://console.cloud.google....
vikas singh's user avatar
0 votes
0 answers
270 views

How to do HeartBeat(KeepAlive) to FCM from ReactNative(Android and IOS App)

HeartBeat to FCM Can anyone share the details about how to do the Heartbeat connection enabled to FCM(Firebase Cloud Message) from Android and ios applications via (ReactNative development platform).
Prabhu 's user avatar
1 vote
1 answer
119 views

Android app with push notification - "there was an error loading storage bucket firebase"

I have a webview app (that is based on this https://github.com/bishwassagar/Android-Webview-App ), and I added push notifications to it according to this guide: https://www.geeksforgeeks.org/how-to-...
MI12's user avatar
  • 11
0 votes
1 answer
253 views

Google Firebase Messaging API facing CORS error

Hi there Guys i'm tryng to subscribe Firebase Cloud Messaging channels with provided token via capacitor/ioni app using PWA. But i got a CORS issue when i publish the www folder, instead on localhost ...
rubenSousa's user avatar
0 votes
0 answers
104 views

How to respond to the topic when a certain subscribed topic is provided in flutter?

I'm new to flutter and working out my way through it. So recently, I've been working on an app where there's a topic that a user subscribes to when logged in. Now, I want to do certain operations for ...
Raees Ali's user avatar
-2 votes
2 answers
405 views

Subscribe to topic issue [duplicate]

hi I'm creating a web app, i'm trying to have the toggle in the website it self if turned on it sends he is subscribed to a topic in firebase. i'm using flutter is there a way I tried searching all ...
nasser mansoor's user avatar
1 vote
0 answers
143 views

CORS Issue with heroku and vue chrome extension mv3

I've read this question and my problem seems similar. I have an heroku remote app and I've added the host permission to the manivest v3 of my vue extension. I need to send a post request from the ...
newbiedev's user avatar
  • 2,627
0 votes
1 answer
636 views

FCM Flutter Android Does Not Show Heads Up or Making a Sound When Installed

I'm Trying to use FCM For My App To Send And Receive Notification and it's a major part of my app. the problem I'm facing is when the app (android version) gets installed on (Emulator, Device) it does ...
Abanoub Refaat's user avatar
0 votes
1 answer
182 views

Google PUBSUB API: When a binding is made through IAM (for a specific resource), will same member get all access of that role?

The is in reference to code at official page, where we want to give access to a user for a specific PUBSUB subscription: https://cloud.google.com/pubsub/docs/access-control#setting_a_policy In the ...
codester's user avatar
0 votes
1 answer
234 views

How to use a credential file without pushing it to repository

I am building a Django web app that is deployed on GCP (google cloud platform). I need to use the google cloud storage bucket to store files generated from the app, So I added the code to settings.py ...
Rai Shahnawaz's user avatar
2 votes
1 answer
1k views

Sending FCM Batch request for legacy HTTP API

Using the legacy FCM HTTPS API is it possible to send messages to a device or a device group as stated in the documentation here, but their is not information regarding sending a bath of messages via ...
Daniyal Ibrahim's user avatar
0 votes
2 answers
821 views

[flutter/FCM]problem receiving notification

I'm using flutter and Firebasemessaging to send and receive notification and the plugging FlutterLocalNotifications to display them. but when I receive the notification I get the error : D/...
ismail's user avatar
  • 328
2 votes
0 answers
784 views

FCM for VoIP calls

I was playing with FCM and i noticed that even without restrictions it can take from couple of seconds to 1min or so to receive a push notification. This is acceptable for most uses. Then i was ...
Suttwells's user avatar
14 votes
3 answers
10k views

Firebase Cloud Messaging API (V1): Server Key missing

We're using Urban Airship to send push messages to our Android app. In that process, we need to configure Airship with 'Server Key' provided in Firebase Console -> Cloud Messaging. As recommended ...
abeljus's user avatar
  • 342

1
2 3 4 5
146