Page 9 of 10

Push Notifications not working

Posted: Fri Feb 21, 2014 5:40 pm
by laura6372139

Hi Katya:

I have scanned with two phones generated code!

But there is only one registered.

Image

I can't delete the row because if no messages arrive


Push Notifications not working

Posted: Mon Feb 24, 2014 3:03 pm
by laura6372139

any news?

Thanks!


Push Notifications not working

Posted: Mon Feb 24, 2014 3:16 pm
by Maryna Brodina

Hello! Sorry, not yet... Still working on it.


Push Notifications not working

Posted: Mon Feb 24, 2014 3:23 pm
by laura6372139

Ok! thanks Maryna!


Push Notifications not working

Posted: Mon Feb 24, 2014 3:24 pm
by Maryna Brodina

Hope to post an update soon...


Push Notifications not working

Posted: Tue Feb 25, 2014 8:01 am
by Maryna Brodina

Hello! Please check if you've specified correct Sender ID and API Key in App settings - Push notifications - Android Settings. Please also ensure you've setup correctly https://code.google.com/apis/console/


Push Notifications not working

Posted: Thu Mar 13, 2014 12:17 pm
by laura6372139

Yes my code is correct.

But I have in my db: Image

I think that is this the problem.


Push Notifications not working

Posted: Fri Mar 14, 2014 7:57 am
by Maryna Brodina

Hello!
Token undefined value means you have incorrect Sender ID or API Key. Please check it.


Push Notifications not working

Posted: Mon Mar 24, 2014 1:40 pm
by Amanda

I also get the InvalidRegistration error with an Android device. It is working in iOS. I triple-checked my Sender ID and API Key. In the database, this device shows "Class not found" for deviceID and "undefined" for token. I deleted the row from the database, uninstalled and reinstalled the app on the device, and the row was re-created in the database exactly the same.

Interestingly, my app also has code in it that allows users to select channels, and that works even on Android. I am sending a PUT request to https://api.appery.io/rest/push/reg/, and when I do that on the Android device, the channels do update in the database even though the token and deviceId are still "undefined" and "Class not found".

I need to be able to push notifications to Android. Is this still a bug?


Push Notifications not working

Posted: Mon Mar 24, 2014 5:04 pm
by Amanda

Follow up: I exported to Eclipse and ran the project from there. When run that way, a new row was added to the device database with a real token. The deviceId says null;c92... So, that's much better.

When I send a push notification, I do not get an error anymore. The list of "scheduled notifications" says "sent". But I do not see the notification on the phone, either. I checked the application settings on the phone and it does say "Show notifications". So I'm not sure why it doesn't get the notifications.