Android的地图V2 - 为什么MAPS_RECEIVE许可地图、Android、许可、MAPS_RECEIVE

2023-09-14 23:02:57 作者:罗密欧与猪过夜i

认为这是一个维基的问题。

Consider this as a wiki question.

当我安装我的项目,以支持地图V2,已经有一个步骤添加MAPS_RECEIVE权限。

While I setup my project to support Map V2, There has been a step to add MAPS_RECEIVE permission.

<permission
          android:name="com.example.mapdemo.permission.MAPS_RECEIVE"
          android:protectionLevel="signature"/>
<uses-permission android:name="com.example.mapdemo.permission.MAPS_RECEIVE"/>

为什么我们创建和使用的应用程序本身的权限?

Why we creating and consuming the permission from the app itself?

是,谷歌使用该许可播放服务的应用程序进行交互?

Is that google play services app interact using this permission ?

此权限不能接受这些东西照顾?

This permission can't takes care of these things?

<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>

我想使用自定义的权限是为了让其他应用程序来启动/使用我们的应用程序的服务/资源。

I thought the use of custom permission is to allow other apps to launch/use our app's services/resources.

推荐答案

对于未来的访客:

这个权限是现在完全没有必要的。最新更新   谷歌播放服务3.1.59做了也没用。其结果是,它可以是   删除。

This permission is now completely unnecessary. The latest update of Google Play Services 3.1.59 made it useless. As a result, it can be removed.