When using iOS device, if you go fullscreen then exit fullscreen. The sound of the video keeps running even when the widget and controller are disposed.
To Reproduce
You simply run the video then pause it, then run it again in fullscreen mode then exit fullscreen and even when you dispose() the controller and the parent widget, the sound keeps running. I thought this problem only with the simulator, but even when testing on a real device, the same problem apprears.
On Android
Works fine
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.3 19D76, locale en-IQ)
• Flutter version 1.12.13+hotfix.7 at /Users/yousif/development/flutter
• Framework revision 9f5ff2306b (12 days ago), 2020-01-26 22:38:26 -0800
• Engine revision a67792536c
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/yousif/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.8.4
[!] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.8.0
When using iOS device, if you go fullscreen then exit fullscreen. The sound of the video keeps running even when the widget and controller are
disposed
.To Reproduce You simply run the video then pause it, then run it again in fullscreen mode then exit fullscreen and even when you
dispose()
the controller and the parent widget, the sound keeps running. I thought this problem only with the simulator, but even when testing on a real device, the same problem apprears.On Android Works fine
The widget that Im using: