@Harikag wrote:
Hi I installed cordova-plugin-fcm by using below command
cordova plugin add cordova-plugin-fcm
npm install --save @ionic-native/fcm imported the FCm from and added FCM provider to app.module.tsimport { FCM } from ‘@ionic-native/fcm’;
constructor(private fcm: FCM) {}
this.fcm.getToken().then(token => {
console.log("fcm token is "+token);
});So console prints empty for token so please help me am using android@6.2.3
Posts: 1
Participants: 1