Google Play services: How to handle devices that do not have Google Play?

前端 未结 4 996
栀梦
栀梦 2020-12-13 19:27

Google Play services is an Android library whose goal is to provide:

  • OAuth 2.0 authentication
  • Google+ sign-in
  • Google+ +1 button
  • vari
4条回答
  •  不知归路
    2020-12-13 19:52

    If your app uses GMS features like Google Sign-In or Firebase Cloud Messaging, it won't work well on the devices that don't have GMS. It's recommended that you use GMS if a device supports GMS; otherwise, use HMS (Huawei Mobile Services).

    Please refer to the following links:

    • To check whether GMS is available
    • HMS Overview
    • HUAWEI Account Kit

    So you can use Google+ Sign-In on the devices where GMS is available; otherwise, use HUAWEI Account Sign-In.

提交回复
热议问题