Open sharifnascenia opened 8 years ago
Have you solved it? I'm having the same issue
Yes, I did. It was problem with my redimi note 2. Otherwise It works on other android devices
On Sun, Oct 2, 2016 at 12:07 PM, Pablo Feldman notifications@github.com wrote:
Have you solved it? I'm having the same issue
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fechanique/cordova-plugin-fcm/issues/65#issuecomment-250955780, or mute the thread https://github.com/notifications/unsubscribe-auth/ANZq35r8VeyTRcpli6plWE7EKQlyoiRZks5qv0oagaJpZM4Jev5- .
I am using the code described in the 'using' portion. I can get the register token. Then I tried to send notification from Firebase test notification module using that token. Each time I run the app in my device I am having the alert-
"Msg: onNotification callback successfully registered: OK"
it is inside the second function of FCMPlugin.onNotification event.
But the first function [where I want to get the notification] is not called. I don't find where I am making mistake. Here is my code inside onDeviceReady: