最近搜索


没有最近搜索

Android WebWidget SDK Conflict with Unified Support SDK

已回答


已于 2022年5月23日 发布

There is a problem using messaging-android sdk
I want use AnswerBot and show answer flow what define at flow builder
When I add dependency zendesk.messaging:messaging-android:2.3.0, BuildConfig class is conflict with Unified Support SDK(Classic WebWidget)
 
dependencies
implementation "com.zendesk:support:5.0.8"
implementation "zendesk.messaging:messaging-android:2.3.0"
build error
Duplicate class zendesk.messaging.BuildConfig found in modules jetified-messaging-5.2.3-runtime (com.zendesk:messaging:5.2.3) and jetified-messaging-android-2.3.0-runtime (zendesk.messaging:messaging-android:2.3.0)
 
+) There are minimum version of okhttp3, retrofit?
My app use okhttp3:3.9.1 and retrofit:2.6.2 version.
When I add zendesk sdk, it update app's okhttp3, retrofit version
So, I exclude group okhttp3, retrofit2 like this.
 
dependencies
implementation("zendesk.messaging:messaging-android:2.3.0") {
exclude group: "com.squareup.okhttp3"
exclude group: "com.squareup.retrofit2"
}
But, It makes exception
NoClassDefFoundError MoshiConverterFactory
Do I need update app's okhttp3 & retrofit version?
 
How can I solve this problem? please help

1

2

2 条评论

Eric Nelson Thanks!

I have another question. Can I initialize flow builder on unified-sdk answer-bot?

I can't find any way to init channel-key.

is it possible?

0


Hey there,

The unified-sdk has it's own way of running answer-bot without having to add in the messaging-sdk. You can find instructions here. If you'd like to move over to the messaging sdk, you'll want to quit using the unified sdk and fully switch over to the messaging one.

Thanks!

0


登录以发表评论。

其他内容

补充说明

找不到所需的内容?

新建帖子