• Resolved maxlinux2000

    (@maxlinux2000)


    Hi,

    I’m migrating my apps to google gcm firebase, but doesn’t works.

    Step that I do:

    1. import a previuos project from the console in order to keep the project number and avoid me to create an update of all apps only for change the project number.
    2. add an app id (created last year) like: com.mydomain.myapp
    3. send a test push message to the app from firebase console.

    The message arrived correctly.

    Then I opened the json file and copied/pasted the “current_key”: “AIzaS-blablablabla….
    to the Google API Key field of your plugin, and send a test message from wordpress.

    No push message arrived to my phones, and in the debug log I can see:

    Finished Android notifications	19 noviembre, 2016 11:45 am
    GCM didn't return a 200 or 503 status (401): Unauthorized Unauthorized Error 401	19 noviembre, 2016 11:45 am
    Processing new subpage with 947 tokens	19 noviembre, 2016 11:45 am
    Processing new chunk from offset 0	19 noviembre, 2016 11:45 am
    Starting Android notifications	19 noviembre, 2016 11:45 am

    Obviously the plugin and wordpress are updated to the last version.

    So the question is: Your plugin support the new gcm firebase method?

    And if it’s supported, how can fix the problem?

    hi
    MaX

Viewing 1 replies (of 1 total)
  • Plugin Author Delite Studio

    (@delitestudio)

    Hello, you have to use the server key you will find in Settings > Cloud Messaging > Server Key on your Firebase Console, not the one in the json file.

    The json file must be used only in your client application.

Viewing 1 replies (of 1 total)
  • The topic ‘GCM Firebase?’ is closed to new replies.