Skip to content

Commit 81373b5

Browse files
committed
add custom marker and animation
custom marker and animation text marker chore: improve example app layout for latest ios versions (googlemaps#474) fix: view lifecycle issue (googlemaps#473) chore(main): release 0.10.3 (googlemaps#476) feat: upgrade iOS SDK version to 10.4.0 (googlemaps#482) feat!: upgrade Android SDK to 7.0.0 (googlemaps#481) Breaking change: Adds new enum value RouteStatus.DUPLICATE_WAYPOINTS_ERROR docs: typedoc deprecation for showStopSigns and showTrafficLights (googlemaps#486) revert: "feat: upgrade iOS SDK version to 10.4.0 (googlemaps#482)" (googlemaps#488) chore(main): release 0.11.0 (googlemaps#489) remove pulse remove moveMarker remove color support from addMarker recover impor improve text pin add same capability on iOS fix color issue on iOS refactor moveMarker and addTextMarker
1 parent 1958b8a commit 81373b5

39 files changed

+1804
-702
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.10.2"
2+
".": "0.11.0"
33
}

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## [0.11.0](https://github.com/googlemaps/react-native-navigation-sdk/compare/v0.10.3...v0.11.0) (2025-10-13)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* upgrade Android SDK to 7.0.0 ([#481](https://github.com/googlemaps/react-native-navigation-sdk/issues/481))
9+
10+
### Features
11+
12+
* upgrade Android SDK to 7.0.0 ([#481](https://github.com/googlemaps/react-native-navigation-sdk/issues/481)) ([d22ed47](https://github.com/googlemaps/react-native-navigation-sdk/commit/d22ed4726c86672e16c542d50078fc03d97bb508))
13+
14+
## [0.10.3](https://github.com/googlemaps/react-native-navigation-sdk/compare/v0.10.2...v0.10.3) (2025-09-19)
15+
16+
17+
### Bug Fixes
18+
19+
* view lifecycle issue ([#473](https://github.com/googlemaps/react-native-navigation-sdk/issues/473)) ([2922fc6](https://github.com/googlemaps/react-native-navigation-sdk/commit/2922fc644b6847526bc9661f425a25b019d1d523))
20+
321
## [0.10.2](https://github.com/googlemaps/react-native-navigation-sdk/compare/v0.10.1...v0.10.2) (2025-09-11)
422

523

@@ -13,7 +31,7 @@
1331
### Features
1432

1533
* support latest rn versions ([#467](https://github.com/googlemaps/react-native-navigation-sdk/issues/467)) ([2b69764](https://github.com/googlemaps/react-native-navigation-sdk/commit/2b69764462c97a34ec14228410c4de7e189d2ee3))
16-
* upgrade to latest Android SDK 10.3.0 ([#470](https://github.com/googlemaps/react-native-navigation-sdk/issues/470)) ([85f678a](https://github.com/googlemaps/react-native-navigation-sdk/commit/85f678abd858e1e6f5fd1cb0f1d3fb54dd36d13b))
34+
* upgrade to latest iOS SDK 10.3.0 ([#470](https://github.com/googlemaps/react-native-navigation-sdk/issues/470)) ([85f678a](https://github.com/googlemaps/react-native-navigation-sdk/commit/85f678abd858e1e6f5fd1cb0f1d3fb54dd36d13b))
1735

1836
## [0.10.0](https://github.com/googlemaps/react-native-navigation-sdk/compare/v0.9.3...v0.10.0) (2025-08-11)
1937

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ android {
4848

4949
defaultConfig {
5050
minSdkVersion 24
51-
targetSdkVersion 34
51+
targetSdkVersion 36
5252
}
5353

5454
buildFeatures {
@@ -82,6 +82,6 @@ dependencies {
8282
implementation "androidx.car.app:app:1.4.0"
8383
implementation "androidx.car.app:app-projected:1.4.0"
8484
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
85-
implementation "com.google.android.libraries.navigation:navigation:6.3.1"
85+
implementation "com.google.android.libraries.navigation:navigation:7.0.0"
8686
api 'com.google.guava:guava:31.0.1-android'
8787
}

android/src/main/java/com/google/android/react/navsdk/Command.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@
1616
import androidx.annotation.NonNull;
1717

1818
public enum Command {
19-
CREATE_FRAGMENT(1, "createFragment"),
2019
MOVE_CAMERA(2, "moveCamera"),
2120
SET_MY_LOCATION_ENABLED(3, "setMyLocationEnabled"),
2221
SET_TRIP_PROGRESS_BAR_ENABLED(4, "setTripProgressBarEnabled"),
2322
SET_NAVIGATION_UI_ENABLED(5, "setNavigationUIEnabled"),
2423
SET_FOLLOWING_PERSPECTIVE(6, "setFollowingPerspective"),
2524
SET_NIGHT_MODE(7, "setNightMode"),
26-
DELETE_FRAGMENT(8, "deleteFragment"),
2725
SET_SPEEDOMETER_ENABLED(9, "setSpeedometerEnabled"),
2826
SET_SPEED_LIMIT_ICON_ENABLED(10, "setSpeedLimitIconEnabled"),
2927
SET_ZOOM_LEVEL(11, "setZoomLevel"),

android/src/main/java/com/google/android/react/navsdk/EnumTranslationUtil.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,10 @@ public static int getMapTypeFromJsValue(int jsValue) {
9090
}
9191

9292
public static CustomTypes.FragmentType getFragmentTypeFromJsValue(int jsValue) {
93-
switch (jsValue) {
94-
case 0:
95-
default:
96-
return CustomTypes.FragmentType.MAP;
97-
case 1:
98-
return CustomTypes.FragmentType.NAVIGATION;
99-
}
93+
return switch (jsValue) {
94+
case 0 -> CustomTypes.FragmentType.MAP;
95+
case 1 -> CustomTypes.FragmentType.NAVIGATION;
96+
default -> throw new IllegalStateException("Unexpected FragmentType value: " + jsValue);
97+
};
10098
}
10199
}

0 commit comments

Comments
 (0)