I was trying to implement the push notification service via Phonegap Build.
So as a strating point I downloaded the recommended app by Pushwoosh help page from GitHub https://github.com/Pushwoosh/phonegap-3-sample-app
Then I added my Pushwoosh App ID and My Google Project Number (when I used what is literally referred too as Google Project ID I get an error "invalid sender").
So I had the app packed and installed it on my device. I sent push notification and as soon as I hit the woosh button I heard the familiar beep on my phone. But here is the problem. When I pull down the top tray where my push notifications appear in my Android I only have the app name and an empty header (although I defined one). Also the logo is the Phonegap default one and not the one I uploaded in Pushwoosh. When I tap it the app open and I get an alert with a random sequence of letters and numbers, just not the text I composed for the message.
I also added these two lines of code to make sure there can be no access problem:
<access origin="*"/> <access origin="*.pushwoosh.com"/>
The only thing I could think of was that I added 0.0.0/0 as the server address in GCM when getting the API key as I had no idea what to really enter and the help page set you could enter this for test purposes.
In summary. I have sent 4 notifications. 4 times I got the notification on my phone that I had received a message 4 times it did not display properly. And in the Pushwoosh statistics it says 4 times successfully sent but never opened.
Please sign in to leave a comment.