Skip to content

Use proxy in GCM connection #152

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

Closed
simonegiacco opened this issue Nov 26, 2019 · 2 comments
Closed

Use proxy in GCM connection #152

simonegiacco opened this issue Nov 26, 2019 · 2 comments

Comments

@simonegiacco
Copy link
Contributor

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
Copy link
Contributor Author

simonegiacco commented Nov 26, 2019

PR #153

push configuration will be like this:

"push": {
    "android": {
      "apiKey": "AAAAXOL3MDw:APA.....",
      "requestOptions": {
        "proxy": "http://localhost:8080",
        "timeout": 1000
      }
    }
  }

@dplewis
Copy link
Member

dplewis commented Nov 26, 2019

Closing via #153

@TomWFox TomWFox closed this as completed Nov 26, 2019
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

No branches or pull requests

3 participants