Open xuiqzy opened 5 years ago
Slightly Off-Topic: I am still on GCM and received the info from Google that it will drop this in favor of GCM by April 2019. Is there any upgrade instructions available, or is it enough to provide the FCM credentials as stated in the docs?
I followed the installation steps in
README.md
, which worked without problems and the project built and ran fine.I followed the steps in
ANDROID.md
and added FCM to my project on https://console.firebase.google.com/ (written downSender ID
andServer key
). Then I created an app on https://play.google.com/apps/publish and linked theSender ID
in theServices & APIs
section.At this moment I wasn't exactly sure what else to do to make Google aware that my app is authorized to register for FCM. I tried uploading my apk in the
internal test track
channel, so it could see the config and signature in the apk, is that how it works?Then I added the appropriate
Push.configure
andApp.configurePlugin
calls on the client as well as thePush.configure
call on the Server.To help debugging and fix potential problems, from here under the Server Code section, I added
Push.debug = true
,Push.allow(...)
and aMeteor.methods(...)
for debug output and triggering a notification sent from the server via the Browser console in the client (which according to Server logs is triggered).On the Server logs, the Push registration seems to have completed (
GCM configured
log output), but on the client, even withPush.debug = true
, I get no output on whether anything failed or succeeded.All I know is that the server doesn't get a device which registers and says
Push: Sent message "the title" to 0 ios apps 0 android apps
, when sending a message through theMeteor.call
.Did I forget a step for properly registering my app with FCM and how can I further debug my problem?