我可以在应用关闭时在后台收到通知,但是当应用程序打开时,我从后端的firebase收到消息,但它没有得到烧成。
Emulator Console: View not ready. SAVED NOTIFICATION: javascript:FCMPlugin.onNotificationReceived(xxxxxxxx).
//Function to fire notification
window.FirebasePlugin.onNotificationOpen(function(notification) {
alert("Notification Received"+ JSON.parse(JSON.stringify(notification)));
}, function(error) {});