jitsi-meet-flutter-sdk icon indicating copy to clipboard operation
jitsi-meet-flutter-sdk copied to clipboard

Cannot join call in release mode

Open gdaino opened this issue 1 year ago • 6 comments

It is not possibile to join a call when application is built in release mode

How to reproduce:

  • download the example project from the repository;
  • run with 'flutter run --release';
  • try to join the call tapping on 'join'; -> the call is not joined and the screen goes back to the main page.

Using both a device LG G7 with Android 10, and a Pixel 6 API 33 simulator.

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.9, on macOS 14.1.1 23B81 darwin-arm64, locale it-IT) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.84.2) [✓] Connected device (4 available) [✓] Network resources

gdaino avatar Nov 25 '23 11:11 gdaino

I'll test

gabiborlea avatar Dec 04 '23 14:12 gabiborlea

Are you experiencing the same with the sample app: https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/flutter?

gabiborlea avatar Dec 18 '23 13:12 gabiborlea

Are you experiencing the same with the sample app: https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/flutter?

yes, exactly the same behavior

gdaino avatar Dec 18 '23 19:12 gdaino

me too

mohamedsoliman121 avatar Dec 24 '23 11:12 mohamedsoliman121

https://pub.dev/packages/jitsi_meet#:~:text=Jitsi%27s%20SDK%20enables%20proguard%2C%20but%20without%20a%20proguard%2Drules.pro%20file%2C%20your%20release%20apk%20build%20will%20be%20missing%20the%20Flutter%20Wrapper%20as%20well%20as%20react%2Dnative%20code.%20In%20your%20Flutter%20project%27s%20android/app/build.gradle%20file%2C%20add%20proguard%20support https://stackoverflow.com/questions/67184547/flutter-jitsi-stopping-in-release-mode

nikolasduda avatar Dec 26 '23 12:12 nikolasduda

@gabiborlea add info about proguard-rules in readme please

nikolasduda avatar Dec 26 '23 12:12 nikolasduda