Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Quy Nguyen Vu
    Q
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Quy Nguyen Vu

    @Quy Nguyen Vu

    0
    Reputation
    1
    Posts
    482
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Quy Nguyen Vu Follow

    Posts made by Quy Nguyen Vu

    • How to set handle when user click notification to open my app

      Hi all. Iam newbie.

      I am using Monaca to build my Android app.
      My app has notification feature.

      I want to handle event when user click notification to open app. What event do I should use ?
      This is my code about notification:

      document.addEventListener('deviceready', function () {
              window.NCMB.monaca.setDeviceToken(
                    "XXXX",
                    "YYYY",
                    "ZZZZ",
                    function(){},
                    function(error){}
              );
      
              window.NCMB.monaca.setReceiptStatus(true);
      });
      

      Thanks all :)

      posted in Monaca Tools
      Q
      Quy Nguyen Vu