fluttercommunity / fluttercommunity/chewie

Video player white background on release android app

Open
#345 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
1.1k
Avg merge
6d 8h
Merged PRs (30d)
6

Description

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.**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.