Use case for play-services-base google play service

一世执手 提交于 2019-12-22 10:56:35

问题


I am bit confused about use case of

com.google.android.gms:play-services-base:8.4.0

From the play service documents it says this is for Google Actions, Base Client Library

Questions are:-

1) Use case for this Particular Service?

2) If it is base client Service, Does that means if we have already added this library we wont need to add any sub library/service like location?

Edit:- Corrected Service name


回答1:


it says this is for Google Actions, Base Client Library

No, it does not. That is GCM, Google Cloud Messaging. com.google.android.gms:play-services-base is "Google Actions, Base Client Library".

I am going to assume that you really meant play-services-base, not play-services-gcm, given your title.

Use case for this Particular Service?

It is used internally by other specific Play Services dependencies. I am not aware of any place where you would use this yourself directly, though Play Services is vast and I may be missing something.

Does that means if we have already added this library we wont need to add any sub library/service like location?

No. Instead, if you have a dependency on something else (e.g., play-services-gcm), it will probably pull in play-services-base for common code.



来源:https://stackoverflow.com/questions/35070755/use-case-for-play-services-base-google-play-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!