Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json data in method activeCalls return wrong format #83

Closed
hieplee2997 opened this issue Apr 12, 2022 · 1 comment
Closed

Json data in method activeCalls return wrong format #83

hieplee2997 opened this issue Apr 12, 2022 · 1 comment

Comments

@hieplee2997
Copy link

hieplee2997 commented Apr 12, 2022

@hiennguyen92 hi, i have a problem when i run app in release mode on Android.
If i run app in release mode, method activeCalls get incorrect format data. json data return with key alphabet :))
Sample: [{a: {}, b: cb6c347b-6eb4-4cff-b1f5-c50c3ab9dcfa, c: Lee Hiệp, d: call you in Pancake, e: https://statics.pancake.vn/panchat-dev/2022/4/4/bed9387e40c6014b9cb42657e04061b7e2d70294.jpg, f: 1, g: 30000, h: , i: , j: , k: , l: {}, m: {}, n: notification, o: true, p: false, q: false, r: system_ringtone_default, s: #0955fa, t: , u: #4CAF50, v: true}].
All key in data from a-z. I dont understand. Whether i miss something in config? Thanks
My flutter Flutter 2.8.1 • channel stable
Edit: I try in flutter 2.10.4 same result

@hieplee2997
Copy link
Author

Update: This problem cause by Gson minify in release mode. I fixed it by add this line in proguard-rules.pro
-keep class com.hiennv.flutter_callkit_incoming.Data { <fields>; }
It working for me. So i will close this issue. Thank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant