
上个月,我发布了我的应用程序与依赖关系
compile 'com.Google.firebase:firebase-messaging:9.0.0'
我已在多个设备上测试过firebase控制台可以成功向所有设备发送通知.
一周前,我注意到有9.0.2版本,但我还没有发布我的应用程序这个新的依赖项.是否真的每当谷歌推出新版本的firebase-messaging时,它会使所有运行旧依赖的设备无法接收通知?
dependencIEs { compile filetree(include: ['*.jar'],dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.androID.support:appcompat-v7:23.4.0' compile 'com.androID.support:design:23.4.0' compile 'com.Google.firebase:firebase-messaging:9.0.0' }apply plugin: 'com.Google.gms.Google-services'解决方法 如果它显示类似的消息,请检查您的控制台 W/GooglePlayServicesUtil: Google Play services out of date. Requires xxxxxxx but found yyyyyyy
然后,您需要更新您的谷歌服务由于应用程序使用新版本的Firebase,而旧版本的播放服务需要更新,否则设备将不会收到通知并显示为未注册
总结以上是内存溢出为你收集整理的android – Firebase云消息未接收通知全部内容,希望文章能够帮你解决android – Firebase云消息未接收通知所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)