开发者

APNS-PHP Push Notification Custom Properties

开发者 https://www.devze.com 2023-04-11 03:09 出处:网络
The apns-push notification is working fine for me, but now I want to send some custom properties the app.

The apns-push notification is working fine for me, but now I want to send some custom properties the app.

This is how I'm sending properties:

$message->setCustomProperty('Activities', $activities);
$message->setCustomProperty('Tasks', $tasks);
开发者_如何学Python

Both variables $activities and $tasks contains integer values, but the values are not being received on the app.

Any idea ?

Thanks...

Arfeen


There wasn't any problem in sending the custom properties, the problem was at the app end so this worked like charm.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号