-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
RN 0.77 support #3753
Comments
I've opened a draft PR about supporting but need some input from the maintainers |
try this patch, works for me |
thanks, working for me.. |
i'm still getting the error after applying the patch but it is at using same exact version:
Tried
Is there anything that needs to be done apart from the patch? |
getting the same issue @1453alabanda @ulucantugberk may i know your android setup |
I tried and it didn't work, can you send me more details of your environment on Android? things like, Kotlinversion, compileSdkVersion, etc |
Install the lib patch-package, download the package below (is different from the patches above) this works
|
Patch package failed for me It's the first time I'm working with patch package, am I doing something wrong?
On my dependencies I have |
this one worked tough |
With patch file: e: file:///C:/..../node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewManager.kt:28:52 Argument type mismatch: actual type is 'com.rnmapbox.rnmbx.components.annotation.RNMBXMarkerViewManager', but 'U!' was expected.
e: file:///C:/..../node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXPointAnnotationManager.kt:24:57 Argument type mismatch: actual type is 'com.rnmapbox.rnmbx.components.annotation.RNMBXPointAnnotationManager', but 'U!' was expected.
e: file:///C:/..../node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapViewManager.kt:60:63 Type argument is not within its bounds: should be subtype of 'it(BaseViewManagerInterface & com.facebook.react.viewmanagers.RNMBXMapViewManagerInterface<com.rnmapbox.rnmbx.components.mapview.RNMBXMapView!>)!'.
e: file:///C:/..../node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapViewManager.kt:60:84 Argument type mismatch: actual type is 'com.rnmapbox.rnmbx.components.mapview.RNMBXMapViewManager', but 'U!' was expected.
e: file:///C:/..../node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/styles/atmosphere/RNMBXAtmosphereManager.kt:16:52 Argument type mismatch: actual type is 'com.rnmapbox.rnmbx.components.styles.atmosphere.RNMBXAtmosphereManager', but 'U!' was expected
``` |
Try to strict the versin to |
That has nothing to do with Kotlin errors. Kotlin isn't affected by gradle or yarn cache. What Kotlin version are you using? |
Hello I am facing the same issue as you @talaikis after applying the first suggested patch. I am currently using : Android gradle plugin: 8.7.2
Gradle: 8.10.2
React-Native: 0.77
Kotlin 2.0.21 (the one suggested by the upgrade helper)
minSdkVersion: 24
compileSdkVersion: 35
targetSdkVersion: 34
ndkVersion : "27.1.12297006"
agp_version : '8.8.1' But from what I saw in the official Android docs, I might be using an outdated AGP version, I'll try to bump it and I'll come back to you to confirm if after that the patch worked EDIT: from what I've tested, even if I upgrade to latest AGP issue, I'm still facing the issue after running the first patch EDIT 2: the patch suggested by @brunoscardoso works perfectly, thank you very much ! 💯 I saw there is a PR for the support of react-native 0.77, let's hope it get merged soon 👍 |
Environment
Steps to reproduce
Errors
The text was updated successfully, but these errors were encountered: