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

APN feedback not connecting #60

Closed
gamafranco opened this issue Jan 24, 2014 · 1 comment
Closed

APN feedback not connecting #60

gamafranco opened this issue Jan 24, 2014 · 1 comment

Comments

@gamafranco
Copy link
Contributor

Hi,

I try to use the APN feedback to get the invalid tokens, so that we can remove them from the database.

But this is what I get on the console in production:

irb(main):011:0>  feedback = APN::Feedback.new()
=> #
irb(main):004:0>  tokens = feedback.tokens
=> []

The server sends push with notify_sync and notify_async. So that is working.
There are invalid tokens on my database, so the array should not be empty.

Thanks.

@gamafranco
Copy link
Contributor Author

The pull request above should fix it.

arthurnn added a commit that referenced this issue Jan 26, 2014
Fixes to_s message of feedback class (fixes #60).
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

1 participant