现在可以在我的项目中添加firebase(FCM)并与GCM并行工作吗?我无法迁移到FCM,因为它不可能改变我的后端代码,因为它是一个大项目,并且有太多的代码.有没有人做过这样的事情?
请帮忙.提前致谢.
解决方法 不,您不能同时使用FCM和GCM. GCM是旧版本,强烈建议使用FCM.Why is Google Cloud Messaging (GCM) part of Firebase? How does it relate to Firebase Cloud Messaging (FCM)?
Google is investing in Firebase,making it our unifIEd mobile
platform.Over the last few years,we have expanded GCM to send messages to
multiple platforms beyond Android: iOS and Chrome. Firebase is kNown
for being cross platform,so FCM Now makes a natural fit in the
Firebase suite of features designed for AndroID,iOS,and mobile web.Another core value of Firebase is cross-feature integration. We are
adding the ability for other Firebase features to easily send messages
via FCM. For example,you can use Firebase Notifications to send
reengagement messages to your users.We think that GCM will be even more useful to developers as an
integrated part of Firebase. You can still get the same great product,
Now under a new name: “Firebase Cloud Messaging,” or FCM for short.Is GCM going to be deprecated?
We will continue to support the current version of GCM AndroID and iOS
SDKs because we kNow a lot of developers are using GCM SDKs today to
handle notifications,and clIEnt app upgrade takes time.But all new clIEnt-sIDe features will be added to FCM SDKs only moving
forward. You are strongly encouraged to upgrade to FCM SDKs.
您可以获得更多细节here
总结以上是内存溢出为你收集整理的android – 我可以在我的应用程序中同时使用GCM和FCM吗?全部内容,希望文章能够帮你解决android – 我可以在我的应用程序中同时使用GCM和FCM吗?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)