wildfirechat / android-chat

即时通讯,聊天,野火IMAndroid客户端,支持Android 4.x —— 最新
http://docs.wildfirechat.cn
Other
2.54k stars 889 forks source link

release打包apk 登录时connect方法异常闪退 #740

Closed niyongsheng closed 1 year ago

niyongsheng commented 1 year ago

登录后的success回调中userId和token没有获取到导致的,debug模式没有这个问题;

image

heavyrain2012 commented 1 year ago

登录返回userId和token是应用服务的功能,应用服务是开源的,你们可以自己debug看看为什么有问题

heavyrain2012 commented 1 year ago

是不是代码有混淆,如果model混淆了,反序列化可能就会出问题

imndx commented 1 year ago

混淆问题,请参考chat/proguard-rules.pro