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

App crashes after permission prompt #54

Open
nimisane opened this issue Mar 23, 2022 · 0 comments
Open

App crashes after permission prompt #54

nimisane opened this issue Mar 23, 2022 · 0 comments

Comments

@nimisane
Copy link

After giving all permissions when I press back button app crashes

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=210, result=0, data=null} to activity
{com.example.oricool_ar_flutter/com.example.oricool_ar_flutter.MainActivity}: java.lang.IllegalStateException: Reply already submitted
[ +1 ms] E/AndroidRuntime(32374): at android.app.ActivityThread.deliverResults(ActivityThread.java:5383)
[ ] E/AndroidRuntime(32374): at android.app.ActivityThread.handleSendResult(ActivityThread.java:5424)
[ ] E/AndroidRuntime(32374): at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
[ ] E/AndroidRuntime(32374): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140)
[ ] E/AndroidRuntime(32374): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100)
[ ] E/AndroidRuntime(32374): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2315)
[ ] E/AndroidRuntime(32374): at android.os.Handler.dispatchMessage(Handler.java:106)
[ ] E/AndroidRuntime(32374): at android.os.Looper.loop(Looper.java:263)
[ ] E/AndroidRuntime(32374): at android.app.ActivityThread.main(ActivityThread.java:8276)
[ ] E/AndroidRuntime(32374): at java.lang.reflect.Method.invoke(Native Method)
[ ] E/AndroidRuntime(32374): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
[ +1 ms] E/AndroidRuntime(32374): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
[ +1 ms] E/AndroidRuntime(32374): Caused by: java.lang.IllegalStateException: Reply already submitted
[ ] E/AndroidRuntime(32374): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:431)
[ ] E/AndroidRuntime(32374): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:267)
[ ] E/AndroidRuntime(32374): at com.baseflow.permissionhandler.-$$Lambda$tkd1HTc7lzMA-RNRmpQPzCnzrNM.onSuccess(Unknown Source:2)
[ ] E/AndroidRuntime(32374): at com.baseflow.permissionhandler.PermissionManager.onActivityResult(PermissionManager.java:100)
[ ] E/AndroidRuntime(32374): at
io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:840)
[ ] E/AndroidRuntime(32374): at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:441)
[ ] E/AndroidRuntime(32374): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:772)
[ ] E/AndroidRuntime(32374): at io.flutter.embedding.android.FlutterActivity.onActivityResult(FlutterActivity.java:685)
[ ] E/AndroidRuntime(32374): at android.app.Activity.dispatchActivityResult(Activity.java:8471)
[ ] E/AndroidRuntime(32374): at android.app.ActivityThread.deliverResults(ActivityThread.java:5376)
[ ] E/AndroidRuntime(32374): ... 11 more

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