chewie
chewie copied to clipboard
Video player white background on release android app
hallo i had same problem when i run for release mode, video not display on the screen I only hear voices, but not any picture
flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel unknown, v1.17.0, on Mac OS X 10.14.4 18E226, locale en-ID)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [!] Xcode - develop for iOS and macOS (Xcode 10.2.1) ✗ Flutter requires a minimum Xcode version of 11.0.0. Download the latest version or update via the Mac App Store. ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install: sudo gem install cocoapods [✓] Android Studio (version 3.6) [✓] Connected device (1 available)
! Doctor found issues in 1 category.
thrown exception:
I/flutter (31263): Another exception was thrown: Instance of 'DiagnosticsProperty' I/flutter (31263): Another exception was thrown: Instance of 'DiagnosticsProperty' I/flutter (31263): Another exception was thrown: Instance of 'DiagnosticsProperty' I/flutter (31263): Another exception was thrown: Instance of 'DiagnosticsProperty' I/flutter (31263): Another exception was thrown: Instance of 'DiagnosticsProperty' I/flutter (31263): Another exception was thrown: Instance of 'DiagnosticsProperty'
my proguard rule file:
-keepclassmembers class fqcn.of.javascript.interface.for.webview { public *; }
-keepattributes Signature
-keepattributes Annotation
-dontwarn sun.misc.**
-keep class * implements com.google.gson.TypeAdapter -keep class * implements com.google.gson.TypeAdapterFactory -keep class * implements com.google.gson.JsonSerializer -keep class * implements com.google.gson.JsonDeserializer
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName
-keep class io.flutter.app.** { ; } -keep class io.flutter.plugin.* { ; } -keep class io.flutter.util.* { ; } -keep class io.flutter.view.* { ; } -keep class io.flutter.* { ; } -keep class io.flutter.plugins.* { ; } -dontwarn io.flutter.embedding.*
@ysavr did you find any solution? Having the same issue on Samsung's Android 11 with video_player: ^2.2.11 ans chewie: ^1.2.2 :/
@ysavr any resolution to this?
does the url use http or https? because my app running well using https
I have fixed it by surrounding the Chewie widget with FittetBox and give its parent a certain width and height. It worked for me in the first video but when the next video begins (loop through Playlist) the issue come back.