When the app is killed I get notifications sent by firebase console. But when I use REST api I can't receive notifications when the app is killed. Also the log data shows
"09-01 19:59:38.896 19017-19044/in.mykard.customer D/FCMPlugin: View not ready. SAVED NOTIFICATION: javascript:FCMPlugin.onNotificationReceived({"to":"topics\/all","wasTapped":false,"notification":"{\"body\":\"Notification body\",\"title\":\"Notification title\"}","data":"{\"text\":\"New shops have been added in Desert category. Check out!\",\"type\":2}"})
"
When the app is killed I get notifications sent by firebase console. But when I use REST api I can't receive notifications when the app is killed. Also the log data shows "09-01 19:59:38.896 19017-19044/in.mykard.customer D/FCMPlugin: View not ready. SAVED NOTIFICATION: javascript:FCMPlugin.onNotificationReceived({"to":"topics\/all","wasTapped":false,"notification":"{\"body\":\"Notification body\",\"title\":\"Notification title\"}","data":"{\"text\":\"New shops have been added in Desert category. Check out!\",\"type\":2}"}) "