The Wayback Machine - https://web.archive.org/web/20201229123208/https://github.com/sideshow/apns2/issues/109
Skip to content
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

README file missing important information #109

Closed
stellmaurer opened this issue Jun 5, 2018 · 1 comment
Closed

README file missing important information #109

stellmaurer opened this issue Jun 5, 2018 · 1 comment

Comments

@stellmaurer
Copy link

@stellmaurer stellmaurer commented Jun 5, 2018

Push notifications worked great in development mode, but once I published my application to the App Store, notifications stopped working. I ended up having to explicitly set the client environment like so:

client := apns2.NewTokenClient(token)
client.Production()

Please update the README file to say that you need to explicitly set the client to Production mode after you publish your app to the App Store.

iranjith4 added a commit to iranjith4/apns2 that referenced this issue Nov 30, 2019
Updated the Readme for mentioning about testing in Production and Development.  For issues sideshow#109 and sideshow#105
sideshow added a commit that referenced this issue Dec 1, 2019
* Update README.md

Updated the Readme for mentioning about testing in Production and Development.  For issues #109 and #105
@sideshow
Copy link
Owner

@sideshow sideshow commented Dec 1, 2019

Closing this off as @iranjith4 added some notes to the readme example

@sideshow sideshow closed this Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.