This is a migrated thread and some comments may be shown as answers.

Push notifications not sending

4 Answers 75 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pimskie
Top achievements
Rank 1
Pimskie asked on 25 Sep 2013, 06:31 AM
Since a week I'm using Icenium with Everlive and trying to intergrate push notifications. 

So far I only tried it for Android. I used my Android project number in the code and in Everlive I filled in my Android API key. My project is based on the Everlive push notification sample and everything seems to work fine. The devices show up in Everlive. 

But when I send a notification from Everlive they aren't send, so it seems. And sometimes I receive the notification about 3 hours later. When I check the sent notifications in Everlive it also always says '0' next to devices. 

Am I still doing something wrong / forgetting something?

4 Answers, 1 is accepted

Sort by
0
Lyubomir Dokov
Telerik team
answered on 25 Sep 2013, 12:17 PM
Hi,

There are several things that might be wrong:
- Have you enabled the Android push notifications from the settings of your app in Everlive?
- Are you sure you are not in 'emulator mode'? While in emulator mode the generated token is a fake token, and cannot be used to send actual push notifications. You can check this by looking at your push token in the Everlive backend. It should not be anything like "some_token" or "fake_token".

If none of the above works, can you please try to send a notification using this software:
http://gcm.codeplex.com/

With the above software you can use the same push token and android API key and check if the problem is in getting a valid token or in the Everlive part that sends push notifications to GCM.


Regards,
Lyubomir Dokov
Telerik

Big news for mobile app and .NET developers! Hear about it at our Release Keynote. Thursday, September 26th, 11AM EDT
Do you enjoy Icenium? Vote for it in Windows IT Pro Community Choice Awards as Best Cloud Computing Product or Service (Category 5).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Pimskie
Top achievements
Rank 1
answered on 25 Sep 2013, 01:36 PM
Hi Lyubomir,

Thank you for the reply. I indeed enabled the notifications in Everlive. I'm also not in emulator mode. It seems the devices have valid tokens. 

I tried sending a notification with the Android GCM Sender. Although I don't receive a notification, the software gives back "succes:1":
{"multicast_id":9205955367833435473,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1380115859764324%02364358f9fd7ecd"}]}


0
Lyubomir Dokov
Telerik team
answered on 27 Sep 2013, 04:42 PM
Hi,

When we tested the GCM sender worked always. So, it is either something with the device or something with the token.

Is there any chance you can try with a different Android device? Also, are you using our sample or you are trying to integrate push in your own app? If it is the latter, can you please test with the unchanged sample that we distribute? This will help us locate the problem.


Regards,
Lyubomir Dokov
Telerik

Do you enjoy Icenium? Vote for it in Windows IT Pro Community Choice Awards as Best Cloud Computing Product or Service (Category 5).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Pimskie
Top achievements
Rank 1
answered on 01 Oct 2013, 06:33 AM
Hi Lyubomir, 

Thanks for the response. The sample app worked out of the box without problems. I recoded my app (the notification part) and it seems it is working now. So I guess it was due my own mistake. Thank you for the help anyways!

Regards,

Pim.

 

 
Tags
General Discussion
Asked by
Pimskie
Top achievements
Rank 1
Answers by
Lyubomir Dokov
Telerik team
Pimskie
Top achievements
Rank 1
Share this question
or