Open JeanEngelbrecht01 opened 4 years ago
Hi,
Could you check if you have added the zoom Proguard content to your Android project? https://github.com/zoom/zoom-sdk-android/blob/master/proguard.cfg
Hi,
I did not add the proguard.cfg
I am a bit new to flutter, would you be able to give me a link to steps to do this or a tutorial?
Please add proguard-rules.pro in android > app folder and also use proguard file in build.gradle
buildTypes { release { shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } }
Where:
Build file '~/AndroidStudioProjects/flutter_zoom_plugin/android/build.gradle' line: 38
What went wrong: A problem occurred evaluating project ':flutter_zoom_plugin'.
Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.FactoryNamedDomainObjectContainer.
Please note that I did follow @sudip92 suggestion but it seems that the release property cannot be found. Do I need to declare it inside the android context? If so, how do I go on to do it?
Please add proguard-rules.pro in android > app folder and also use proguard file in build.gradle
buildTypes { release { shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } }
I have the same issue, I tried after adding the proguard file but it didn't make any difference, the plugin works fine in debug mode, but in release it's just an instant crash on joining a meeting.
Found a fix for the issue, no need for proguard, just build with --no-shrink tag, the reason why it works in debug mode is that it's not shrinked
Hi,
Could you check if you have added the zoom Proguard content to your Android project? https://github.com/zoom/zoom-sdk-android/blob/master/proguard.cfg
hi, but the link is inactive now, there is no page
hi, @arbyazra123 did you make zoom integrated as participant inside the flutter app if so I have paid task for you Whatsapp me or email me muhameda.radwan@gmail.com - +201148037467
Found a fix for the issue, no need for proguard, just build with --no-shrink tag, the reason why it works in debug mode is that it's not shrinked
Tried. It's working :)
Found a fix for the issue, no need for proguard, just build with --no-shrink tag, the reason why it works in debug mode is that it's not shrinked
Not worked. Any other solution?
@hashirventhodi No need to build with --no-shrink
your proguard-rules.pro file has to be
-keep class us.zoom.** { *; }
-keep class us.zipow.** { *; }
-keep class com.zipow.** { *; }
-keep class org.webrtc.** { *; }
-dontwarn us.zoom.**
-dontwarn com.zipow.**
Add this to app/build.grade and make sure your proguard-rules.pro file is in the same directory as app level build gradle
buildTypes {
release {
// Add the line below
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'signingConfig'
}
}
Your Environment
flutter doctor
): [✓] Flutter (Channel stable, v1.17.2, on Mac OS X 10.15.4 19E266, locale en-ZA)[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) [✓] Android Studio (version 3.6) [✓] Connected device (3 available)
• No issues found!
Expected Behavior
Zoom widget to work on both iOS and Android
Actual Behavior
On iOS the zoom widget opens and works perfectly. On Android it works in debug mode, but when I build an App Bundle file and publish to the store, it crashes unexpectedly.
Steps to Reproduce
Context
Join a Zoom meeting
Debug logs
Logs
``` 06-18 12:00:35.428 13183-13205/? I/flutter: meetingid - 78672790317 06-18 12:00:35.428 13183-13205/? I/flutter: meetingpassword - 5YjNwP 06-18 12:00:35.465 13183-13183/? W/ResourceType: ResTable_typeSpec entry count inconsistent: given 87, previously 3110 06-18 12:00:35.465 13183-13183/? W/ResourceType: ResTable_typeSpec entry count inconsistent: given 1854, previously 1850 06-18 12:00:35.465 13183-13183/? W/ResourceType: ResTable_typeSpec entry count inconsistent: given 157, previously 852 06-18 12:00:35.468 2392-2392/? I/[Gralloc]: alloc w[656] h[468] format[1] usage[2304] 06-18 12:00:35.469 2392-2392/? I/[Gralloc]: alloc succ handle[0x55a6b5fe90] stride[656] 06-18 12:00:35.491 13183-13183/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.503 2392-2392/? I/[Gralloc]: alloc w[656] h[468] format[1] usage[3842] 06-18 12:00:35.505 2392-2392/? I/[Gralloc]: alloc succ handle[0x55a6b60460] stride[656] 06-18 12:00:35.505 13183-13205/? I/flutter: Created the view 06-18 12:00:35.505 13183-13183/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.514 3863-4464/? W/PGApi_client: recv actoionId = 10006, action = com.huawei.pgmng.PGAction@fcc075f actionId =10006 pkg =null extend1 =1102 extend2 = flag =2 type =1 06-18 12:00:35.533 2392-2500/? I/[Gralloc]: alloc w[720] h[48] format[1] usage[3842] 06-18 12:00:35.533 2392-2500/? I/[Gralloc]: alloc succ handle[0x55a6b60e10] stride[720] 06-18 12:00:35.534 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.534 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.534 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.535 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.536 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.536 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null 06-18 12:00:35.561 13183-13183/? E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/me.reddi.core-1/base.apk", zip file "/data/app/me.reddi.core-1/split_config.arm64_v8a.apk", zip file "/data/app/me.reddi.core-1/split_config.en.apk", zip file "/data/app/me.reddi.core-1/split_config.xhdpi.apk"],nativeLibraryDirectories=[/data/app/me.reddi.core-1/lib/arm64, /data/app/me.reddi.core-1/base.apk!/lib/arm64-v8a, /data/app/me.reddi.core-1/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/me.reddi.core-1/split_config.en.apk!/lib/arm64-v8a, /data/app/me.reddi.core-1/split_config.xhdpi.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libzoom_stlport.so" at java.lang.Runtime.loadLibrary(Runtime.java:379) at java.lang.System.loadLibrary(System.java:1086) at com.zipow.cmmlib.AppContext.