Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Pass multiple parameters along with body #9

Open
tejasrsuthar opened this issue Aug 4, 2016 · 1 comment
Open

Pass multiple parameters along with body #9

tejasrsuthar opened this issue Aug 4, 2016 · 1 comment

Comments

@tejasrsuthar
Copy link

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,

@tim-hanssen
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants