Skip to content

Conversation

@mfazekas
Copy link
Contributor

@mfazekas mfazekas commented Dec 14, 2025

Summary

This PR drops support for Mapbox v10 and old React Native architecture (Paper/Bridge) as of version 10.3.0.

Changes:

  • Build now fails with clear error message if Mapbox v10 is detected
  • Build now fails with clear error message if old architecture is used
  • Minimum React Native version bumped to 0.79 (Expo SDK 53)
  • CI simplified to only test v11 + Fabric configuration

Migration:

  • Upgrade to Mapbox v11.x
  • Enable New Architecture (newArchEnabled=true)
  • Or stay on @rnmapbox/maps 10.2.x if you need legacy support

- Block builds with Mapbox v10 (error instead of deprecation warning)
- Block builds with old architecture (error instead of deprecation warning)
- Bump minimum React Native version to 0.79 (Expo SDK 53)
- Remove v10 and old-arch CI test configurations
@mfazekas mfazekas merged commit adbed7d into main Dec 17, 2025
17 of 19 checks passed
@mfazekas mfazekas deleted the 10.3.0-drop-legacy branch December 17, 2025 12:33
mfazekas pushed a commit that referenced this pull request Jan 1, 2026
Remove React Native old architecture (Paper/Bridge) code from iOS,
keeping only new architecture (Fabric/TurboModules) code.

Changes:
- Delete all *ViewManager.m and *ViewManager.swift files (old arch view managers)
- Remove #ifdef RCT_NEW_ARCH_ENABLED guards from ComponentView files
- Simplify Module.h files to only conform to TurboModule protocols
- Remove old arch conditionals from Module.mm files
- Update RNMBXViewResolver to remove old arch code paths
- Remove unused RCTViewManager imports from Bridge/RNMBX.h and Swift.pre.h
- Remove guards from RNMBXFabricPropConvert.mm and RNMBXFollyConvert.h

This is a follow-up to the Android old architecture removal (#4128)
and continues the 10.3.0 cleanup work (#4118).
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.

2 participants