Comments (8)
请确保你项目的其他插件/环境 的混淆成功配置。
除非提供更明显的错误信息,否则将无法排查。
from fluttertencentimplugin.
请确保你项目的其他插件/环境 的混淆成功配置。
除非提供更明显的错误信息,否则将无法排查。
#Flutter Wrapper
-keep class io.flutter.app.** { ; }
-keep class io.flutter.plugin.* { ; }
-keep class io.flutter.util.* { ; }
-keep class io.flutter.view.* { ; }
-keep class io.flutter.* { ; }
-keep class io.flutter.plugins.* { *; }
-keep class io.agora.**{*;}
-dontoptimize
-dontpreverify
-keepattributes EnclosingMethod,Signature
-dontwarn cn.jpush.**
-keep class cn.jpush.** { *; }
-dontwarn cn.jiguang.**
-keep class cn.jiguang.** { *; }
-dontwarn cn.jmessage.**
-keep class cn.jmessage.**{ *; }
-keepclassmembers class ** {
public void onEvent*(**);
}
#========================gson================================
-dontwarn com.google.**
-keep class com.google.gson.** {*;}
#========================protobuf================================
-keep class com.google.protobuf.** {*;}
#=======================talkingdata=============================
-dontwarn com.tendcloud.tenddata.**
-keep class com.tendcloud.** {*;}
-keep public class com.tendcloud.tenddata.** { public protected ;}
-keepclassmembers class com.tendcloud.tenddata.{
public void ();
}
-keep class com.talkingdata.sdk.TalkingDataSDK {public ;}
-keep class com.apptalkingdata.* {;}
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep class com.tencent.android.tpush.** {;}
-keep class com.tencent.tpns.baseapi.** {;}
-keep class com.tencent.tpns.mqttchannel.** {;}
-keep class com.tencent.tpns.dataacquisition.** {;}
小米推送
-keep class com.xiaomi.**{*;}
-keep public class * extends com.xiaomi.mipush.sdk.PushMessageReceiver
华为推送
-ignorewarnings
-keepattributes Annotation
-keepattributes Exceptions
-keepattributes InnerClasses
-keepattributes Signature
-keepattributes SourceFile,LineNumberTable
-keep class com.hianalytics.android.{*;}
-keep class com.huawei.updatesdk.{;}
-keep class com.huawei.hms.**{;}
这是我目前项目中的混淆配置,这个日志会刷很长无法追踪具体的位置
from fluttertencentimplugin.
你可尝试在demo中进行打包,这有助于排查
from fluttertencentimplugin.
你可尝试在demo中进行打包,这有助于排查
日志感觉是扩展消息的class混淆出现问题或者该class 没有实现serialization接口。
禁用项目混淆后没有闪退
from fluttertencentimplugin.
尝试加上以下配置:
# 腾讯云IM
-keep class com.tencent.** { *; }
# FastJson
-dontwarn com.alibaba.fastjson.**
-keep class com.alibaba.fastjson.**{*;}
# 泛型
-keepattributes Signature
# 不混淆Serializable接口的子类
-keepclassmembers class * implements java.io.Serializable { *; }
# 忽略实体类
-keep class top.huic.tencent_im_plugin.** {*;}
from fluttertencentimplugin.
这个问题太久没进行更新,此问题将被关闭。在需要时可以重新打开。
from fluttertencentimplugin.
你可尝试在demo中进行打包,这有助于排查
日志感觉是扩展消息的class混淆出现问题或者该class 没有实现serialization接口。
禁用项目混淆后没有闪退
你解决了吗
from fluttertencentimplugin.
你可尝试在demo中进行打包,这有助于排查
日志感觉是扩展消息的class混淆出现问题或者该class 没有实现serialization接口。
禁用项目混淆后没有闪退你解决了吗
就是混淆的问题,加上上面的混淆可以解决
from fluttertencentimplugin.
Related Issues (20)
- 请问下新版的群简介怎么拿到,之前的版本会话列表中可以取到群简介 HOT 1
- 大佬能不能顺便也支持一下web HOT 2
- android createGroup 返回的groupID有非法字符 " HOT 2
- ios setGroupInfo必须指定全部字段,否则其他字段会被清空(android没这个问题) HOT 4
- 似乎是跟flutter_sound插件的依赖版本起冲突,请问该如何解决? HOT 4
- ios编译报错 HOT 1
- 请问直接关闭App的时候有办法让IM执行退出登录操作吗? HOT 1
- 如何更新本地的IM用户的信息呢? HOT 5
- Swift里的JsonUtil无法解析特殊字符 HOT 6
- flutter2.5.3 ios运行模拟器报错 HOT 16
- 可以支持下 insertC2CMessageToLocalStorage 这个方法嘛? HOT 2
- 发送失败后,调用resendMessage接口,并不能改变消息的发送状态status(依旧为MessageStatusEnum.SendFail) HOT 1
- ios 调用sendMessage 时 真机闪退 HOT 11
- 消息发送是否支持CloudCustomData HOT 9
- 麻烦添加一下x64支持 HOT 1
- 安卓机在进行会话监听时闪退 HOT 23
- `TencentImPlugin.setSelfInfo` 不生效或失败, 导致该用户聊天时获取到的`faceUrl`为null 或 不更新是旧头像, 但是试了腾讯官方的demo, 没有该问题 HOT 6
- DeviceToken
- 通过ref引入编译失败 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluttertencentimplugin.