Firebase附加权限。用户是否被要求接受 [英] Firebase additional permissions. Is user asked for acceptance
问题描述
$ p $
permission.WAKE_LOCK
com.google.android.c2dm.permission.RECEIVE
我的问题是:当用户想要(自动)在棉花糖前版本中更新我的应用程序时会发生什么?他是否被要求许可,因为这是一个正常的许可?
在棉花糖后文件是相当清楚的。它根本不会问用户,因为这是一个正常的权限( https://developer.android.com/guide/topics/security/normal-permissions.html )。
否 WAKE_LOCK 不是危险权限的类型,只会要求用户提供危险权限。因为您可以在这里阅读更多关于类型的权限
I'm currently working on integrating Firebase Analytics into my android app. The problem that I'm encountering is that Firebase adds some new permissions. These permissions are
permission.WAKE_LOCK
com.google.android.c2dm.permission.RECEIVE
My question is: What happens when the user wants to (automatically) update my app in pre Marshmallow versions? Is he asked for permission or not, because it is a normal permission?
In post Marshmallow the documentation is quite clear. It simply doesn't ask the user at all, because it is a normal permission (https://developer.android.com/guide/topics/security/normal-permissions.html).
no WAKE_LOCK is not type of danger permission and user are asked only for danger permissions. as you can read more about this here Types Of permissions
这篇关于Firebase附加权限。用户是否被要求接受的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!