Open IvanDreamer opened 5 years ago
Hi all!
When I test on Android 6.0.1 and listen to youtube.onVideoEnded.listen, after a video ends the whole app crashes with following error:
Caused by: java.lang.RuntimeException: Cannot execute operation because FlutterJNI is not attached to native. io.flutter.embedding.engine.FlutterJNI.ensureAttachedToNative(FlutterJNI.java:514) io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(FlutterJNI.java:444) io.flutter.embedding.engine.dart.DartMessenger.send(DartMessenger.java:74) io.flutter.embedding.engine.dart.DartExecutor.send(DartExecutor.java:149) io.flutter.view.FlutterNativeView.send(FlutterNativeView.java:142) io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler$EventSinkImplementation.success(EventChannel.java:213) io.github.ponnamkarthik.flutteryoutube.FlutterYoutubePlugin$1.onActivityResult(FlutterYoutubePlugin.java:41) io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:218) io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:143) io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:142) android.app.Activity.dispatchActivityResult(Activity.java:6456) android.app.ActivityThread.deliverResults(ActivityThread.java:3729)
Hi all!
When I test on Android 6.0.1 and listen to youtube.onVideoEnded.listen, after a video ends the whole app crashes with following error: