Android WebWidget SDK Conflict with Unified Support SDK
AnsweredThere 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
-
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!
-
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?
Please sign in to leave a comment.
2 Comments