Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

scheduled push notification on "proces"

Hello,

Since recently all my apps cannot send scheduled push notifications. I keep getting the status "proces".

Image

The first message is the one I requested via the REST API and the second message is a message I entered via the customer console on appery. The second one tells me a message has been sent to one device, but I have three devices. And the first on doesn't send to any device.

If I send a push message without scheduling it, everything is good and the message arrives. What could be the problem?

This is my payload from my own website:

code
{
"payload":{"badge":"","message":"'.$POST['msg'].'"},
"filter":{"adviseur":"'.$vname.'"},
"schedule":{"scheduledTime":"'.$POST['datetime'].':00.000","useDeviceTimeZone":true}
}
/code

It used to work, but since recently it doesn't anymore.
Please advise!

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

scheduled push notification on "proces"

If I change my payload and delete code"useDeviceTimeZone":true/code and instead use code"timeZone":120/code it works.

But I don't want this, I want it to be able to send the scheduled push notification based on the users devicetimezone.

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

scheduled push notification on "proces"

Hello!

Could you provide the screenshot of the table of devices?

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

scheduled push notification on "proces"

Hello Arina,

Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

scheduled push notification on "proces"

Hi Dirk,

You have two devices with GMT + 02 and one device with GMT time zone.

That means your push notification will send to GMT user at first and after 2 hours other two devices will receive this push.

Did you wait for these 2 hours?

Also please explain how do you want it to work.

Regards.

Dirk Gissing
Posts: 0
Joined: Sat Oct 12, 2013 4:18 pm

scheduled push notification on "proces"

Hello Yuri,

Oke I understand.

What happens if I set the timezone to UTC+2. Does that mean that only the devices that have timezone GMT+2 receive the notification or all of them??

And what's also weird is that all these devices are in the same timezone. So how are there different timezones in the database table?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

scheduled push notification on "proces"

Hi Dirk,

Please read more about sheduled push notifications here: http://devcenter.appery.io/documentat...

What about your device with "UTC" time zone - it's hard to say you can test it.
1 Delete these rows.
2 Run app on each device and see what time zone in new appeared device row.
3 When you find a device with wrong time zone - you should take a look what time zone is set up in the device settings.

Regards.

Return to “Issues”