0

According to this post, after publishing in Play Store for Android 6 device the SYSTEM_ALERT_WINDOW permission has to be given automatically.

Here it's shown that my App has permission to draw over other apps. Description: App permission screen. Text: This app has access to: Other, Connect and disconnect from Wi-Fi, Full network access, draw over other apps

But after downloading from Play Store it is not provided automatically.

Description: App information screen. Text: Display over other apps, No

I have announced SYSTEM_ALERT_WINDOW only in AndroidManifest.xml

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

What else can I do to make users receive the SYSTEM_ALERT_WINDOW permission automatically after downloading the app from an app store? Is there any chance that the Play Store will block me and not grant the ability to get the permission automatically?

Michael Dodd
  • 10,102
  • 12
  • 51
  • 64
  • Implement a permission check. Some devices won't have it automatically granted, even when installed from the Play Store. And some people just won't download it from the Play Store. You can't count on this behavior. – TheWanderer Dec 17 '18 at 14:29
  • That post You quoted is already 2 years old, and auto-permission granting behavior was implemented for compatibility then. – Pawel Dec 17 '18 at 14:37

0 Answers0