0 Replies Latest reply on Apr 6, 2017 4:13 AM by amritav9367541

    FCMPlugin.getToken not giving me token number

    amritav9367541

      FCMPlugin.getToken not giving me token number, While i can see firebase plugin installed successfully when build succeeded. I am putting  below function inside receivedEvent in index.js file

      FCMPlugin.getToken(

         function(token){alert("token");

        alert(token);

         },

         function(err){alert('error');

        console.log('error retrieving token: ' + err);

         }

        );