Giter Club home page Giter Club logo

Comments (5)

sideshow avatar sideshow commented on May 22, 2024 2

No probs. If you're getting a 200 then it means it was successfully sent and accepted by APNS, so i would look to the device code and maybe check the following;

  1. You don't have the app open when testing - Unless you've written extra code to show a notification when the app is open it wont show when the app is open.
  2. You haven't requested the correct permissions from the user - On the latest version of iOS all devices will receive push tokens, and you can push to all devices by default, but alerts badges and sounds wont display unless you have requested the correct permissions.

from apns2.

Fantasim avatar Fantasim commented on May 22, 2024 1

Oh my god!!!!! Thank you, I thought notification appeared even when the application was open! it works perfectly! thanks again ! :)

from apns2.

sideshow avatar sideshow commented on May 22, 2024

You're getting a 403 because theres something wrong with your cert and you're not catching the err and using _ instead.

from apns2.

Fantasim avatar Fantasim commented on May 22, 2024

Thanks, error actually came from there.

Actually, i've a status 200, but my device doesn't receive notification. I know it's not about package and i'm sorry to ask it here but it's first time i'm use push notification and I have already asked for help on stackoverflow but nobody could help me.

So everything seems to work but my iphone doesn't receive notification sent, do you know why or where the problem might be?

(my device is an iPhone 6 on iOS 9, i've enabled push notification / remote notification in Background Mode in XCode and i build with Release build configuration)

from apns2.

sideshow avatar sideshow commented on May 22, 2024

Haha, no worries. Glad i could help!

from apns2.

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.