当我初始化SDK时
java.lang.NoSuchFieldException:TARGET_ZOOM
当我初始化SDK时
java.lang.NoSuchFieldException:TARGET_ZOOM
Hi yusong,
If you want to proguard your project, you need add zoom sdk proguard rules, please get the rules from the below link:
https://github.com/zoom/zoom-sdk-android/blob/master/proguard.cfg
Thanks.
Hi
I just want to know if I need to add all rules for progaurd. I am new to zoom SDK
After adding all the rules for progaurd I am getting a lot of warnings. Adding some of them for reference :
Warning:Interface us.zoom.thirdparty.login.facebook.FBAppAuthCallBack
not found. It’s needed to make sure desugaring of com.zipow.videobox.LoginActivity$1
is correct. Desugaring will assume that this interface has no default method.
Warning:Type com.zipow.videobox.ptapp.PTAppProtos$MessageInput
was not found, it is required for default or static interface methods desugaring of int com.zipow.videobox.ptapp.mm.ZoomMessenger.sendMessage(int, java.lang.String, java.lang.String, java.lang.String, java.util.List, com.zipow.videobox.ptapp.PTAppProtos$EmojiList, java.lang.String, int, boolean, java.lang.String[], java.lang.String, boolean, boolean)
Warning:Type com.zipow.videobox.ptapp.PTAppProtos$AllBuddyInfo
was not found, it is required for default or static interface methods desugaring of com.zipow.videobox.ptapp.PTAppProtos$AllBuddyInfo com.zipow.videobox.ptapp.mm.ZoomMessenger.getAllBuddies(boolean, boolean, java.lang.String[], java.lang.String)
Hi goyal.arun16,
Thanks for using Zoom SDK. You can use ‘keep’ in proguard rules to avoid having these warnings, such as -keep com.zipow.videobox.LoginActivity
.
Let me know if you have any questions. Thanks!