itsSagarBro / modern_player

Enhance your video playback experience with modern_player—a feature-rich Flutter package for flutter_vlc_player. Enjoy auto-hiding controls, double-tap to seek, customizable UI, automatic subtitle and audio track detection, and more on both Android and iOS.
MIT License
20 stars 13 forks source link

App Crashes in release mode #20

Open trandoin opened 2 weeks ago

trandoin commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Videos Are listed with Their Name
  2. Click on Name
  3. As soon as it redirects to the player
  4. The app crashed In release mode

Expected behavior A clear and concise description of what you expected to happen.

  1. Videos Are listed with Their Name
  2. Click on Name
  3. As soon as it redirects to the player
  4. the app should not crash and the player should work properly Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Please feel free to add any other context about the problem here.

YazanFarrah commented 4 days ago

Have you added proguard-rules.pro in android/app? if not, please add it and check if the app doesn't crash anymore

proguard-rules.pro: -keep class org.videolan.libvlc.** { *; }