Intercom is not compatible React Native versions above 0.70. A `gradle build` command results in the following error. I verified this by using the Intercom example app. Any help, patch, etc that would work would be greatly appreciated as this is blocking us right now in a huge way.
Task :intercom-react-native:packageDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':intercom-react-native:packageDebugResources' (type 'MergeResources').
- Gradle detected a problem with the following location: '/Users/kevinlint/Concreit/code/fund-mobile-app/node_modules/@intercom/intercom-react-native/android/build/generated/res/rs/debug'.
Reason: Task ':intercom-react-native:packageDebugResources' uses this output of task ':intercom_intercom-react-native:compileDebugRenderscript' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':intercom_intercom-react-native:compileDebugRenderscript' as an input of ':intercom-react-native:packageDebugResources'.
2. Declare an explicit dependency on ':intercom_intercom-react-native:compileDebugRenderscript' from ':intercom-react-native:packageDebugResources' using Task#dependsOn.
3. Declare an explicit dependency on ':intercom_intercom-react-native:compileDebugRenderscript' from ':intercom-react-native:packageDebugResources' using Task#mustRunAfter.
Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/kevinlint/Concreit/code/fund-mobile-app/node_modules/@intercom/intercom-react-native/android/build/generated/res/resValues/debug'.
Reason: Task ':intercom-react-native:packageDebugResources' uses this output of task ':intercom_intercom-react-native:generateDebugResValues' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':intercom_intercom-react-native:generateDebugResValues' as an input of ':intercom-react-native:packageDebugResources'.
2. Declare an explicit dependency on ':intercom_intercom-react-native:generateDebugResValues' from ':intercom-react-native:packageDebugResources' using Task#dependsOn.
3. Declare an explicit dependency on ':intercom_intercom-react-native:generateDebugResValues' from ':intercom-react-native:packageDebugResources' using Task#mustRunAfter.
Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings