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

Unclear instructions #42

Closed
theladyjaye opened this issue Jan 27, 2016 · 1 comment
Closed

Unclear instructions #42

theladyjaye opened this issue Jan 27, 2016 · 1 comment

Comments

@theladyjaye
Copy link

The device tokens per-app differ, or at least that is how I understood them. In fact, using the device token under the Knuff too to attempt to push to another app generates a "Bad Device Token" error when attempting to push.

Logging the token from my app however, and copy/pasting and attempting to push works wonderfully.

So I feel like this statement is a little bit deceptive in the Readme:

Get the device token automatically; forget about manually retrieving the 
device token through logging or similar techniques. Even more useful
when not in sandbox mode

Yes, it does this, but it appears to only do it for the Knuff app.

Actually I just found this:
https://github.com/KnuffApp/Knuff-Framework

That solves the problem, it should be linked from the README to make users aware.

@blommegard
Copy link
Member

Yes that is correct, you can not use a token retrieved from the Knuff iOS app to push to another app.

To automatically get the token from your app you should have a look at Knuff-Framework.

I will update the readme to make it even more clear.

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

2 participants