Hi, I'm using Titanium to develop my app. I want to know is there a function that can stop the app from receiving push notification and then turn it on again without unregistering from the service?

Unregister method I've tried unregister which works to stop push notification but if I reregister, kill app and run again, the callback doesn't fire. I've put a condition where the register function is only run during the first time the app is open. Even when you kill the app after that, it will not run the register function. Is this the reason why the callback doesn't fire? And after unregistering and registering, pushwoosh would take some time to detect the reregistering which is not good.

asked 04 Jun '15, 03:52
Chungfk's gravatar image

Chungfk
111

Be the first one to answer this question!
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:

×353
×33
×30
×12

question asked: 04 Jun '15, 03:52

question was seen: 627 times

last updated: 04 Jun '15, 03:52