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

Crash when vicdeo ends on Android 6.0.1 [youtube.onVideoEnded.listen] #34

Open
IvanDreamer opened this issue Mar 6, 2019 · 0 comments

Comments

@IvanDreamer
Copy link

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)

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