[英]Samsung S7 edge does not get FCM token in android version 7.0.0
String refreshedToken = FirebaseInstanceId.getInstance().getToken();
刷新令牌的值为null
。
我的图书馆版本:
com.google.firebase:firebase-messaging:11.0.2
This issue is resolve updating version of the library.
Make sure you have to use the same version of your google play service library and firebase messaging library.
My old library:
com.google.firebase:firebase-messaging:11.0.2
Replace with latest version:
compile 'com.google.firebase:firebase-core:11.6.2'
compile 'com.google.android.gms:play-services-gcm:11.6.2'
compile 'com.google.firebase:firebase-messaging:11.6.2'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.