Error after add @datadog/mobile-react-native
Describe the issue
I'm trying to add "@datadog/mobile-react-native": "^2.4.3" and "@datadog/mobile-react-navigation": "^2.4.3" but getting error on android build `* What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class androidx.work.OneTimeWorkRequestKt found in modules work-runtime-2.8.1.aar -> work-runtime-2.8.1-runtime (androidx.work:work-runtime:2.8.1) and work-runtime-ktx-2.7.1.aar -> work-runtime-ktx-2.7.1-runtime (androidx.work:work-runtime-ktx:2.7.1) Duplicate class androidx.work.PeriodicWorkRequestKt found in modules work-runtime-2.8.1.aar -> work-runtime-2.8.1-runtime (androidx.work:work-runtime:2.8.1) and work-runtime-ktx-2.7.1.aar -> work-runtime-ktx-2.7.1-runtime (androidx.work:work-runtime-ktx:2.7.1)`
Attaching my dependency tree
According to dependency tree, I have 2 libraries (react-native-plaid-link-sdk and react-native-idfa) that use different version of work-runtime
I'm also using the last versions of those libraries
androidx.work:work-runtime:2.7.1 -> 2.8.1
Is there any idea how can i resolve this issue?
Reproduction steps
I believe that reproduction steps are: to install react-native-plaid-link-sdk and react-native-idfa And then install @datadog/mobile-react-native and @datadog/mobile-react-navigation and try to build android
SDK logs
No response
Device Information
No response
SDK version
2.4.3
Integration Methods
Yarn
React Native Version
0.74.3
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Other relevant information
No response