All Questions

201
votes
12answers
186655 views

GCM with PHP (Google Cloud Messaging)

How can I integrate the new Google Cloud Messaging in a PHP backend?
312
votes
22answers
61797 views

google-services.json for different productFlavors

I'm implementing the new Google Cloud Messaging following the guides from the Google Developers page here I've successfully run and test it. But my problem now is I have different productFlavors with...
13
votes
3answers
3257 views

Is it possible to send PushNotifications, using Firebase Cloud Messaging (FCM) to special UDID, directly from device?

I am thinking about keeping all registration ids(push token) in DB and sending notifications to user from iPhone. I tried something like this but did not get any notification. func sendPNMessage() {...
24
votes
2answers
23313 views

API key for GCM is suddenly invalid? Unauthorized (401) error

I created an Android API key for GCM Push Notification for my Android application.From the last two days, GCM server returns Unauthorized (401) response in PHP. Is there any reason for Android API k...
77
votes
3answers
54320 views

Handling registration ID changes in Google Cloud Messaging on Android

In the docs on Google Cloud Messaging, it states: The Android application should store this ID for later use (for instance, to check on onCreate() if it is already registered). Note that Googl...
68
votes
9answers
81773 views

Android Push Notification (GCM), is there any Daily Limit?

Is there any daily limit for number push notifications (GCM) can be sent to a particular android application user?
96
votes
3answers
33322 views

What does google-services.json really do?

I work on adding Google Analytics and GCM services to my current app. On the guide for both services implementation, google asks developer to generate a json file: google-services.json and put it und...
26
votes
1answers
12501 views

GCM push notification works after app Force Stop?

I have used GCM to get push notifications, now if I Force stop the app from the settings on the Android device, will it be able to get push notifications? I have read many posts that say in this cas...
77
votes
15answers
39418 views

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM

Since I updated to Android SDK Tools 25.1.6 and Android Support Repository 32.0.0 (this morning), I got the following error, I didn't change anything in my code and it is still working on my colleague...
24
votes
15answers
56201 views

How to fix Google Cloud Messaging Registration error: SERVICE_NOT_AVAILABLE?

I encountered a strange problem - I've been using GCM in my application for quite a long time and everything works perfectly. However, before a release to Google Play I changed my application package ...

Previous Next