更新时间: 2021-03-08
# 混淆
-keepattributes Exceptions,InnerClasses -keepattributes Signature -keep class io.rong.** {*;} -keep class cn.rongcloud.** {*;} -keep class * implements io.rong.imlib.model.MessageContent {*;} -dontwarn io.rong.push.** -dontnote com.xiaomi.** -dontnote com.google.android.gms.gcm.** -dontnote io.rong.** # Location -keep class com.amap.api.**{*;} -keep class com.amap.api.services.**{*;} -ignorewarnings
已复制
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
当代码中继承 PushMessageReceiver
创建了其子类. 需 keep 所创建的子类广播.
-keep class io.rong.app.DemoNotificationReceiver {*;}
已复制
1
把 io.rong.app.DemoNotificationReceiver
改成子类广播的完整类路径即可.