( 最近更新时间:2020-04-28 19:00:00 )
# 打包混淆
-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.** -ignorewarnings
已复制
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
当代码中继承 PushMessageReceiver
创建了其子类. 需 keep 所创建的子类广播.
-keep class io.rong.app.DemoNotificationReceiver {*;}
已复制
1
把 io.rong.app.DemoNotificationReceiver
改成子类广播的完整类路径即可.