| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ications to sat networks
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, Thank you @andrew-signal for the contribution!
Sorry, something went wrong.
|
cc: @lahirumaramba, I'll merge this PR as is and have the docs updated and reviewed in a follow up pr along with the RestrictedSatelliteOk api. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Discussion
Hi! The Android Developers page for Developing for constrained satellite networks indicates that we need to pass a new flag, bandwidth_constrained_ok in our AndroidConfig options, like so, to ensure delivery of our pushes on constrained satellite networks.
{ "message":{ "token":"bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", "notification":{ "title":"Portugal vs. Denmark", "body":"great match!" } "android": { "bandwidth_constrained_ok": true } } }In order to do this in a server app based on the firebase-admin-java SDK, we need to expose a config option in AndroidConfigBuilder.
(In practice, things seem to be okay without this flag, but the documentation says we should add it, so I'm inclined to add it.)
Testing
API Changes