Page 1 of 2

Schedule push notification

Posted: Wed Jan 22, 2014 4:22 am
by Lau

Hi,

I am using PushSendService from here:
http://docs.appery.io/tutorials/sendi...

With this, I am scheduling a push to be sent from the users device.

The push shows up in the scheduled pushes:
Image

However my device never receives the push notification and the push remains in "process" status. Is there some way for me to debug or find out why this isnt working? The device was able to receive push notifications earlier and is registered.

Thanks


Schedule push notification

Posted: Wed Jan 22, 2014 4:29 am
by Alena Prykhodko

Hello Lau,

What device and OS do you use to test?


Schedule push notification

Posted: Wed Jan 22, 2014 4:31 am
by Lau

iphone ios7


Schedule push notification

Posted: Wed Jan 22, 2014 4:36 am
by Alena Prykhodko

Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name http://docs.appery.io/documentation/s...


Schedule push notification

Posted: Wed Jan 22, 2014 5:00 am
by Lau

I have shared it, thanks. I only have 1 app so support can find it.

To invoke the SendPushService from my app, they have to go to:
app menu My Calendar + icon and pick a date/time for the reminder.
This will also schedule a push notification at that time.


Schedule push notification

Posted: Wed Jan 22, 2014 3:28 pm
by Kateryna Grynko

Hi Lau,

We are sorry, this is a bug, we'll fix it asap.


Schedule push notification

Posted: Wed Jan 22, 2014 5:22 pm
by Lau

thanks please advise when complete :)


Schedule push notification

Posted: Fri Jan 24, 2014 10:54 am
by Kateryna Grynko

Hi Lau,

Sorry, we've tested deeper. There is no bug. There must be a problem in your app. When we test your application with our certificates and database it works.

Let's check your certificates (make sure they're for Push). Did you connect database correctly? Disable proxy for all the services that work with database please.


Schedule push notification

Posted: Fri Jan 24, 2014 7:22 pm
by Lau

Hi Katya,

I have double checked my certificates.

I am using a developer certificate and a developer provisioning profile, as seen here:
Image

Image

Image

Should I be using production certificates?

I think the database was connected successfully, yes, since I can send a push to all iOS devices from console and my phone receives notification.

Proxy is disabled for all services.


Schedule push notification

Posted: Fri Jan 24, 2014 9:20 pm
by Maryna Brodina

Hello! We'll check with developers team and let you know, but it might take time. I'll update.