React-native-fcm: FCM token is null

Created on 27 Jun 2016  路  2Comments  路  Source: evollu/react-native-fcm

FCM.getFCMToken().then(token => {
console.log(token)
// store fcm token in your server
});

In console Null is printed.(For ANDROID didn't tried on IOS)

Most helpful comment

Yes it is working on real device!!
The problem was i didn't had google play serivce installed in Genymotion.
Thank you @gorangajic .

All 2 comments

Have you tried on the real device?

Yes it is working on real device!!
The problem was i didn't had google play serivce installed in Genymotion.
Thank you @gorangajic .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahmed1490 picture ahmed1490  路  5Comments

sf577 picture sf577  路  3Comments

mts88 picture mts88  路  5Comments

jitenderchand1 picture jitenderchand1  路  4Comments

gplopes picture gplopes  路  6Comments