do after notification received

Answered

Comments

2 comments

  • Avatar
    Max Konev

    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";
    
  • Avatar
    alim91

    thx for the reply

Please sign in to leave a comment.