Skip to content

Does not work in sandbox mode #40

Description

@SergeyMell

I have a server on heroku

Configuration looks like this

    Push::ConfigurationApns.create(app: 'MyApp', connections: 2, enabled: true,
                                   certificate: File.read('apns.pem'),
                                   feedback_poll: 2,
                                   sandbox: true)

However, it is still connecting to production gateway. Here is what I get from the logs

2017-11-03T09:21:23.192081+00:00 app[push.1]: [2017-11-03 09:21:23] [MyApp: ConnectionApns 1] Connected to gateway.push.apple.com:2195
2017-11-03T09:21:23.372482+00:00 app[push.1]: [2017-11-03 09:21:23] [MyApp: ConnectionApns 2] Connected to gateway.push.apple.com:2195

Thanks in advance for your help

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions