php-apns
php-apns copied to clipboard
Pass multiple parameters along with body
Thanks for the library. Its working pretty fine.
I've sort of a query rather than an issue,
Can I send multiple parameters along with message?
$sender->send($deviceToken, 'Title', 'testing', 'http://deeplink.com');
Here I need to pass extra RoomId parameter along with 'testing' text.
Actually, I need to parse received parameters from push notification IOS side and need to have certain action based on passed parameters.
Is it possible?
Thanks,
Hey @tejasrsuthar
It's a late reply but instead of sending that deeplink you can pass a array with parameters. That will be in the payload of the notification.