firebase-admin-node
firebase-admin-node copied to clipboard
feat(fcm): Add HTTP2 support for `sendEach()` and `sendEachForMulticast()`
Added:
- HTTP/2 support for
sendEach()andsendEachForMulitcast() - New deprecated method
enableLegacyTransport()
When sending messages using sendEach() or sendEachForMulitcast() a HTTP/2 connection is now used by default.
In order to use the legacy HTTP/1.1 versions of these methods, the enableLegacyTransport() method must be used. This method is already marked as deprecated and will be removed once the HTTP/2 transport is considered fully stable.
Related: #2488
Thanks Jonathan! Let's make the changes we discussed in the API proposal and do another pass. We should be good to go then!