Skip to content

Update for React Native 0.78+ Compatibility: Enforce Stricter Kotlin Checks & Migrate to setViewTreeLifecycleOwner API V2#3855

Merged
mfazekas merged 19 commits into
mainfrom
Magnus-V-main
May 26, 2025
Merged

Update for React Native 0.78+ Compatibility: Enforce Stricter Kotlin Checks & Migrate to setViewTreeLifecycleOwner API V2#3855
mfazekas merged 19 commits into
mainfrom
Magnus-V-main

Conversation

@mfazekas

@mfazekas mfazekas commented May 22, 2025

Copy link
Copy Markdown
Contributor

Description

To test you can add this to package.json

"@rnmapbox/maps": "rnmapbox/maps#Magnus-V-main"

See: #3844
Closes: #3844

@LDMFD

LDMFD commented May 26, 2025

Copy link
Copy Markdown

This was briefly working for me last night but since this morning it's failing again:

> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.mapbox.maps:android:10.18.4.
     Searched in the following locations:
       - file:/Users/darren/dev/p/ski/expo/node_modules/react-native/android/com/mapbox/maps/android/10.18.4/android-10.18.4.pom
       - https://dl.google.com/dl/android/maven2/com/mapbox/maps/android/10.18.4/android-10.18.4.pom
       - https://repo.maven.apache.org/maven2/com/mapbox/maps/android/10.18.4/android-10.18.4.pom
       - https://www.jitpack.io/com/mapbox/maps/android/10.18.4/android-10.18.4.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/mapbox/maps/android/10.18.4/android-10.18.4.pom
     Required by:
         project :app > project :rnmapbox_maps
   > Could not find com.mapbox.mapboxsdk:mapbox-sdk-turf:6.11.0.
     Searched in the following locations:
       - file:/Users/darren/dev/p/ski/expo/node_modules/react-native/android/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom
       - https://dl.google.com/dl/android/maven2/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom
       - https://repo.maven.apache.org/maven2/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom
       - https://www.jitpack.io/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/mapbox/mapboxsdk/mapbox-sdk-turf/6.11.0/mapbox-sdk-turf-6.11.0.pom
     Required by:
         project :app > project :rnmapbox_maps

Any ideas?

This is an Expo native app. o3 suggested (so don't blame me if it's way off) that Expo 53 bumps the tool-chain to React-Native 0.79 and Kotlin 2.0, whereas @rnmapbox/maps version 10.1.38 was built for Kotlin 1.9 and older. This branch fixes rnmapbox for Kotlin 2.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants