Skip to content

Commit da03f72

Browse files
docs: updated migrating docs for 0.17.0 release
1 parent abd3d0a commit da03f72

2 files changed

Lines changed: 93 additions & 1 deletion

File tree

MIGRATING.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,102 @@ This document covers breaking changes and migration steps between major versions
44

55
## Table of Contents
66

7+
- [Migrating from 0.16.x to 0.17.x](#migrating-from-016x-to-017x)
78
- [Migrating from 0.13.x to 0.14.x](#migrating-from-013x-to-014x)
89

910
---
1011

12+
## Migrating from 0.16.x to 0.17.x
13+
14+
Version 0.17.0 upgrades the underlying Google Navigation SDKs and raises the minimum Android build toolchain requirements.
15+
16+
### Summary of Breaking Changes
17+
18+
| Category | Change |
19+
| ----------------- | --------------------------------------------------------------------------------------- |
20+
| Native SDKs | Android Navigation SDK upgraded to `7.7.0`, iOS Navigation SDK upgraded to `10.14.0` |
21+
| Kotlin | Minimum required Kotlin version is now `2.3.0` |
22+
| Android Gradle | Android Gradle Plugin (AGP) must be `8.13.2` or newer |
23+
| Kotlin Gradle | Kotlin Gradle Plugin must be `2.3.21` or newer |
24+
25+
### What changed
26+
27+
This release updates the native Navigation SDK dependencies to:
28+
29+
- **Android:** Google Maps Navigation SDK `7.7.0`
30+
- **iOS:** Google Maps Navigation SDK `10.14.0`
31+
32+
There are no JavaScript API changes in this release, but **Android projects must update their Gradle/Kotlin toolchain** to build successfully.
33+
34+
### Step 1: Update your Android build toolchain
35+
36+
React Native's default Android Gradle Plugin and Kotlin Gradle Plugin versions are not new enough for this release, so you must override them in your Android project.
37+
38+
> [!NOTE]
39+
> This is a temporary compatibility requirement. Future React Native releases are expected to update their default AGP and Kotlin plugin versions.
40+
41+
#### Minimum required versions
42+
43+
- **AGP:** `8.13.2` or newer
44+
- **Kotlin Gradle Plugin:** `2.3.21` or newer
45+
- **Kotlin language version:** `2.3.0` or newer
46+
47+
#### Example root `android/build.gradle`
48+
49+
If your app uses a root `build.gradle` with a `buildscript` block, update it like this:
50+
51+
```diff
52+
buildscript {
53+
ext {
54+
- kotlinVersion = "<old version>"
55+
+ kotlinVersion = "2.3.0"
56+
}
57+
dependencies {
58+
- classpath("com.android.tools.build:gradle")
59+
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
60+
+ classpath("com.android.tools.build:gradle:8.13.2")
61+
+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.3.21")
62+
}
63+
}
64+
```
65+
66+
### Step 2: Sync and rebuild Android
67+
68+
After updating Gradle and Kotlin versions:
69+
70+
```bash
71+
cd android
72+
./gradlew clean
73+
```
74+
75+
Then rebuild your app.
76+
77+
If you run into dependency or build cache issues, reinstall dependencies and rebuild from scratch.
78+
79+
### Step 3: Reinstall iOS pods
80+
81+
The iOS SDK is upgraded to `10.14.0`, so after upgrading the package you should reinstall pods:
82+
83+
```bash
84+
cd ios && pod install
85+
```
86+
87+
### Release notes
88+
89+
For native SDK changes introduced upstream, review the official release notes:
90+
91+
- [Android Navigation SDK 7.7.0 release notes](https://developers.google.com/maps/documentation/navigation/android-sdk/release-notes)
92+
- [iOS Navigation SDK 10.14.0 release notes](https://developers.google.com/maps/documentation/navigation/ios-sdk/release-notes)
93+
94+
### Troubleshooting
95+
96+
If Android builds start failing after upgrading, first verify:
97+
98+
1. Your project is using **AGP 8.13.2+**
99+
2. Your project is using **Kotlin Gradle Plugin 2.3.21+**
100+
3. Your Kotlin version is at least **2.3.0**
101+
4. You have refreshed Gradle dependencies and rebuilt the app
102+
11103
## Migrating from 0.13.x to 0.14.x
12104

13105
Version 0.14.0 introduces React Native's **New Architecture** (Fabric & TurboModules) as a requirement, dropping support for the legacy architecture. This release also includes breaking API changes and new features.

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ buildscript {
2525
compileSdkVersion = 36
2626
targetSdkVersion = 36
2727
ndkVersion = "27.1.12297006"
28-
kotlinVersion = "2.0.21"
28+
kotlinVersion = "2.3.0"
2929
}
3030
repositories {
3131
google()

0 commit comments

Comments
 (0)