[Android] Old Dagger dependency prevents to remove Jetifier support | The place for Zendesk users to come together and share
Skip to main content
Adrián15
November 16, 2021
Question

[Android] Old Dagger dependency prevents to remove Jetifier support

  • November 16, 2021
  • 15 replies
  • 49 views

Hello,

We are trying to remove Jetifier to increase build speed, but Zendesk still depends on old support libraries.

Zendesk SDK is using an old version of Dagger ("com.google.dagger:dagger-android:2.23.2") released on 19 Jun 2019 that uses support library "com.android.support:support-annotations:28.0.0".
Dagger was migrated to AndroidX on version 2.26, 30 Jan 2020. Zendesk SDK should be updated at least to that version.

We are using "com.zendesk:messaging:5.0.5" and "com.zendesk:support:5.0.5".

 

Regards,

Adrián.

 

15 replies

Mick O'Donnell
Product Manager
November 16, 2021

Hi Adrián,

Thank you for flagging this issue with us. We've prioritized work to get the external dependencies of this SDK updated as a high priority. I'll reply to this post with an update as soon as the release is ready.

Kind regards,

Mick

January 10, 2022

@mick11 do you have any updates or ETA on this?

Thank you.

Bruno36
January 24, 2022

@mick11,
Following the release notes the migration to AndroidX should have been done in the version 5.0 https://developer.zendesk.com/documentation/classic-web-widget-sdks/support-sdk/android/release_notes/#500 5 months ago.
Is there any updates on this? This is blocking important build time improvement from our team.

Adam34
January 25, 2022

Adding some additional detail

com.zendesk:support:5.0.6 -> com.zendesk.suas:suas:1.2.0 -> com.android.support:support-annotations:27.0.2

Mike112
February 20, 2022

Any updates on this?

Mick O'Donnell
Product Manager
February 23, 2022

Hi all,

You should just need to update to the latest version (5.0.8) of the Support SDK. This version depends on Dagger 2.40. Please let us know if you've any further issues related to this. We'll try to be more explicit in the release notes.

Bruno36
February 24, 2022

@mick11
I updated but it is still depending on this library https://mvnrepository.com/artifact/com.zendesk.suas/suas/1.2.0

com.zendesk:support:5.0.8 -> com.zendesk.suas:suas:1.2.0 -> com.android.support:support-annotations:27.0.2

So it keeps warning about Jetifier

Mick O'Donnell
Product Manager
February 25, 2022

Hi Bruno,

Thank you for bringing this to our attention! We're going to investigate, and I'll update on this post as soon as we have a resolution to this issue.

Patrick34
May 6, 2022

To add some information on this, I am also currently on version 5.0.8 of the support SDK and the dependency is very much still there. Like the other posters here I hope this can be resolved soon. Maybe this summary from ByeByeJetifier can help you:

[...] Your project has set `android.useAndroidX=true`, but [...]

The following legacy support libraries are detected: -> com.zendesk:support:5.0.8 -> com.zendesk.suas:suas:1.2.0 -> com.android.support:support-annotations:27.0.2","sources":[{}]}

Scanning com.zendesk.suas:suas:1.2.0
 Absolute path: [...] com.zendesk.suas\suas\1.2.0\67ff6bbd96dc9c91c4e826e569fb92adc6af3cf\suas-1.2.0.jar
 Graphs to this dependency:
 +---com.zendesk:support:5.0.8
     +---com.zendesk.suas:suas:1.2.0
 Issues found:
 * pom -> com.android.support:support-annotations:27.0.2

May 12, 2022

@mick11 this should be a very easy fix that should take a couple of minutes and will help a lot of developers speed up their build process. It has been open for over 6 months without any progress. If you aren't able to fix it, could you provide some way for us to help you fix it?