Does FireBase Cloud Messeging requires Play Servic

2019-04-09 06:02发布

Does FCM requires. that the user must have Play Services installed on his phone in order to receive notifications?

You see GCM do but now Im planning to move to FCM hoping it does not...how could I know before testing?

3条回答
祖国的老花朵
2楼-- · 2019-04-09 06:13

Yes it does. Firebase Cloud Messaging is just a rebrand of GCM.

More information in GCM FAQ.

查看更多
何必那么认真
3楼-- · 2019-04-09 06:14

Firebase requires Google Play Services 9.0.0 or newer in order to be used in you application. (This includes FCM).

This is listed as the first prerequisite in the Add Firebase to your Android Project document in the Get Started Guide:

Add Firebase to your Android Project

https://firebase.google.com/docs/android/setup

查看更多
迷人小祖宗
4楼-- · 2019-04-09 06:18

Yes.

See: https://developers.google.com/cloud-messaging/android/android-migrate-fcm#switch_to_fcm_in_the_app-level_buildgradle

https://firebase.google.com/docs/cloud-messaging/android/client

FCM clients require devices running Android 2.3 or higher that also have the
Google Play Store app installed, or an emulator running Android 2.3 with Google APIs.
查看更多
登录 后发表回答