Skip to content

Commit 85f678a

Browse files
authored
feat: upgrade to latest Android SDK 10.3.0 (#470)
Updates Navigation SDK for android from 10.1.0 to 10.3.0 Adds compatibility table to README.md
1 parent 2b69764 commit 85f678a

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ Integration tests are responsible for ensuring that the plugin works against the
120120
To run the test you must first install and setup detox. Please follow the guide here:
121121
https://wix.github.io/Detox/docs/introduction/environment-setup
122122

123+
> [!NOTE]
124+
> The current (pinned) version of Detox does not work with the latest React Native version used in the example app. To run Android Detox tests, the example app must first be downgraded to React Native 0.79.5 until support for newer versions is available.
125+
123126
Build the tests using detox-cli in the example folder:
124127

125128
iOS:

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ This repository contains a React Native plugin that provides a [Google Navigatio
2929
> [!IMPORTANT]
3030
> [Apply API restrictions](https://developers.google.com/maps/api-security-best-practices#api-restriction) to the API key to limit usage to "Navigation SDK, "Maps SDK for Android", and "Maps SDK for iOS" for enhanced security and cost management. This helps guard against unauthorized use of your API key.
3131
32+
## React Native Compatibility
33+
34+
The current version of this package has been tested and verified to work with the following React Native versions:
35+
36+
**0.81.1, 0.80.2, 0.79.6, 0.78.3, 0.77.3, 0.76.9, 0.75.5, 0.74.7**
37+
38+
> [!IMPORTANT]
39+
> This package does not yet support React Native's new architecture. Make sure the new architecture is disabled in your project configuration as shown in the [Installation](#installation) section.
40+
3241
## Installation
3342

3443
This package is listed on NPM as [@googlemaps/react-native-navigation-sdk](https://www.npmjs.com/package/@googlemaps/react-native-navigation-sdk). Install it with:

react-native-navigation-sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Pod::Spec.new do |s|
3333
s.private_header_files = "ios/**/*.h"
3434

3535
s.dependency "React-Core"
36-
s.dependency "GoogleNavigation", "10.1.0"
36+
s.dependency "GoogleNavigation", "10.3.0"
3737

3838
install_modules_dependencies(s)
3939
end

0 commit comments

Comments
 (0)