Open nimisane opened 2 years ago
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
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