Skip to main content

When building the last 4.0.0 release with "react-native": 0.70.5 we're getting this conflict about androidx.appcompat:appcompat:1.1.0.

 

`

 

Could not determine the dependencies of task ':app:mergeReleaseNativeLibs'.

 

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.

 

Could not resolve androidx.appcompat:appcompat:1.1.0.

 

Required by:

 

project :app

 

project :app > project :react-native-screens

 

project :app > project :react-native-screens > com.google.android.material:material:1.6.1

 

> Cannot find a version of 'androidx.appcompat:appcompat' that satisfies the version constraints:

 

Dependency path 'app:app:unspecified' --> 'androidx.appcompat:appcompat:1.1.0'

 

Dependency path 'app:app:unspecified' --> 'com.facebook.react:react-native:0.70.5' (releaseVariantDefaultRuntimePublication) --> 'androidx.appcompat:appcompat:1.4.1'

 

Dependency path 'app:app:unspecified' --> 'app:intercom_intercom-react-native:unspecified' (releaseRuntimeElements) --> 'androidx.appcompat:appcompat:{strictly 1.3.1}'

 

Dependency path 'app:app:unspecified' --> 'app:react-native-gesture-handler:unspecified' (releaseRuntimeElements) --> 'androidx.appcompat:appcompat:1.2.0'

 

Dependency path 'app:app:unspecified' --> 'app:react-native-screens:unspecified' (releaseRuntimeElements) --> 'androidx.appcompat:appcompat:1.1.0'

 

Dependency path 'app:app:unspecified' --> 'host.exp.exponent:expo:47.0.3' (releaseRuntimeElements) --> 'host.exp.exponent:expo-modules-core:1.0.2' (releaseRuntimeElements) --> 'androidx.appcompat:appcompat:1.4.1'

 

Dependency path 'app:app:unspecified' --> 'app:lottie-react-native:unspecified' (releaseRuntimeElements) --> 'com.airbnb.android:lottie:5.1.1' (releaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.3.1'

 

Dependency path 'app:app:unspecified' --> 'app:intercom_intercom-react-native:unspecified' (releaseRuntimeElements) --> 'io.intercom.android:intercom-sdk:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'io.intercom.android:intercom-sdk-base:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.4.2'

 

Dependency path 'app:app:unspecified' --> 'app:react-native-firebase_perf:unspecified' (releaseRuntimeElements) --> 'com.google.firebase:firebase-perf:20.2.0' (runtime) --> 'androidx.appcompat:appcompat:1.2.0'

 

Dependency path 'app:app:unspecified' --> 'app:react-native-sensitive-info:unspecified' (releaseRuntimeElements) --> 'androidx.biometric:biometric:1.2.0-alpha04' (releaseVariantReleaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.2.0'

 

Dependency path 'app:app:unspecified' --> 'app:react-native-screens:unspecified' (releaseRuntimeElements) --> 'com.google.android.material:material:1.6.1' (releaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.1.0'

 

Dependency path 'app:app:unspecified' --> 'app:intercom_intercom-react-native:unspecified' (releaseRuntimeElements) --> 'io.intercom.android:intercom-sdk:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'io.intercom.android:intercom-sdk-base:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'androidx.constraintlayout:constraintlayout:2.1.4' (releaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.2.0'

 

Dependency path 'app:app:unspecified' --> 'app:intercom_intercom-react-native:unspecified' (releaseRuntimeElements) --> 'io.intercom.android:intercom-sdk:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'io.intercom.android:intercom-sdk-base:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'com.intercom:android-composer:3.3.3' (releaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.3.1'

 

Dependency path 'app:app:unspecified' --> 'app:intercom_intercom-react-native:unspecified' (releaseRuntimeElements) --> 'io.intercom.android:intercom-sdk:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'io.intercom.android:intercom-sdk-base:14.0.0' (releaseVariantReleaseRuntimePublication) --> 'com.intercom:android-composer-gallery:3.3.3' (releaseRuntimePublication) --> 'androidx.appcompat:appcompat:1.3.1'

 

 

 

Downgrading to the previous 3.0.5 version solves the issue, Note that IOS is working like a charm with no issues.

 

Thanks

Hey @ali a11​! Oséas here from the Customer Support Specialist team 🕵️

 

I was looking at our list of open issues and I found that we have an open report for that which I believe was reported by you when chatting with my teammate Mark. I can also see that we have another customer experiencing the same issue when implementing the latest version of react-native-intercom. There are no updates on the issue yet but once there's any, it will automatically create an internal notification in the conversation you have with us and we'll let you know straight away 👍


We also experiencing this behaviour. Please also keep us updated.


HI @Oseas.

 

Any updates on the issue? we're still blocked from using the new version and features.

Thanks


Hey all,

we currently have the same problem.

Android:

buildToolsVersion = "30.0.2"

minSdkVersion = 21

compileSdkVersion = 31

targetSdkVersion = 31

ndkVersion = "21.4.7075529"

androidXBrowser = "1.3.0"

 

react-native: 0.66.5

@intercom/intercom-react-native: "^4.0.0"


Hey @ali a11​ @dominik s​ 

 

We don't have any updates on this yet. The way our bug reports automation work is that once you report them to us via the Messenger, we attach the conversation to the bug and once there are any updates on that, an automatic internal notification is sent in the conversation and we're able to update you straight away. With that being said, I would recommend writing to us via the Messenger so we can notify you of any news 👍


We are also running into this issue!


Same issue with react-native 0.70.5 & intercom 4.0.0


Same here, please do something, our release is pending because of this.


it has been more than 2 weeks with little to no confirmed response.

The GitHub repo has no issues tab, and it's impossible to reach the engineering team.

 

it's ironic that the customer support product has one of the worst customer support experiences.

Open-source tools are much more engaging, I don't know how this is the level of support that you get for a paid service.

 


Can't agree more! They need to re-enable the issue tab on their Github repo.


This is insane. We are much behind our release schedule because of this.


Hello all 👋

 

We haven't heard an update from our team on this issue just yet. We hear you on the timeliness of the issue, and we want you to be assured that our product team are working to get this one resolved ASAP. I totally understand that this is a frustrating issue and that it is difficult not having full visibility on its progress. As Oséas mentioned, bug updates are typically communicated through the Messenger in 1:1 conversations, not on the public forum, though we appreciate the feedback that this may not be the best process for our users. Again, please be assured that we have done all we can on our side to get this prioritised with our engineering team and we are staying on top of the updates that they relay to us. We'll be in touch with you as soon as we have an update. Thank you so much for your patience in the meantime, it is greatly appreciated.


Hey all! A belated update from me - I can confirm that we've fixed this as part of our V4.0.1 release 🎉

When upgrading to the latest version, we recommend that you use the latest React version as shown below for smoother integration.

 

"@intercom/intercom-react-native": "^4.0.1",

"react": "18.2.0",

"react-native": "0.70.6"

 

Thanks so much for your patience while the team worked towards this release 🙏 Let us know if you encounter any issues in the meantime.


 

Daniel McGovern what it does mean 'recommend' ? On 0.66.2 it is not working. But your docs says that it is ok.


Hello @daniel m15​,

 

I tried 4.0.1 in react native 0.66.5 and I'm still having issues building the app.

The minCompileSdk (33) specified in a

dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)

is greater than this module's compileSdkVersion (android-31).

Dependency: androidx.compose.ui:ui-tooling:1.3.0.

AAR metadata file: /Users/diegodelvalle/.gradle/caches/transforms-3/5b6d1cca954140336bf6a501ddcb197c/transformed/jetified-ui-tooling-1.3.0/META-INF/com/android/build/gradle/aar-metadata.properties.

If I downgrade to 3.0.5 it works fine. I also tried changing my compileSdkVersion to 33 but that breaks everything.


I've flagged this with the team @vladislav​ and @user2144​ - thanks for your patience with this one 🙏


Reply