Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

App doesn't open when it's in background - Need to request SYSTEM_ALERT_WINDOW permission #105

Open
tanzil114 opened this issue Jan 14, 2024 · 0 comments

Comments

@tanzil114
Copy link

Please see:
https://developer.android.com/guide/components/activities/background-starts

If we want the app to open any other app while it is background, our app needs to have SYSTEM_ALERT_WINDOW permission. The plugin DeviceApps doesn't check for this, and returns true on calling openApp method, even though the app doesn't get opened. Once we have the permission, it opens up alright.

https://developer.android.com/reference/android/Manifest.permission#SYSTEM_ALERT_WINDOW

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant