如何删除第三条权限选项

发布于 2025-02-12 23:30:53 字数 446 浏览 2 评论 0原文

我已经搜索了这个问题,但尚未找到任何问题,所以我需要您的帮助。如何删除对内存的第三个权限选项,因为如果用户意外单击它,则有必要进入设置并允许手动获得程序,并且由于一般30-40%的用户是能够做到这一点,只有一个人必须重新安装程序。

I've already googled this question but haven't found anything yet, so I need your help. How to remove the third option of permission to the memory, because if the user accidentally clicks on it, it will be necessary to go to the settings and allow the permission to the program manually, and since in general 30-40% of users are able to do this, only one will have to reinstall the program .

enter image description here

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

踏月而来 2025-02-19 23:30:53

正如人们在评论中所说的那样,这是一个系统对话框,您无法更改它。如果您想帮助用户找到应用程序的设置,则可以尝试将它们发送到此处

另请注意,根据 docs

从Android 11开始(API级别30),如果用户在应用程序在设备上安装的一生中多次拒绝特定权限,则用户将不会看到系统权限对话框,如果您的应用程序请求请求再次许可。用户的操作暗示“不要再问”。

因此,即使没有专用按钮,您也必须处理永久拒绝。

As people in the comments have said, it is a system dialog and you cannot change it. If you want to help users find your app's settings you can try sending them there.

Also note that according to the docs

Starting in Android 11 (API level 30), if the user taps Deny for a specific permission more than once during your app's lifetime of installation on a device, the user doesn't see the system permissions dialog if your app requests that permission again. The user's action implies "don't ask again."

So you have to deal with permanent denials even if there isn't a dedicated button.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文