Can't receive notifications_Android

Comments

7 comments

  • Avatar
    Dmitry Dyudeev

    Hello,

    Please note that there is a "Unauthorized" error in the reports of your latest pushes. This error means that Pushwoosh cannot authorize at GCM while sending push notifications.

    Please check GCM API Key that you entered in your Android settings in the Control Panel. You should try both Browser Key and Server Key.

    Please let us know about the results!

  • Avatar
    Knight49

    I'm sure my KEY is correct, but it's not work in here. What should i do?

  • Avatar
    Dmitry Dyudeev

    In this case, could you please double check whether the Google Project Number in your application is the one that you got in the Google Console?

  • Avatar
    Knight49

    My English is a little weak, please don't mind. Here is what I do all the things. I don't know where I was wrong?

    ====Pushwoosh website====

    1.Applications/add new/Enter my Title/select my icon/save

    2.Configure/Android Edit/API Key/Use my ServerKey form google api console.

    ===================

    1.Download sdk to my unity form https://github.com/Pushwoosh/pushwoosh-sdk-samples/tree/master/Unity/Android

    ===AndroidManifest.xml======

    1.Rename PACKAGE_NAME to Bundle Identifier. There are five places Rename.

    2.Replace PW_APPID to "Pushwoosh Application Code"

    3.replace PW_PROJECT_ID "A + Google api console/Overview/Project Number"

    ================

    ====Unity====

    1.Add PushNotificationsAndroid to a gameboject & build

    ===========

  • Avatar
    Dmitry Dyudeev

    Hello again,

    Could you please send us your Manifest file? Perhaps, there is some kind of a misprint there. Aside from that, are there any white-listed IP on your Server API key in Google Console?

  • Avatar
    Tobias

    If you copied the manifest maybe from one project to another, make sure your bundle identifier is still correct in the xml. In one case, I copied the config into another project and forgot. I still got the messages, because the original client was still registered and I didn't notice why I could not set Tags...

  • Avatar
    Knight49

    I change my Allow IP and It's work now. I think this is Stupid problem. lol alt text

Please sign in to leave a comment.