为从Play商店安装的应用绘制覆盖权限 [英] Draw Overlay permission for apps installed from Play Store

查看:126
本文介绍了为从Play商店安装的应用绘制覆盖权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处是有关绘图覆盖权限问题的著名问答.我在以前的应用程序中也观察到了相同的行为,即从Play商店安装该应用程序时会自动授予该行为.

Here is a well-known Q/A about draw overlay permission issue. I observed same behavior on my previous apps also, i.e. it was automatically granted when the app is installed from Play Store.

但是,在我最近的应用程序中,我发现即使从Play商店安装了该权限,也不会授予该权限.起初,我认为这可能是我们测试设备的一个特定问题.但是,我想通过我最喜欢的分析工具在野外追踪此类许可不足情况的数量来对此进行确认.

In my recent app, however, I observed that that permission is not granted even if it is installed from Play Store. At first, I thought that this might be a specific problem for our test devices. However, I wanted to be sure about it by tracking the number of such lack-of-permission situations in the wild through my favorite analytics tool.

我们昨天发布了通知此事件的版本,分析表明,我们必须在1天之内手动请求80个用户的许可.哎呀!

We published the version that notifies about this incident yesterday, and the analytics say that we had to manually request for this permission at 80 users, in just 1 day. Ouch!!!

分析表明,几乎所有的Android版本(从6.0到9)都会出现此问题.

The analytics say that this problem occurs in almost all Android versions, from 6.0 to 9. So it is not the case for just a few versions.

此权限最近是否有变化?还是Play商店是否有某种白名单(例如Facebook自动将其授予)以授予此权限?

Is there any change about this permission recently? Or, does Play Store have some kind of a whitelist (e.g. Facebook takes it automatically) to grant this permission?

推荐答案

是的,自2019年1月开始以来发生了变化.对于我的应用程序,我在1月9日获得了第一份报告.仅新安装的应用会受到影响.

Yes, there is a change since beginning of January 2019. For my app I got a first report on 9th January. Only fresh installs of an app are affected.

有几个应用程序受到影响,但是仍然自动获得许可的应用程序的选择似乎是随机的.这是一个已知问题,已报告给Google,但当然是:零响应.有关更多信息,请参见以下错误报告:

There are several apps affected, but the selection of apps that still receive the permission automatically seems random. This is a known problem and has been reported to Google, but of course: zero response. See following bug reports for more info:

  • https://issuetracker.google.com/issues/127690549
  • https://issuetracker.google.com/issues/37125806
  • https://issuetracker.google.com/issues/37119304
  • https://issuetracker.google.com/issues/123686422

您可能会争辩说,无论如何都必须提供权限检查流程,但是请记住,并非所有rom都提供用于授予叠加权限的UI.我不知道任何提供此类界面的Android TV ROM.因此,对于未经许可无法使用的电视应用程序,这尤其令人讨厌.

You might argue that one has to provide a permission check flow anyway, but bear in mind that not all roms provide a UI for granting overlay permission. I don't know of any Android TV rom which provides such interface. Hence this is particularly annoying for TV apps that don't work without this permission.

这篇关于为从Play商店安装的应用绘制覆盖权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆