Closed efstathiosntonas closed 2 hours ago
Mapbox
11.6.0
0.75.4
Android
@rnmapbox/maps
10.1.31
Fresco@3.3.0 will probably land on rn@0.76 according to this PR: https://github.com/facebook/react-native/pull/46864
edit node_modules/react-native/gradle/libs.versions.toml -> set fresco = "3.3.0" -> build fails:
node_modules/react-native/gradle/libs.versions.toml
fresco = "3.3.0"
> Task :rnmapbox_maps:compileDebugKotlin e: file:///Users/stathis/IdeaProjects/APP_NAME_mobile/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt:18:27 Unresolved reference: ViewTreeLifecycleOwner e: file:///Users/stathis/IdeaProjects/APP_NAME_mobile/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt:119:30 Object is not abstract and does not implement abstract member public abstract val lifecycle: Lifecycle defined in com.rnmapbox.rnmbx.components.mapview.RNMBXLifeCycleOwner e: file:///Users/stathis/IdeaProjects/APP_NAME_mobile/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt:134:17 'getLifecycle' overrides nothing e: file:///Users/stathis/IdeaProjects/APP_NAME_mobile/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt:138:13 Unresolved reference: ViewTreeLifecycleOwner e: file:///Users/stathis/IdeaProjects/APP_NAME_mobile/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleImport.kt:9:37 Unresolved reference: style e: file:///Users/stathis/IdeaProjects/APP_NAME_mobile/node_modules/@rnmapbox/maps/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXLayer.kt:21:37 Unresolved reference: layer > Task :rnmapbox_maps:compileDebugKotlin FAILED
downgrading fresco@3.2.0 builds fine.
remarks:
Hey guys, not a big deal for now but we might face this in the future, this is just a "proactive" bug report.
No code example found in issue body - More info
Mapbox Implementation
Mapbox
Mapbox Version
11.6.0
React Native Version
0.75.4
Platform
Android
@rnmapbox/maps
version10.1.31
Fresco@3.3.0 will probably land on rn@0.76 according to this PR: https://github.com/facebook/react-native/pull/46864
edit
node_modules/react-native/gradle/libs.versions.toml
-> setfresco = "3.3.0"
-> build fails:downgrading fresco@3.2.0 builds fine.
remarks: