donglang9880
donglang9880
2016-05-11 22:00
浏览 62

打开通知phonegap后如何将用户重定向到特定页面

I'm trying to redirect user to a page after open the notification. I'm using this plugin to send notification https://github.com/phonegap/phonegap-plugin-push and php. I don't find how to integrate my URL.

Thanks to help me.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douqian7634
    douqian7634 2016-05-11 23:33
    已采纳
    window.location.href = "new_page";
    
    点赞 评论

相关推荐