Hi, I'd like to reset the badge to 0 when the user exit from the app. Now it's necessary to send another notification with 0 badge value or restart the iOS.

I've set a refresh "setTimeout("location.reload(true);",10000);" but if the App use inappbrowser navigation (web view), the new windows close every x seconds (in the example, 10).

Do you know how to resolve this issue? Thanks.

asked 05 Oct '14, 09:58
izbuh's gravatar image

izbuh
5915

Ok, I found the solution with "resume" function in PhoneGap.

permanent link
answered 06 Oct '14, 06:16
izbuh's gravatar image

izbuh
5915

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:

×91
×25
×18

question asked: 05 Oct '14, 09:58

question was seen: 997 times

last updated: 06 Oct '14, 06:16