Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSettings.openManageOverlayPermissionSetting() shows Exception #11

Open
NOTtheKRish opened this issue Jun 8, 2023 · 0 comments
Open

Comments

@NOTtheKRish
Copy link

PlatformException (PlatformException(error, No Activity found to handle Intent { act=android.settings.MANAGE_OVERLAY_PERMISSION flg=0x10000000 }, null, android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.MANAGE_OVERLAY_PERMISSION flg=0x10000000 } at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2187) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1831) at android.app.ContextImpl.startActivity(ContextImpl.java:1108) at android.app.ContextImpl.startActivity(ContextImpl.java:1079) at android.content.ContextWrapper.startActivity(ContextWrapper.java:442) at alihoseinpoor.com.open_settings.OpenSettingsPlugin.handleJumpToSetting(OpenSettingsPlugin.java:426) at alihoseinpoor.com.open_settings.OpenSettingsPlugin.onMethodCall(OpenSettingsPlugin.java:235) at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262) at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295) at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8381) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013) ))

I get the following exception while trying to invoke OpenSettings.openManageOverlayPermissionSetting() method...
Found this exception while working with Android 13 device....

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

No branches or pull requests

1 participant