Open oktalk opened 7 months ago
any updates? @oktalk
My best guess is, the issue is caused by this package not working with Gradle 8.
I have this library installed and it's working fine for RN >= 0.70 maybe is something related to the location you have the project looking to this threads on SO:
Describe the issue I'm building a new app with forcereact. In this app the react-native version is up to 70. My guess is the repo rn-salesforce-chat doesn't work with RN 70 as my build fails every time I try to build for Android. However, I can successfully build in iOS. I'm not sure why the Android build is failing as the errors are circular and not descriptive.
Here are the steps I've taken and the errors I got:
Install package according to readme file
ā¢ Install
rn-salesforce-chat
and modifybuild.gradle
file with:Error:
Install package with manual linking
ā¢ Install
rn-salesforce-chat
and follow the manual install instructions (I even tried to this method but got the same error).Same errors still persist if I do the rest of the manual Android install.
To Reproduce Steps to reproduce the behavior:
rn-salesforce-chat
npx react-native run-android
Expected behavior Expect app to build in Android.
Smartphone (please complete the following information):
rn-salesforce-chat version (please complete the following information):
Screenshots If applicable, add screenshots to help explain your problem.
Additional context System: OS: macOS 13.6.1 CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz Memory: 228.36 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - Yarn: 1.22.21 - npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm Watchman: 2023.12.04.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.12.1 SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 IDEs: Android Studio: 2022.3 AI-223.8836.35.2231.10811636 Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: 11.0.21 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.14 => 0.70.14 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found