react-native-google-maps-plus 1.8.4-dev.1 → 1.8.4-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,16 +1,11 @@
1
1
  # react-native-google-maps-plus
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/react-native-google-maps-plus.svg?logo=npm&color=cb0000)](https://www.npmjs.com/package/react-native-google-maps-plus)
4
- [![Dev Release](https://img.shields.io/npm/v/react-native-google-maps-plus/dev.svg?label=dev%20release&color=orange&logo=githubactions)](https://www.npmjs.com/package/react-native-google-maps-plus)
5
- [![Release](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml/badge.svg)](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml)
6
- [![Issues](https://img.shields.io/github/issues/pinpong/react-native-google-maps-plus?logo=github)](https://github.com/pinpong/react-native-google-maps-plus/issues)
7
- [![License](https://img.shields.io/github/license/pinpong/react-native-google-maps-plus?logo=open-source-initiative&logoColor=green)](./LICENSE)
8
- [![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier&logoColor=white)](https://prettier.io/)
9
- [![TypeScript](https://img.shields.io/badge/%3C/%3E-TypeScript-blue.svg?logo=typescript)](https://www.typescriptlang.org/)
10
- [![Lint](https://img.shields.io/badge/lint-eslint-green.svg?logo=eslint&logoColor=white)](https://eslint.org/)
11
- [![React Native](https://img.shields.io/badge/react--native-%3E%3D0.81.0-61dafb.svg?logo=react)](https://reactnative.dev/)
12
- [![Platform: Android](https://img.shields.io/badge/platform-android-green.svg?logo=android&logoColor=white)](https://developer.android.com/)
13
- [![Platform: iOS](https://img.shields.io/badge/platform-iOS-lightgrey.svg?logo=apple&logoColor=black)](https://developer.apple.com/ios/)
4
+ [![Dev Release](https://img.shields.io/npm/v/react-native-google-maps-plus/dev.svg?label=dev%20release&color=orange)](https://www.npmjs.com/package/react-native-google-maps-plus)
5
+ [![Build](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml/badge.svg)](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml)
6
+ ![React Native](https://img.shields.io/badge/react--native-%3E%3D0.81.0-61dafb.svg?logo=react)
7
+ ![Platform: Android](https://img.shields.io/badge/android-supported-brightgreen.svg?logo=android&logoColor=white)
8
+ ![Platform: iOS](https://img.shields.io/badge/ios-supported-lightgrey.svg?logo=apple&logoColor=black)
14
9
 
15
10
  React Native wrapper for Android & iOS Google Maps SDK.
16
11
 
@@ -22,6 +17,58 @@ React Native wrapper for Android & iOS Google Maps SDK.
22
17
  yarn add react-native-google-maps-plus react-native-nitro-modules
23
18
  ```
24
19
 
20
+ **iOS**
21
+
22
+ Add this to your Podfile only for bare React Native apps.
23
+ (Not required for Expo, handled by the config plugin.)
24
+
25
+ ```ruby
26
+ post_install do |installer|
27
+ react_native_post_install(
28
+ installer,
29
+ config[:reactNativePath],
30
+ :mac_catalyst_enabled => false,
31
+ )
32
+ # Force iOS 16+ to avoid deployment target warnings
33
+ installer.pods_project.targets.each do |target|
34
+ target.build_configurations.each do |config|
35
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
36
+ end
37
+ end
38
+
39
+ # --- SVGKit Patch ---
40
+ require 'fileutils'
41
+ svgkit_path = File.join(installer.sandbox.pod_dir('SVGKit'), 'Source')
42
+
43
+ # node fix
44
+ Dir.glob(File.join(svgkit_path, '**', '*.{h,m}')).each do |file|
45
+ FileUtils.chmod("u+w", file)
46
+ text = File.read(file)
47
+ new_contents = text.gsub('#import "Node.h"', '#import "SVGKit/Node.h"')
48
+ File.open(file, 'w') { |f| f.write(new_contents) }
49
+ # puts "Patched Node import in: #{file}"
50
+ end
51
+
52
+ # import CSSValue.h
53
+ Dir.glob(File.join(svgkit_path, '**', '*.{h,m}')).each do |file|
54
+ FileUtils.chmod("u+w", file)
55
+ text = File.read(file)
56
+ new_contents = text.gsub('#import "CSSValue.h"', '#import "SVGKit/CSSValue.h"')
57
+ File.open(file, 'w') { |f| f.write(new_contents) }
58
+ # puts "Patched CSSValue import in: #{file}"
59
+ end
60
+
61
+ # import SVGLength.h
62
+ Dir.glob(File.join(svgkit_path, '**', '*.{h,m}')).each do |file|
63
+ FileUtils.chmod("u+w", file)
64
+ text = File.read(file)
65
+ new_contents = text.gsub('#import "SVGLength.h"', '#import "SVGKit/SVGLength.h"')
66
+ File.open(file, 'w') { |f| f.write(new_contents) }
67
+ # puts "Patched SVGLength import in: #{file}"
68
+ end
69
+ end
70
+ ```
71
+
25
72
  ### Expo Projects
26
73
 
27
74
  Add your keys to the `app.json`.
@@ -43,149 +90,44 @@ The config plugin automatically injects them into your native Android and iOS bu
43
90
  }
44
91
  ```
45
92
 
46
- # Dependencies
47
-
48
- This package builds on native libraries for SVG rendering and Google Maps integration:
49
-
50
- - **iOS**: [SVGKit](https://github.com/SVGKit/SVGKit)
51
- - **Android**: [AndroidSVG](https://bigbadaboom.github.io/androidsvg/)
52
- - **iOS Maps SDK**: [Google Maps SDK for iOS](https://developers.google.com/maps/documentation/ios-sdk)
53
- - **Android Maps SDK**: [Google Maps SDK for Android](https://developers.google.com/maps/documentation/android-sdk)
54
- - **Maps Utility Libraries**: [Google Maps Utils for iOS](https://developers.google.com/maps/documentation/ios-sdk/utility) and [Google Maps Utils for Android](https://developers.google.com/maps/documentation/android-sdk/utility)
55
-
56
- These are automatically linked when you install the package, but you may need to clean/rebuild your native projects after first install.
57
-
58
93
  ## Setup API Key
59
94
 
60
95
  You will need a valid **Google Maps API Key** from the [Google Cloud Console](https://console.cloud.google.com/).
61
96
 
62
97
  ### Android
63
98
 
64
- It's recommend to use [Secrets Gradle Plugin](https://developers.google.com/maps/documentation/android-sdk/secrets-gradle-plugin) to securely manage your Google Maps API Key.
99
+ **Note:** These instructions apply to **bare React Native apps only**.
100
+ Expo projects should use the config plugin instead (see Expo section above).
101
+
102
+ See the official [Google Maps Android SDK configuration guide](https://developers.google.com/maps/documentation/android-sdk/config#step_3_add_your_api_key_to_the_project) for more details.
65
103
 
66
104
  ---
67
105
 
68
106
  ### iOS
69
107
 
70
- See the official [Google Maps iOS SDK configuration guide](https://developers.google.com/maps/documentation/ios-sdk/config#get-key) for more details.
71
-
72
- 1. Create a `Secrets.xcconfig` file inside the **ios/** folder:
73
-
74
- ```properties
75
- MAPS_API_KEY=YOUR_IOS_MAPS_API_KEY
76
- ```
108
+ **Note:** These instructions apply to **bare React Native apps only**.
109
+ Expo projects should use the config plugin instead (see Expo section above).
77
110
 
78
- Include it in your project configuration file:
79
-
80
- ```xcconfig
81
- #include? "Secrets.xcconfig"
82
- ```
83
-
84
- 2. Reference the API key in your **Info.plist**:
111
+ See the official [Google Maps iOS SDK configuration guide](https://developers.google.com/maps/documentation/ios-sdk/config#get-key) for more details.
85
112
 
86
- ```xml
87
- <key>MAPS_API_KEY</key>
88
- <string>$(MAPS_API_KEY)</string>
89
- ```
113
+ ---
90
114
 
91
- 3. Provide the key programmatically in **AppDelegate.swift**:
115
+ # Dependencies
92
116
 
93
- ```swift
94
- import GoogleMaps
117
+ This package builds on native libraries for SVG rendering and Google Maps integration:
95
118
 
96
- @UIApplicationMain
97
- class AppDelegate: UIResponder, UIApplicationDelegate {
98
- func application(_ application: UIApplication,
99
- didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
100
- if let apiKey = Bundle.main.object(forInfoDictionaryKey: "MAPS_API_KEY") as? String {
101
- GMSServices.provideAPIKey(apiKey)
102
- }
103
- return true
104
- }
105
- }
106
- ```
119
+ - **iOS**: [SVGKit](https://github.com/SVGKit/SVGKit)
120
+ - **Android**: [AndroidSVG](https://bigbadaboom.github.io/androidsvg/)
121
+ - **iOS Maps SDK**: [Google Maps SDK for iOS](https://developers.google.com/maps/documentation/ios-sdk)
122
+ - **Android Maps SDK**: [Google Maps SDK for Android](https://developers.google.com/maps/documentation/android-sdk)
123
+ - **Maps Utility Libraries**: [Google Maps Utils for iOS](https://developers.google.com/maps/documentation/ios-sdk/utility) and [Google Maps Utils for Android](https://developers.google.com/maps/documentation/android-sdk/utility)
107
124
 
108
- ---
125
+ These are automatically linked when you install the package, but you may need to clean/rebuild your native projects after first install.
109
126
 
110
127
  ## Usage
111
128
 
112
129
  Checkout the example app in the [example](./example) folder.
113
130
 
114
- # Troubleshooting
115
-
116
- ## Android
117
-
118
- - **API key not found**
119
- Make sure `secrets.properties` exists under `android/` and contains your `MAPS_API_KEY`.
120
- Run `./gradlew clean` and rebuild.
121
-
122
- ## iOS
123
-
124
- - **`GMSServices must be configured before use`**
125
- Ensure your key is in `Info.plist` and/or provided via `GMSServices.provideAPIKey(...)` in `AppDelegate.swift`.
126
-
127
- - **Build fails with `Node.h`, `CSSValue.h`, or `SVGLength.h` import errors from SVGKit**
128
- SVGKit includes headers (`Node.h`, `CSSValue.h`, `SVGLength.h`) that can conflict with
129
- iOS system headers and React Native Reanimated’s internal types.
130
- You can patch them automatically in your **Podfile** inside the `post_install`
131
-
132
- ```ruby
133
- post_install do |installer|
134
- react_native_post_install(
135
- installer,
136
- config[:reactNativePath],
137
- :mac_catalyst_enabled => false,
138
- )
139
- # Force iOS 16+ to avoid deployment target warnings
140
- installer.pods_project.targets.each do |target|
141
- target.build_configurations.each do |config|
142
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
143
- end
144
- end
145
-
146
- # --- SVGKit Patch ---
147
- require 'fileutils'
148
- svgkit_path = File.join(installer.sandbox.pod_dir('SVGKit'), 'Source')
149
-
150
- # node fix
151
- Dir.glob(File.join(svgkit_path, '**', '*.{h,m}')).each do |file|
152
- FileUtils.chmod("u+w", file)
153
- text = File.read(file)
154
- new_contents = text.gsub('#import "Node.h"', '#import "SVGKit/Node.h"')
155
- File.open(file, 'w') { |f| f.write(new_contents) }
156
- # puts "Patched Node import in: #{file}"
157
- end
158
-
159
- # import CSSValue.h
160
- Dir.glob(File.join(svgkit_path, '**', '*.{h,m}')).each do |file|
161
- FileUtils.chmod("u+w", file)
162
- text = File.read(file)
163
- new_contents = text.gsub('#import "CSSValue.h"', '#import "SVGKit/CSSValue.h"')
164
- File.open(file, 'w') { |f| f.write(new_contents) }
165
- # puts "Patched CSSValue import in: #{file}"
166
- end
167
-
168
- # import SVGLength.h
169
- Dir.glob(File.join(svgkit_path, '**', '*.{h,m}')).each do |file|
170
- FileUtils.chmod("u+w", file)
171
- text = File.read(file)
172
- new_contents = text.gsub('#import "SVGLength.h"', '#import "SVGKit/SVGLength.h"')
173
- File.open(file, 'w') { |f| f.write(new_contents) }
174
- # puts "Patched SVGLength import in: #{file}"
175
- end
176
- end
177
- ```
178
-
179
- After applying this, run:
180
-
181
- ```sh
182
- cd ios && pod install --repo-update
183
- ```
184
-
185
- - **Maps not rendering**
186
- - Check that your API key has **Maps SDK for Android/iOS** enabled in Google Cloud Console.
187
- - Make sure the key is not restricted to wrong bundle IDs or SHA1 fingerprints.
188
-
189
131
  ## Contributing
190
132
 
191
133
  - [Development workflow](CONTRIBUTING.md#development-workflow)
@@ -5,6 +5,8 @@ import MarkerTag
5
5
  import PolygonTag
6
6
  import PolylineTag
7
7
  import android.annotation.SuppressLint
8
+ import android.content.ComponentCallbacks2
9
+ import android.content.res.Configuration
8
10
  import android.graphics.Bitmap
9
11
  import android.location.Location
10
12
  import android.util.Size
@@ -105,8 +107,24 @@ class GoogleMapsViewImpl(
105
107
 
106
108
  private var cameraMoveReason = -1
107
109
 
110
+ val componentCallbacks =
111
+ object : ComponentCallbacks2 {
112
+ override fun onConfigurationChanged(newConfig: Configuration) {}
113
+
114
+ override fun onLowMemory() {
115
+ mapView?.onLowMemory()
116
+ markerBuilder.clearIconCache()
117
+ }
118
+
119
+ override fun onTrimMemory(level: Int) {
120
+ mapView?.onLowMemory()
121
+ markerBuilder.cancelAllJobs()
122
+ }
123
+ }
124
+
108
125
  init {
109
126
  MapsInitializer.initialize(reactContext)
127
+ reactContext.registerComponentCallbacks(componentCallbacks)
110
128
  reactContext.addLifecycleEventListener(this)
111
129
  }
112
130
 
@@ -822,6 +840,7 @@ class GoogleMapsViewImpl(
822
840
  removeAllViews()
823
841
  }
824
842
  super.removeAllViews()
843
+ reactContext.unregisterComponentCallbacks(componentCallbacks)
825
844
  reactContext.removeLifecycleEventListener(this)
826
845
  initialized = false
827
846
  }
@@ -45,7 +45,7 @@ class MapMarkerBuilder(
45
45
  private val scope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.Default),
46
46
  ) {
47
47
  private val iconCache =
48
- object : LruCache<Int, BitmapDescriptor>(512) {
48
+ object : LruCache<Int, BitmapDescriptor>(256) {
49
49
  override fun sizeOf(
50
50
  key: Int,
51
51
  value: BitmapDescriptor,
@@ -281,7 +281,7 @@ class MapMarkerBuilder(
281
281
  onReady(desc)
282
282
  }
283
283
  } catch (_: OutOfMemoryError) {
284
- iconCache.evictAll()
284
+ clearIconCache()
285
285
  withContext(Dispatchers.Main) {
286
286
  ensureActive()
287
287
  onReady(null)
@@ -310,6 +310,10 @@ class MapMarkerBuilder(
310
310
  jobsById[id]?.cancel()
311
311
  }
312
312
  jobsById.clear()
313
+ clearIconCache()
314
+ }
315
+
316
+ fun clearIconCache() {
313
317
  iconCache.evictAll()
314
318
  }
315
319
 
@@ -7,6 +7,6 @@ fun RNUserInterfaceStyle?.toMapColorScheme(): Int? =
7
7
  when (this) {
8
8
  RNUserInterfaceStyle.LIGHT -> MapColorScheme.LIGHT
9
9
  RNUserInterfaceStyle.DARK -> MapColorScheme.DARK
10
- RNUserInterfaceStyle.DEFAULT -> MapColorScheme.FOLLOW_SYSTEM
10
+ RNUserInterfaceStyle.SYSTEM -> MapColorScheme.FOLLOW_SYSTEM
11
11
  null -> null
12
12
  }
@@ -42,19 +42,39 @@ GMSIndoorDisplayDelegate {
42
42
  setupAppLifecycleObservers()
43
43
  }
44
44
 
45
+ @MainActor
46
+ private var lifecycleTasks = [Task<Void, Never>]()
47
+
45
48
  @MainActor
46
49
  private func setupAppLifecycleObservers() {
47
- NotificationCenter.default.addObserver(
48
- self,
49
- selector: #selector(appDidBecomeActive),
50
- name: UIApplication.didBecomeActiveNotification,
51
- object: nil
50
+ lifecycleTasks.append(
51
+ Task { @MainActor in
52
+ for await _ in NotificationCenter.default.notifications(
53
+ named: UIApplication.didBecomeActiveNotification
54
+ ) {
55
+ appDidBecomeActive()
56
+ }
57
+ }
58
+ )
59
+
60
+ lifecycleTasks.append(
61
+ Task { @MainActor in
62
+ for await _ in NotificationCenter.default.notifications(
63
+ named: UIApplication.didEnterBackgroundNotification
64
+ ) {
65
+ appDidEnterBackground()
66
+ }
67
+ }
52
68
  )
53
- NotificationCenter.default.addObserver(
54
- self,
55
- selector: #selector(appDidEnterBackground),
56
- name: UIApplication.didEnterBackgroundNotification,
57
- object: nil
69
+
70
+ lifecycleTasks.append(
71
+ Task { @MainActor in
72
+ for await _ in NotificationCenter.default.notifications(
73
+ named: UIApplication.didReceiveMemoryWarningNotification
74
+ ) {
75
+ onLowMemory()
76
+ }
77
+ }
58
78
  )
59
79
  }
60
80
 
@@ -688,16 +708,20 @@ GMSIndoorDisplayDelegate {
688
708
  }
689
709
  }
690
710
 
691
- @objc private func appDidBecomeActive() {
711
+ private func appDidBecomeActive() {
692
712
  if window != nil {
693
713
  locationHandler.start()
694
714
  }
695
715
  }
696
716
 
697
- @objc private func appDidEnterBackground() {
717
+ private func appDidEnterBackground() {
698
718
  locationHandler.stop()
699
719
  }
700
720
 
721
+ private func onLowMemory() {
722
+ markerBuilder.cancelAllIconTasks()
723
+ }
724
+
701
725
  override func didMoveToWindow() {
702
726
  super.didMoveToWindow()
703
727
  if window != nil {
@@ -708,8 +732,9 @@ GMSIndoorDisplayDelegate {
708
732
  }
709
733
 
710
734
  deinit {
711
- NotificationCenter.default.removeObserver(self)
712
735
  deinitInternal()
736
+ lifecycleTasks.forEach { $0.cancel() }
737
+ lifecycleTasks.removeAll()
713
738
  }
714
739
 
715
740
  func mapViewDidFinishTileRendering(_ mapView: GMSMapView) {
@@ -5,7 +5,7 @@ import UIKit
5
5
  final class MapMarkerBuilder {
6
6
  private let iconCache: NSCache<NSNumber, UIImage> = {
7
7
  let c = NSCache<NSNumber, UIImage>()
8
- c.countLimit = 512
8
+ c.countLimit = 256
9
9
  return c
10
10
  }()
11
11
  private var tasks: [String: Task<Void, Never>] = [:]
@@ -205,6 +205,7 @@ final class MapMarkerBuilder {
205
205
  }
206
206
  tasks.removeAll()
207
207
  iconCache.removeAllObjects()
208
+ CATransaction.flush()
208
209
  }
209
210
 
210
211
  @MainActor
@@ -7,7 +7,7 @@ extension RNUserInterfaceStyle {
7
7
  return .light
8
8
  case .dark:
9
9
  return .dark
10
- case .default:
10
+ case .system:
11
11
  return .unspecified
12
12
  @unknown default:
13
13
  return .unspecified
@@ -49,7 +49,7 @@ export type RNMapPadding = {
49
49
  right: number;
50
50
  };
51
51
  export type RNMapType = 'none' | 'normal' | 'hybrid' | 'satellite' | 'terrain';
52
- export type RNUserInterfaceStyle = 'light' | 'dark' | 'default';
52
+ export type RNUserInterfaceStyle = 'light' | 'dark' | 'system';
53
53
  export type RNFeatureType = string;
54
54
  export type RNElementType = string;
55
55
  export type RNVisibility = string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,2BAA2B,CAAC,CAAC;AAExE,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,kBAAkB,CAAC,EAAE,OAAO,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CAAC;IAC3B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,mBAAmB;IAC7B,iBAAiB,IAAI;IACrB,oBAAoB,IAAI;IACxB,OAAO,IAAI;IACX,0BAA0B,IAAI;IAC9B,sBAAsB,IAAI;IAC1B,cAAc,KAAK;CACpB;AAED,oBAAY,cAAc;IACxB,qBAAqB,IAAI;IACzB,qBAAqB,IAAI;IACzB,sBAAsB,IAAI;IAC1B,sBAAsB,IAAI;IAC1B,6BAA6B,IAAI;IACjC,qBAAqB,IAAI;IACzB,OAAO,IAAI;CACZ"}
@@ -43,15 +43,15 @@ namespace margelo::nitro::rngooglemapsplus {
43
43
  static const auto clazz = javaClassStatic();
44
44
  static const auto fieldLIGHT = clazz->getStaticField<JRNUserInterfaceStyle>("LIGHT");
45
45
  static const auto fieldDARK = clazz->getStaticField<JRNUserInterfaceStyle>("DARK");
46
- static const auto fieldDEFAULT = clazz->getStaticField<JRNUserInterfaceStyle>("DEFAULT");
46
+ static const auto fieldSYSTEM = clazz->getStaticField<JRNUserInterfaceStyle>("SYSTEM");
47
47
 
48
48
  switch (value) {
49
49
  case RNUserInterfaceStyle::LIGHT:
50
50
  return clazz->getStaticFieldValue(fieldLIGHT);
51
51
  case RNUserInterfaceStyle::DARK:
52
52
  return clazz->getStaticFieldValue(fieldDARK);
53
- case RNUserInterfaceStyle::DEFAULT:
54
- return clazz->getStaticFieldValue(fieldDEFAULT);
53
+ case RNUserInterfaceStyle::SYSTEM:
54
+ return clazz->getStaticFieldValue(fieldSYSTEM);
55
55
  default:
56
56
  std::string stringValue = std::to_string(static_cast<int>(value));
57
57
  throw std::invalid_argument("Invalid enum value (" + stringValue + "!");
@@ -18,5 +18,5 @@ import com.facebook.proguard.annotations.DoNotStrip
18
18
  enum class RNUserInterfaceStyle(@DoNotStrip @Keep val value: Int) {
19
19
  LIGHT(0),
20
20
  DARK(1),
21
- DEFAULT(2);
21
+ SYSTEM(2);
22
22
  }
@@ -21,8 +21,8 @@ public extension RNUserInterfaceStyle {
21
21
  self = .light
22
22
  case "dark":
23
23
  self = .dark
24
- case "default":
25
- self = .default
24
+ case "system":
25
+ self = .system
26
26
  default:
27
27
  return nil
28
28
  }
@@ -37,8 +37,8 @@ public extension RNUserInterfaceStyle {
37
37
  return "light"
38
38
  case .dark:
39
39
  return "dark"
40
- case .default:
41
- return "default"
40
+ case .system:
41
+ return "system"
42
42
  }
43
43
  }
44
44
  }
@@ -31,7 +31,7 @@ namespace margelo::nitro::rngooglemapsplus {
31
31
  enum class RNUserInterfaceStyle {
32
32
  LIGHT SWIFT_NAME(light) = 0,
33
33
  DARK SWIFT_NAME(dark) = 1,
34
- DEFAULT SWIFT_NAME(default) = 2,
34
+ SYSTEM SWIFT_NAME(system) = 2,
35
35
  } CLOSED_ENUM;
36
36
 
37
37
  } // namespace margelo::nitro::rngooglemapsplus
@@ -46,7 +46,7 @@ namespace margelo::nitro {
46
46
  switch (hashString(unionValue.c_str(), unionValue.size())) {
47
47
  case hashString("light"): return margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::LIGHT;
48
48
  case hashString("dark"): return margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::DARK;
49
- case hashString("default"): return margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::DEFAULT;
49
+ case hashString("system"): return margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::SYSTEM;
50
50
  default: [[unlikely]]
51
51
  throw std::invalid_argument("Cannot convert \"" + unionValue + "\" to enum RNUserInterfaceStyle - invalid value!");
52
52
  }
@@ -55,7 +55,7 @@ namespace margelo::nitro {
55
55
  switch (arg) {
56
56
  case margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::LIGHT: return JSIConverter<std::string>::toJSI(runtime, "light");
57
57
  case margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::DARK: return JSIConverter<std::string>::toJSI(runtime, "dark");
58
- case margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::DEFAULT: return JSIConverter<std::string>::toJSI(runtime, "default");
58
+ case margelo::nitro::rngooglemapsplus::RNUserInterfaceStyle::SYSTEM: return JSIConverter<std::string>::toJSI(runtime, "system");
59
59
  default: [[unlikely]]
60
60
  throw std::invalid_argument("Cannot convert RNUserInterfaceStyle to JS - invalid value: "
61
61
  + std::to_string(static_cast<int>(arg)) + "!");
@@ -69,7 +69,7 @@ namespace margelo::nitro {
69
69
  switch (hashString(unionValue.c_str(), unionValue.size())) {
70
70
  case hashString("light"):
71
71
  case hashString("dark"):
72
- case hashString("default"):
72
+ case hashString("system"):
73
73
  return true;
74
74
  default:
75
75
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-google-maps-plus",
3
- "version": "1.8.4-dev.1",
3
+ "version": "1.8.4-dev.3",
4
4
  "description": "React Native wrapper for Android & iOS Google Maps SDK",
5
5
  "main": "./lib/module/index.js",
6
6
  "module": "./lib/module/index.js",
@@ -80,9 +80,9 @@
80
80
  "devDependencies": {
81
81
  "@commitlint/cli": "20.1.0",
82
82
  "@commitlint/config-conventional": "20.0.0",
83
- "@eslint/compat": "1.4.0",
83
+ "@eslint/compat": "1.4.1",
84
84
  "@eslint/eslintrc": "3.3.1",
85
- "@eslint/js": "9.38.0",
85
+ "@eslint/js": "9.39.1",
86
86
  "@expo/config-plugins": "54.0.2",
87
87
  "@jamesacarr/eslint-formatter-github-actions": "0.2.0",
88
88
  "@react-native/babel-preset": "0.82.1",
@@ -95,17 +95,17 @@
95
95
  "clang-format-node": "2.0.3",
96
96
  "conventional-changelog-conventionalcommits": "9.1.0",
97
97
  "del-cli": "7.0.0",
98
- "eslint": "9.38.0",
98
+ "eslint": "9.39.1",
99
99
  "eslint-config-prettier": "10.1.8",
100
100
  "eslint-plugin-ft-flow": "3.0.11",
101
101
  "eslint-plugin-prettier": "5.5.4",
102
102
  "jest": "30.2.0",
103
- "lefthook": "2.0.0",
103
+ "lefthook": "2.0.2",
104
104
  "nitrogen": "0.30.2",
105
105
  "prettier": "3.6.2",
106
106
  "react": "19.1.1",
107
107
  "react-native": "0.82.1",
108
- "react-native-builder-bob": "0.40.13",
108
+ "react-native-builder-bob": "0.40.14",
109
109
  "react-native-nitro-modules": "0.30.2",
110
110
  "semantic-release": "25.0.1",
111
111
  "typescript": "5.9.3"
package/src/types.ts CHANGED
@@ -61,7 +61,7 @@ export type RNMapPadding = {
61
61
 
62
62
  export type RNMapType = 'none' | 'normal' | 'hybrid' | 'satellite' | 'terrain';
63
63
 
64
- export type RNUserInterfaceStyle = 'light' | 'dark' | 'default';
64
+ export type RNUserInterfaceStyle = 'light' | 'dark' | 'system';
65
65
 
66
66
  export type RNFeatureType = string;
67
67