最近搜索


没有最近搜索

Volodymyr Buberenko's Avatar

Volodymyr Buberenko

已加入2023年11月29日

·

最后活动2023年12月04日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Volodymyr Buberenko

Volodymyr Buberenko 进行了评论,

社区评论 Developer - Zendesk SDKs

Thanks to info provided by Sebastian Schneider I was able to find a solution to this crash.

So, to anyone still having this crash add this rule to your proguard-rules file:

-keep class org.xmlpull.** { *; }

查看评论 · 已于 2023年12月04日 发布 · Volodymyr Buberenko

0

关注者

0

投票

0

评论


Volodymyr Buberenko 进行了评论,

社区评论 Developer - Zendesk SDKs

I can confirm that the issue exists in Support SDK 5.2.0 when build in release mode even when have recommended rules as the original issue reporter mentions. The problem is in R8 optimisations (replacement for ProGuard in Android apps enabled by default for some time already) optimisations which might too aggressive for Zendesk's Support SDK.

In the sample app for some reason you have minification disabled, which is not an option for most projects: https://github.com/zendesk/android_sdk_demo_apps/blob/master/support_sample/build.gradle#L21

There is work to do for Zendesk developers to update the recommended set of rules for ProGuard (R8 uses same config file with rules).

 

查看评论 · 已于 2023年11月29日 发布 · Volodymyr Buberenko

0

关注者

0

投票

0

评论