[Android] Removing Flexbox jCenter dependency | The place for Zendesk users to come together and share
Skip to main content
Edin11
November 3, 2021
Question

[Android] Removing Flexbox jCenter dependency

  • November 3, 2021
  • 12 replies
  • 58 views

Hi, so we are trying to remove jCenter dependency from our project but Zendesk messaging library is blocking us to do so as it depends on Flexbox library from jCenter. Google moved that library to their Maven repository but we can't force it as Gradle doesn't look at it as same Flexbox library. So we really need Zendesk library to be updated in order to remove jCenter dependency.

Is there any ETA when we can expect that so that we can plan our work accordingly?

 

 

12 replies

Andre30
November 4, 2021

We are facing the same issue here.

The Zendesk support has any solution in mind?

Guilherme16
November 4, 2021

Same thing here. Got flexbox library error when trying to update dependencies.

Erica
Employee
November 4, 2021
Hi Edin!
 
Thank you so much for your post. This is something our teams are working on and recognize as a priority to update. There isn't a precise ETA for this deliverable but as soon as we have a released version of the mobile SDKs with a resolution, it will be our top priority to let our community members know. I apologize for any inconvenience this has caused you. We truly appreciate your commitment and taking the time to follow up.
 
Best,
 
Erica - Dev Support
Kymin
November 9, 2021

Same thing here. you just need to change the flexbox version to 3.0.0 to support mavenCentral

Illia11
November 9, 2021

We've faced the same issue.
Please migrate to com.google.android:flexbox:3.0.0 from mavenCentral
Thank you!

Kymin
November 9, 2021

One workaround is adding the following to your build.gradle:

dependencies {

modules {
module("com.google.android:flexbox") {
replacedBy("com.google.android.flexbox:flexbox")
}
}

implementation ("com.zendesk:messaging:$zendeskMessagingVersion", {
exclude group: "com.google.android", module: "flexbox"
})

implementation "com.google.android.flexbox:flexbox:3.0.0"

 

Mick O'Donnell
Product Manager
November 10, 2021

Hello,

We've prioritized the fix for this issue on all SDKs will have a resolution in the near future. The work-around to upgrade to Flexbox 3.0.0 should work fine for now. Apologies for any inconvenience caused!

Edin11
Edin11Author
November 10, 2021

Thank you @kymin for sharing workaround and @mick11 for prioritizing this one. 

November 30, 2021

We are facing the same issue.

Does have any solution or a new Zendesk library version?

Mick O'Donnell
Product Manager
December 8, 2021

Hi Nataliya, 

We are actively working on a resolution to this issue, but if this is blocking you, you can upgrade to Flexbox 3.0.0 as a workaround for now. Apologies for any inconvenience that this has caused you. We'll update our release notes as soon the release is complete.