我目前正致力于将 Firebase Analytics 集成到我的 Android 应用程序中。我遇到的问题是 Firebase 添加了一些新权限。这些权限是
permission.WAKE_LOCK
com.google.android.c2dm.permission.RECEIVE
我的问题是:当用户想要(自动)更新我的 Marshmallow 之前版本的应用程序时会发生什么?他是否请求许可,因为这是一个正常的许可?
在 Marshmallow 之后,文档非常清晰。它根本不询问用户,因为它是普通权限 ( 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
关于android - Firebase 附加权限。是否要求用户接受,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38200738/