-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on android with RN 0.71 #27
Comments
I'm facing the same issue with React-Native 71 :/ |
I can confirm, facing the same issue here. RN 0.71.2. When I install the package and build there are build issues, as soon as I remove the package and run the app, it's perfect. |
I tried to find a solution, but my expertise is not that great with native plugins. Looks like react-native removed the aar files in the android folder. I found some other libraries with the same issue but couldn't get any patches to work... For example: Another quick and dirty approach might be to download the files manually and place them in the folder, but I couldn't find the aar files needed from the maven repository: https://mvnrepository.com/artifact/com.facebook.react/hermes-android |
If you want to use the fixed version you can either modify your package.json to use: "react-native-clusterer": "https://github.com/focux/react-native-clusterer#support-rn-0.71", or use patch-package and patch the dependency yourself. |
node_modules/react-native/android folder is empty and thus the following in build.gradle fails:
`
dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
def rnMatcher = reactNativeVersion < 69
? "//.aar"
: "/react-native//${buildType()}.aar"
def rnAAR = fileTree(reactNativePath).matching({ it.include rnMatcher }).singleFile
extractJNI(files(rnAAR))
}`
Since there will be no .aar files.
The text was updated successfully, but these errors were encountered: