how can i send a standard iOS push notification while my app is in the background?

Comments

5 comments

  • Avatar
    James

    any word out there? This is really important. There must be a working local notification method. The one on the push woosh object doesn't seem to work.

  • Avatar
    Sergey Polshcha

    If i understand your question correctly - yes, of course you can send push notifications while your app is in background or not running. In this case iOS handles notification and shows banner or alert for it. If you don't see banners, please check settings of your app:

    alt text

  • Avatar
    James

    so does that require users to set it to Banners, or is there a way to programmatically do it for them?

    thanks brother.

  • Avatar
    James

    Banners is on for my app. ...im triggering notifications from the remote API. I thought maybe since the event handler of my app is running in the background, it's intercepting it, and as a result the standard iOS notification doesn't occur, and then therefore I must call a localNotification() method to trigger it.

  • Avatar
    Sergey Polshcha

    What platform are you using? Phonegap/cordova? Try to run samples on your device from here http://www.pushwoosh.com/programming-push-notification/ios/ios-additional-platforms/push-notification-sdk-integration-for-phonegap/.

Please sign in to leave a comment.