hi, i have build an android phonegap application with pushwoosh services and its work 100%. but i want when i click on the notification received to open a new page .html and not the index.html page. can anyone help?

asked 02 May '14, 07:39
alim91's gravatar image


I think by default cordova will open index.html (or any other starting page per config.xml). However you can reroute that during the JS initialization (based on the push notifications fact or custom data in the push notifications payload) in a very simple way:

window.location.href = "file.html";
permanent link
answered 04 May '14, 14:44
shader's gravatar image


thx for the reply

(04 May '14, 15:16) alim91 alim91'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



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:


question asked: 02 May '14, 07:39

question was seen: 1,137 times

last updated: 04 May '14, 15:16