Hello,
Please make sure, that code is correct and there are some records in device collection, verify certificates in App Settings/Push notification.
Hello,
Please make sure, that code is correct and there are some records in device collection, verify certificates in App Settings/Push notification.
Hello!
Do you see notifications in app or they are not delivered to device at all? Could you check push statistic? Are there any errors?
Hello,
I have the same problem but only with IOS devices.
When an IOS device gets added to the _devices table the token is "undefined".
The earlies version of my app (1.0) never had this problem. I've used the same certificates and settings, the only thing I changed is update to version 2.0 external resources (cordova, jquery etc.)
Is this a bug? And if so, when will this be fixed?
And does anybody know why "null" is added before the deviceid for android devices?? So you have "null;2982928292". Why the null? Because this is hindering me in my project.
I want users to be able to choose wether they want to receive push notifications or not. So I added a new row in the devices table called "receive". I use the update_devices service in order to do this. But the problem is that in the devices table the android devices ALL have a "null" before their deviceid. So the update doesn't happen because the deviceid is not the same as the deviceid in the devices table because of that null
This happens when I try to the the device:
And when I remove the "null" it gives an error "device id does not exist" which is true of course because in the devices table the deviceid is prepended by a null.
please advice!
Nikita, as I previous stated, I had checked the device records. See above for my notes about that. I triple-checked my Sender ID and key. I am not familiar with any cerfiticates required for Android push.
Maryna, the notifications are not received by the phone at all, as far as I can tell, though maybe there is some kind of setting on the phone that I'm not familiar with? I'm not sure what you mean by "push statistics" but when I go to https://appery.io/push/ and click on "Scheduled push notifications", it shows it as sent, with no errors.
Hi Amanda,
Have you tried application push on other devices?
Also please share your app with us. Tell us app's name and steps to reproduce the problem. Specify your device (model and OS version). We'll take a look.
Hi, I realized that the notifications are coming through - kind of - I am going to start a new thread about it because it's really more of a question about how notifications work on Android phones.