I have taken the following steps:
- created project in firebase console
- ios app added
- Package ID and .p12 certificate uploaded
- added this FCM event
FCMPluginin.getToken(function(token){
console.log("FCMPlugin.getToken token : ", token);
});
this works with beautiful real Android devices, also works fine on a simulator (ios), but it gives zero (token) in a real ios device.

source
share