'com.esri.arcgisruntime:arcgis-android:100.14.0' has a dependency 'org.conscrypt:conscrypt-openjdk-uber:2.2.1'. This dependency is incorrect as it should only be used for windows, linux and MacOS. The following github repository mentions that for Android use conscrypt-android.
https://github.com/google/conscrypt#android
'org.conscrypt:conscrypt-android:2.5.2'
This has caused me a lot of pain with a custom react native component as the app kept crashing when it was unable to find the required libraries. The solution I have used until this is fixed in the package repository is to exclude the "conscrypt-openjdk-uber" and add conscrypt-android as a dependency.
implementation ('com.esri.arcgisruntime:arcgis-android:100.14.1') {
exclude group: "org.conscrypt", module: "conscrypt-openjdk-uber"
}
implementation 'org.conscrypt:conscrypt-android:2.5.2'
Thanks for bringing this to our attention. `org.conscrypt:conscrypt-openjdk-uber:2.2.1` is a transitive dependency introduced by the `org.apache.httpcomponents.core5` dependency.
Is your custom react native component using the conscrypt dependency directly? If yes, could you share some details on how it is using conscrypt? This would help us analyzing the problem and coming up with a potential fix.