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

Usage guide #13

Closed
zedzag opened this issue Aug 18, 2015 · 1 comment
Closed

Usage guide #13

zedzag opened this issue Aug 18, 2015 · 1 comment

Comments

@zedzag
Copy link

zedzag commented Aug 18, 2015

Hi thanks a lot for this but I'm hoping I can ask a newbie question:

I know I have to create the files in my server's folder. But how would I implement sending, would I incorporate the "Usage" section of the readme in my regular php file? If so what are the $collapsekey and $payloaddata supposed to be? I'm assuming payloaddata is the actual message, but not sure what collapsekey would be.

@lkorth
Copy link
Owner

lkorth commented Aug 18, 2015

Yes, the Usage section in the README is a simple example of how to send a gcm message to a device.

I recommend you read the Cloud Messaging Guide to better understand the protcol and what collapse keys and payloads are.

@lkorth lkorth closed this as completed Aug 18, 2015
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