简体   繁体   中英

Pushwoosh - native Android - not receiving notifications

I went through all steps in documentation. All permisions added to AndroidManifest.xml, GCM enabled for my application ID. No errors or warnings in console:

03-09 18:34:50.701 27716-27897/ .*****.****** I/Pushwoosh: [RequestManager] | Pushwoosh request:| Url: https://cp.pushwoosh.com/json/1.3/registerDevice| Payload: {"request":{"device_type":3,"jailbroken":1,"userId":"882480c50abde42e","android_package":" .*****.*****","timezone":3600,"v":"3.3.0.607","app_version":"1.0","sounds":[],"device_model":"Samsung SM-G920F","device_name":"Phone","push_token":"fvalCSNQGro:APA91bHb7_phOm9NuBrTsAGg65-LeJy54d4346ujpuAF8j4kVJm2cNIoWf3MOGB2qUjiMzK573Xd1-yfUwr6mf4rnAzjAIm89WvYtZkvReK69q25OZas3mm1iQjh4Raan04Cl66mprEc","os_version":"5.1.1","language":"en","application":"A7FD7-0B3C0","hwid":"882480c50dade42e"}} Response: {"status_code":200,"status_message":"OK","response":null}x 03-09 18:34:50.701 27716-27897/ .*****.****** D/Pushwoosh: [RequestManager] registerDevice response success 03-09 18:34:50.701 27716-27716/ .*****.****** V/Pushwoosh: [RegistrationPrefs] Setting registered on server status as: true 03-09 18:34:50.711 27716-27716/**.*****.****** W/Pushwoosh: [DeviceRegistrar] Registered for pushes: fvalCSNQGro:APA91bHb7_phOm9NuBrTsAGg65-LeJy54d434453fruAF8j4kVJm2cNIoWf3MOGB2qUjiMzK573Xd1-yfUwr6mf4rnAzjAIm89WvYtZkvReK69q25OZfs3mm1iQjh4Raan04Cl66mprEc

I have all of my devices registered successfully
Do you have any ideas why I dont get any notifications ?

I've found a solution! GCM was unauthorized because of wrong API key. I had to change it to Server Key at console.developers.google.com

What does push status says in the "Push history" page? That's the best place to see what is actually happens with pushes when you send them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM