flutter_foreground_task icon indicating copy to clipboard operation
flutter_foreground_task copied to clipboard

launchApp method call only works onNotificationPressed but not in onStart or onEvent.

Open h2210316651 opened this issue 2 years ago • 2 comments

h2210316651 avatar Aug 16 '22 05:08 h2210316651

Did you request and grant "android.permission.SYSTEM_ALERT_WINDOW" permission? The above permission is required to use the launchApp function in apps on Android 10 (API level 29) and higher.

Dev-hwang avatar Aug 31 '22 03:08 Dev-hwang

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

To avoid the restriction, this plugin uses the "android.permission.SYSTEM_ALERT_WINDOW" permission.

Dev-hwang avatar Aug 31 '22 03:08 Dev-hwang