I use FCM in my project, when the app is open notification didn’t show up.I want to store the messaging data in to variables in both time(app is in back ground/ killed and open).
FCMPlugin.getToken((token)=>{
this.http.get('https://faizy.000webhostapp.com/firemsg.php?id='+token, {}, {})
.then(data => {
})
.catch(error => {
});
});