So, i can I respond to the event listener and do something in the app, visible when it's open, and standard iOS notifications go to the phone when the app is closed and not running in the background.

But my question is when it's running in the background (and i assume I still have control), how can client side in my app code trigger a standard iOS notification?

asked 18 Jun '14, 17:23
faceyspacey's gravatar image

faceyspacey
112

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.

permanent link
answered 19 Jun '14, 03:44
faceyspacey's gravatar image

faceyspacey
112

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

permanent link
answered 19 Jun '14, 11:19
Fectum's gravatar image

Fectum
2604

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

thanks brother.

permanent link
answered 19 Jun '14, 11:33
faceyspacey's gravatar image

faceyspacey
112

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.

permanent link
answered 19 Jun '14, 11:36
faceyspacey's gravatar image

faceyspacey
112

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/.

(19 Jun '14, 11:47) Fectum Fectum's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×444
×352
×140

question asked: 18 Jun '14, 17:23

question was seen: 1,955 times

last updated: 19 Jun '14, 11:47