Giter Site home page Giter Site logo

Comments (8)

blommegard avatar blommegard commented on July 18, 2024

Are you using https://github.com/KnuffApp/Knuff-Framework in the iOS app?

from knuff.

brandtdaniels avatar brandtdaniels commented on July 18, 2024

No, I didn't see that part. My apologies.

from knuff.

commando24 avatar commando24 commented on July 18, 2024

I used knuff-framework in my application. and i am getting token from didRegisterForRemoteNotificationsWithDeviceToken method in appDelegate and when i am using this in custom token .i am getting this error.
screen shot 2016-11-07 at 5 09 39 pm

from knuff.

blommegard avatar blommegard commented on July 18, 2024

I can see in the screenshot that you are using the "Production" environment. If you are getting the token from didRegisterForRemoteNotificationsWithDeviceToken using the debugger you should be using the "Sandbox" environment.

A token is considered bad if used in the incorrect environment: (https://developer.apple.com/library/prerelease/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html#//apple_ref/doc/uid/TP40008194-CH11-SW1)

from knuff.

commando24 avatar commando24 commented on July 18, 2024

As you suggested i tried that with "sandbox" environment.now i getting different error.
screen shot 2016-11-07 at 5 32 18 pm

from knuff.

blommegard avatar blommegard commented on July 18, 2024

Either you are affected by #33 or you have selected a certificate form your keychain that is not accosiated with the app you are trying to send a push message to.

from knuff.

commando24 avatar commando24 commented on July 18, 2024

yeah i had selected wrong certificate.now its working .thanks :) 👍

from knuff.

blommegard avatar blommegard commented on July 18, 2024

Great to hear!

from knuff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.