android release app crash
Closed this issue · 1 comments
tuyenworldconnect commented
yoer commented
To prevent obfuscation of the SDK public class names, do the following:
a. In your project's your_project > android > app folder, create a proguard-rules.pro file with the following content as shown below:
-keep class .zego. { ; }
-keep class ..zego_zpns.* { *; }
b. Add the following config code to the release part of the your_project/android/app/build.gradle file.
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'