parse-community / parse-server-push-adapter

A push notification adapter for Parse Server
https://parseplatform.org
MIT License
85 stars 100 forks source link

Use proxy in GCM connection #152

Closed simonegiacco closed 4 years ago

simonegiacco commented 4 years ago

Hello, I need to use a proxy while connecting to the fcm.googleapis.com server.

The package parse-community/node-gcm supports the use of a proxy for the connection, but parse-server-push-adapter is not passing this configuration.

We have found the solution and will send a PR soon

simonegiacco commented 4 years ago

PR #153

push configuration will be like this:

"push": {
    "android": {
      "apiKey": "AAAAXOL3MDw:APA.....",
      "requestOptions": {
        "proxy": "http://localhost:8080",
        "timeout": 1000
      }
    }
  }
dplewis commented 4 years ago

Closing via https://github.com/parse-community/parse-server-push-adapter/pull/153