Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ in `react-native-better-maps` and `react-native-maps` with

## Requirements

| Requirement | Version / note |
| ------------------------- | ------------------------------------------- |
| React Native | `0.78+` |
| React Native architecture | New Architecture enabled |
| Nitro Modules | `react-native-nitro-modules >=0.35.0` |
| iOS | `16.0+` |
| Android | `minSdkVersion 24+` |
| Expo | Development build; Expo Go is not supported |
| Requirement | Version / note |
| ------------------------- | ------------------------------------------------------------------------------------ |
| React Native | `0.78+` |
| React Native architecture | New Architecture enabled |
| Nitro Modules | `react-native-nitro-modules >=0.35.0` |
| iOS | `16.0+` |
| Android | `minSdkVersion 24+` |
| Expo | SDK 56+ (verified through SDK 57) with a development build; Expo Go is not supported |

Not supported today:

Expand Down Expand Up @@ -192,7 +192,7 @@ After `expo prebuild`, native projects have the required keys and permissions wi
>
> **EAS Secrets:** Store `GOOGLE_MAPS_API_KEY` as an EAS secret and reference it via `process.env.GOOGLE_MAPS_API_KEY` in `app.config.js`.

See [docs/expo-setup.md](docs/expo-setup.md) for a full Expo SDK 56 setup walkthrough.
See [docs/expo-setup.md](docs/expo-setup.md) for a full Expo setup walkthrough (SDK 56+, verified through SDK 57).

## Quick start

Expand Down
332 changes: 160 additions & 172 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ React callbacks (onPress, onRegionChange, etc.)
| Build tool | react-native-builder-bob | RN community standard |
| Package manager | Bun workspaces | Fast, modern |
| Module format | ESM-only | Avoids dual-package hazard |
| Example app | Expo SDK 56 | New Arch mandatory, good DX |
| Example app | Expo SDK 57 | New Arch mandatory, good DX |
| iOS default maps | MapKit | Native, no API key needed |
| Google maps | Google Maps SDK | Shared provider on iOS and Android |
| Provider switching | React remount | Keeps native SDK lifecycle predictable |
9 changes: 7 additions & 2 deletions docs/expo-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ This guide covers configuring `react-native-better-maps` in an Expo app with the

## Prerequisites

- Expo SDK 56+
- React Native 0.78+ with New Architecture enabled (`newArchEnabled: true` in `app.json`)
- Expo SDK 56+ (verified through SDK 57)
- React Native 0.78+ with the New Architecture enabled (the default since Expo SDK 53; SDK 57 removed the `newArchEnabled` config property because the New Architecture is the only option)
- `react-native-nitro-modules` installed alongside `react-native-better-maps`

| Expo SDK | React Native | Status |
| -------- | ------------ | -------- |
| 57 | 0.86 | Verified |
| 56 | 0.85 | Verified |

## Install

```bash
Expand Down
1 change: 0 additions & 1 deletion example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"version": "1.0.0",
"orientation": "portrait",
"userInterfaceStyle": "light",
"newArchEnabled": true,
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.nitromaps.example"
Expand Down
16 changes: 8 additions & 8 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
"prebuild": "expo prebuild"
},
"dependencies": {
"expo": "~56.0.3",
"expo-status-bar": "~3.0.8",
"expo": "^57.0.0",
"expo-status-bar": "~57.0.1",
"react": "19.2.3",
"react-native": "0.85.3",
"react-native": "0.86.0",
"react-native-better-maps": "workspace:*",
"react-native-nitro-modules": "^0.35.10",
"react-native-reanimated": "4.3.1",
"react-native-safe-area-context": "^5.8.0",
"react-native-worklets": "0.8.3"
"react-native-reanimated": "4.5.0",
"react-native-safe-area-context": "~5.7.0",
"react-native-worklets": "0.10.0"
},
"devDependencies": {
"@babel/core": "^7.27.4",
"@types/react": "^19.2.15",
"babel-preset-expo": "~56.0.15",
"typescript": "^5.8.3"
"babel-preset-expo": "~57.0.0",
"typescript": "~6.0.3"
}
}
4 changes: 2 additions & 2 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@
"react-native-nitro-modules": ">=0.35.0"
},
"devDependencies": {
"@expo/config-plugins": "~56.0.0",
"@expo/config-plugins": "~57.0.0",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"@types/jest": "^29.5.14",
"@types/react": "^19.2.15",
"jest": "^29.7.0",
"nitrogen": "^0.35.9",
"react": "19.2.3",
"react-native": "0.85.3",
"react-native": "0.86.0",
"react-native-builder-bob": "^0.43.0",
"react-native-nitro-modules": "^0.35.10",
"release-it": "^19.0.0",
Expand Down
Loading