Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Getting empty on fcm token

$
0
0

@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.ts

import { 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

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>