Skip to content

Conversation

@joshfriend
Copy link

Docs:

restricted_package_name: This parameter specifies the package name of the application where the registration tokens must match in order to receive the message.

Also (after #60 was merged), when a json_request is made, all successive requests would be sent with Content-Type: application/json headers (even when calling plaintext_request) since the header is never cleared anywhere. Rebuilding the headers dict for every request seems like the most robust way to handle this.

Josh Friend added 2 commits July 29, 2015 13:49
"This parameter specifies the package name of the application where
the registration tokens must match in order to receive the message."

https://developers.google.com/cloud-messaging/server-ref#downstream
geeknam added a commit that referenced this pull request Jul 30, 2015
@geeknam geeknam merged commit e41ed7a into geeknam:master Jul 30, 2015
@geeknam
Copy link
Owner

geeknam commented Jul 30, 2015

Looking good, thanks for the contribution.

@joshfriend joshfriend deleted the restricted-pacakge-name branch July 30, 2015 15:21
@geeknam geeknam mentioned this pull request Oct 8, 2015
4 tasks
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

Successfully merging this pull request may close these issues.

2 participants