Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom data fields for Android push #2

Closed
renefloor opened this issue May 4, 2016 · 4 comments
Closed

Add custom data fields for Android push #2

renefloor opened this issue May 4, 2016 · 4 comments

Comments

@renefloor
Copy link

As discussed in #1
It would be good when the possibility is introduced to add other fields than only message or title. In the Android push platform you can use any field you want.

@nickygerritsen
Copy link
Contributor

Apple can also have custom fields.

Probably add a general setField($field, $value) function to the interface and implementations?

@renefloor
Copy link
Author

Didn't know the implementation of Apple, than that makes sense yes.

@johnroyer
Copy link

In this document, custom field can be set in array data (the same as title and content). I think it is great to add a method setField(), or maybe setFields(['fieldName' => 'key', ...]).

APNS notification payload structure in HTTP2 version seems different from GCM. I can not find the old version APNS API document which using socket to send payload. Is this library plan to suppport old version of APNS API ?

@jszanto
Copy link
Contributor

jszanto commented Jan 10, 2017

This has been resolved in 1.0.4 I believe. There are currently no plans to support older versions of the APNS API.

@jszanto jszanto closed this as completed Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants