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

Implementing the sendMulticast() API for FCM #473

Merged
merged 6 commits into from
Mar 12, 2019

Conversation

hiranya911
Copy link
Contributor

This is a follow up to #453. The sendMulticast() API uses the sendAll() method to send a single message to a batch of 100 tokens.

Copy link
Member

@Feiyang1 Feiyang1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just one nit

src/messaging/messaging.ts Outdated Show resolved Hide resolved
@hiranya911 hiranya911 assigned hiranya911 and unassigned Feiyang1 Mar 12, 2019
@hiranya911 hiranya911 merged commit 997ff94 into hkj-fcm-batch Mar 12, 2019
@hiranya911 hiranya911 deleted the hkj-fcm-multicast branch March 12, 2019 20:16
hiranya911 added a commit that referenced this pull request Mar 14, 2019
* Initial implementation for batch send

* Unit tests for BatchRequestClient

* Finished sendAll() implementation

* Fixed some lint errors

* Fixed messaging test imports

* Adding more tests

* Increased test coverage

* Updated tests

* Implemented multipart parsing with dicer for performance

* Increased test coverage for HttpClient

* Added a test case for zlib

* Removed http-message-parser frm required dependencies

* Added some documentation

* Updated comments

* Trigger CI

* Fixed some typos; Reduced batch size limit to 100

* More documentation and clean up

* Updated docs; Other code review feedback

* Handling malformed responses in parseHttpResponse()

* Implementing the sendMulticast() API for FCM (#473)

* Implementing sendMulticast() API

* Added integration test

* Fixed a comment

* Readability improvement in the copy operation
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.

3 participants