react-native-google-maps-plus 1.0.1 → 1.0.2

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.
Files changed (179) hide show
  1. package/{GoogleMapsNitro.podspec → RNGoogleMapsPlus.podspec} +2 -2
  2. package/android/CMakeLists.txt +3 -3
  3. package/android/build.gradle +4 -4
  4. package/android/gradle.properties +8 -8
  5. package/android/src/main/cpp/cpp-adapter.cpp +2 -2
  6. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/Color.kt +1 -1
  7. package/android/src/main/java/com/{googlemapsnitro/GoogleMapsNitroViewImpl.kt → rngooglemapsplus/GoogleMapsViewImpl.kt} +7 -7
  8. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/LocationHandler.kt +1 -1
  9. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/MapMarker.kt +1 -1
  10. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/MapPolygon.kt +1 -1
  11. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/MapPolyline.kt +1 -1
  12. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/PermissionHandler.kt +1 -1
  13. package/android/src/main/java/com/{googlemapsnitro → rngooglemapsplus}/PlayServicesHandler.kt +1 -1
  14. package/android/src/main/java/com/{googlemapsnitro/HybridGoogleMapsNitroModule.kt → rngooglemapsplus/RNGoogleMapsPlusModule.kt} +3 -3
  15. package/android/src/main/java/com/{googlemapsnitro/GoogleMapsNitroPackage.kt → rngooglemapsplus/RNGoogleMapsPlusPackage.kt} +6 -6
  16. package/android/src/main/java/com/{googlemapsnitro/HybridGoogleMapsNitroView.kt → rngooglemapsplus/RNGoogleMapsPlusView.kt} +4 -4
  17. package/ios/{GoogleMapNitroViewImpl.swift → GoogleMapViewImpl.swift} +1 -1
  18. package/ios/{HybridGoogleMapsNitroModule.swift → RNGoogleMapsPlusModule.swift} +1 -1
  19. package/ios/{HybridGoogleMapsNitroView.swift → RNGoogleMapsPlusView.swift} +3 -3
  20. package/lib/module/RNGoogleMapsPlusModule.nitro.js +4 -0
  21. package/lib/module/RNGoogleMapsPlusModule.nitro.js.map +1 -0
  22. package/lib/module/RNGoogleMapsPlusView.nitro.js +4 -0
  23. package/lib/module/RNGoogleMapsPlusView.nitro.js.map +1 -0
  24. package/lib/module/index.js +3 -3
  25. package/lib/module/index.js.map +1 -1
  26. package/lib/typescript/src/{GoogleMapsNitroModule.nitro.d.ts → RNGoogleMapsPlusModule.nitro.d.ts} +2 -2
  27. package/lib/typescript/src/RNGoogleMapsPlusModule.nitro.d.ts.map +1 -0
  28. package/lib/typescript/src/{GoogleMapsNitroView.nitro.d.ts → RNGoogleMapsPlusView.nitro.d.ts} +4 -4
  29. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -0
  30. package/lib/typescript/src/index.d.ts +5 -5
  31. package/lib/typescript/src/index.d.ts.map +1 -1
  32. package/lib/typescript/src/types.d.ts +2 -2
  33. package/lib/typescript/src/types.d.ts.map +1 -1
  34. package/nitro.json +11 -11
  35. package/nitrogen/generated/android/{GoogleMapsNitro+autolinking.cmake → RNGoogleMapsPlus+autolinking.cmake} +15 -15
  36. package/nitrogen/generated/android/{GoogleMapsNitro+autolinking.gradle → RNGoogleMapsPlus+autolinking.gradle} +3 -3
  37. package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +70 -0
  38. package/nitrogen/generated/android/{GoogleMapsNitroOnLoad.hpp → RNGoogleMapsPlusOnLoad.hpp} +5 -5
  39. package/nitrogen/generated/android/c++/JFunc_void_RNLatLng.hpp +4 -4
  40. package/nitrogen/generated/android/c++/JFunc_void_RNLocation.hpp +4 -4
  41. package/nitrogen/generated/android/c++/JFunc_void_RNLocationErrorCode.hpp +4 -4
  42. package/nitrogen/generated/android/c++/JFunc_void_RNMapErrorCode.hpp +4 -4
  43. package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +4 -4
  44. package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +4 -4
  45. package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +4 -4
  46. package/nitrogen/generated/android/c++/{JHybridGoogleMapsNitroModuleSpec.cpp → JHybridRNGoogleMapsPlusModuleSpec.cpp} +16 -16
  47. package/nitrogen/generated/android/c++/{JHybridGoogleMapsNitroModuleSpec.hpp → JHybridRNGoogleMapsPlusModuleSpec.hpp} +12 -12
  48. package/nitrogen/generated/android/c++/{JHybridGoogleMapsNitroViewSpec.cpp → JHybridRNGoogleMapsPlusViewSpec.cpp} +72 -72
  49. package/nitrogen/generated/android/c++/{JHybridGoogleMapsNitroViewSpec.hpp → JHybridRNGoogleMapsPlusViewSpec.hpp} +12 -12
  50. package/nitrogen/generated/android/c++/JRNAndroidLocationPermissionResult.hpp +3 -3
  51. package/nitrogen/generated/android/c++/JRNCamera.hpp +3 -3
  52. package/nitrogen/generated/android/c++/JRNIOSPermissionResult.hpp +3 -3
  53. package/nitrogen/generated/android/c++/JRNLatLng.hpp +3 -3
  54. package/nitrogen/generated/android/c++/JRNLineCapType.hpp +3 -3
  55. package/nitrogen/generated/android/c++/JRNLineJoinType.hpp +3 -3
  56. package/nitrogen/generated/android/c++/JRNLocation.hpp +3 -3
  57. package/nitrogen/generated/android/c++/JRNLocationErrorCode.hpp +3 -3
  58. package/nitrogen/generated/android/c++/JRNLocationPermissionResult.hpp +3 -3
  59. package/nitrogen/generated/android/c++/JRNMapErrorCode.hpp +3 -3
  60. package/nitrogen/generated/android/c++/JRNMapPadding.hpp +3 -3
  61. package/nitrogen/generated/android/c++/JRNMarker.hpp +3 -3
  62. package/nitrogen/generated/android/c++/JRNPolygon.hpp +3 -3
  63. package/nitrogen/generated/android/c++/JRNPolyline.hpp +3 -3
  64. package/nitrogen/generated/android/c++/JRNPosition.hpp +3 -3
  65. package/nitrogen/generated/android/c++/JRNRegion.hpp +3 -3
  66. package/nitrogen/generated/android/c++/JRNUserInterfaceStyle.hpp +3 -3
  67. package/nitrogen/generated/android/c++/views/{JHybridGoogleMapsNitroViewStateUpdater.cpp → JHybridRNGoogleMapsPlusViewStateUpdater.cpp} +14 -14
  68. package/nitrogen/generated/android/c++/views/{JHybridGoogleMapsNitroViewStateUpdater.hpp → JHybridRNGoogleMapsPlusViewStateUpdater.hpp} +11 -11
  69. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_RNLatLng.kt +1 -1
  70. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_RNLocation.kt +1 -1
  71. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_RNLocationErrorCode.kt +1 -1
  72. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_RNMapErrorCode.kt +1 -1
  73. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_RNRegion_RNCamera_bool.kt +1 -1
  74. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_bool.kt +1 -1
  75. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/Func_void_std__string.kt +1 -1
  76. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro/HybridGoogleMapsNitroModuleSpec.kt → rngooglemapsplus/HybridRNGoogleMapsPlusModuleSpec.kt} +6 -6
  77. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro/HybridGoogleMapsNitroViewSpec.kt → rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt} +6 -6
  78. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNAndroidLocationPermissionResult.kt +1 -1
  79. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNCamera.kt +1 -1
  80. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro/GoogleMapsNitroOnLoad.kt → rngooglemapsplus/RNGoogleMapsPlusOnLoad.kt} +9 -9
  81. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNIOSPermissionResult.kt +1 -1
  82. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNLatLng.kt +1 -1
  83. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNLineCapType.kt +1 -1
  84. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNLineJoinType.kt +1 -1
  85. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNLocation.kt +1 -1
  86. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNLocationErrorCode.kt +1 -1
  87. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNLocationPermissionResult.kt +1 -1
  88. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNMapErrorCode.kt +1 -1
  89. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNMapPadding.kt +1 -1
  90. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNMarker.kt +1 -1
  91. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNPolygon.kt +1 -1
  92. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNPolyline.kt +1 -1
  93. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNPosition.kt +1 -1
  94. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNRegion.kt +1 -1
  95. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro → rngooglemapsplus}/RNUserInterfaceStyle.kt +1 -1
  96. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro/views/HybridGoogleMapsNitroViewManager.kt → rngooglemapsplus/views/HybridRNGoogleMapsPlusViewManager.kt} +9 -9
  97. package/nitrogen/generated/android/kotlin/com/margelo/nitro/{googlemapsnitro/views/HybridGoogleMapsNitroViewStateUpdater.kt → rngooglemapsplus/views/HybridRNGoogleMapsPlusViewStateUpdater.kt} +5 -5
  98. package/nitrogen/generated/ios/{GoogleMapsNitro+autolinking.rb → RNGoogleMapsPlus+autolinking.rb} +4 -4
  99. package/nitrogen/generated/ios/{GoogleMapsNitro-Swift-Cxx-Bridge.cpp → RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp} +32 -32
  100. package/nitrogen/generated/ios/{GoogleMapsNitro-Swift-Cxx-Bridge.hpp → RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp} +45 -45
  101. package/nitrogen/generated/ios/{GoogleMapsNitro-Swift-Cxx-Umbrella.hpp → RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp} +35 -35
  102. package/nitrogen/generated/ios/RNGoogleMapsPlusAutolinking.mm +41 -0
  103. package/nitrogen/generated/ios/{GoogleMapsNitroAutolinking.swift → RNGoogleMapsPlusAutolinking.swift} +15 -15
  104. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.cpp +11 -0
  105. package/nitrogen/generated/ios/c++/{HybridGoogleMapsNitroModuleSpecSwift.hpp → HybridRNGoogleMapsPlusModuleSpecSwift.hpp} +18 -18
  106. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.cpp +11 -0
  107. package/nitrogen/generated/ios/c++/{HybridGoogleMapsNitroViewSpecSwift.hpp → HybridRNGoogleMapsPlusViewSpecSwift.hpp} +32 -32
  108. package/nitrogen/generated/ios/c++/views/{HybridGoogleMapsNitroViewComponent.mm → HybridRNGoogleMapsPlusViewComponent.mm} +18 -18
  109. package/nitrogen/generated/ios/swift/Func_void_RNLatLng.swift +1 -1
  110. package/nitrogen/generated/ios/swift/Func_void_RNLocation.swift +1 -1
  111. package/nitrogen/generated/ios/swift/Func_void_RNLocationErrorCode.swift +2 -2
  112. package/nitrogen/generated/ios/swift/Func_void_RNLocationPermissionResult.swift +1 -1
  113. package/nitrogen/generated/ios/swift/Func_void_RNMapErrorCode.swift +2 -2
  114. package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera_bool.swift +1 -1
  115. package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -1
  116. package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -1
  117. package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -1
  118. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +52 -0
  119. package/nitrogen/generated/ios/swift/{HybridGoogleMapsNitroModuleSpec_cxx.swift → HybridRNGoogleMapsPlusModuleSpec_cxx.swift} +21 -21
  120. package/nitrogen/generated/ios/swift/{HybridGoogleMapsNitroViewSpec.swift → HybridRNGoogleMapsPlusViewSpec.swift} +14 -14
  121. package/nitrogen/generated/ios/swift/{HybridGoogleMapsNitroViewSpec_cxx.swift → HybridRNGoogleMapsPlusViewSpec_cxx.swift} +22 -22
  122. package/nitrogen/generated/ios/swift/RNAndroidLocationPermissionResult.swift +1 -1
  123. package/nitrogen/generated/ios/swift/RNCamera.swift +2 -2
  124. package/nitrogen/generated/ios/swift/RNIOSPermissionResult.swift +1 -1
  125. package/nitrogen/generated/ios/swift/RNLatLng.swift +2 -2
  126. package/nitrogen/generated/ios/swift/RNLineCapType.swift +1 -1
  127. package/nitrogen/generated/ios/swift/RNLineJoinType.swift +1 -1
  128. package/nitrogen/generated/ios/swift/RNLocation.swift +2 -2
  129. package/nitrogen/generated/ios/swift/RNLocationErrorCode.swift +1 -1
  130. package/nitrogen/generated/ios/swift/RNLocationPermissionResult.swift +2 -2
  131. package/nitrogen/generated/ios/swift/RNMapErrorCode.swift +1 -1
  132. package/nitrogen/generated/ios/swift/RNMapPadding.swift +2 -2
  133. package/nitrogen/generated/ios/swift/RNMarker.swift +2 -2
  134. package/nitrogen/generated/ios/swift/RNPolygon.swift +2 -2
  135. package/nitrogen/generated/ios/swift/RNPolyline.swift +2 -2
  136. package/nitrogen/generated/ios/swift/RNPosition.swift +2 -2
  137. package/nitrogen/generated/ios/swift/RNRegion.swift +2 -2
  138. package/nitrogen/generated/ios/swift/RNUserInterfaceStyle.swift +1 -1
  139. package/nitrogen/generated/shared/c++/{HybridGoogleMapsNitroModuleSpec.cpp → HybridRNGoogleMapsPlusModuleSpec.cpp} +9 -9
  140. package/nitrogen/generated/shared/c++/{HybridGoogleMapsNitroModuleSpec.hpp → HybridRNGoogleMapsPlusModuleSpec.hpp} +12 -12
  141. package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +66 -0
  142. package/nitrogen/generated/shared/c++/{HybridGoogleMapsNitroViewSpec.hpp → HybridRNGoogleMapsPlusViewSpec.hpp} +23 -23
  143. package/nitrogen/generated/shared/c++/RNAndroidLocationPermissionResult.hpp +6 -6
  144. package/nitrogen/generated/shared/c++/RNCamera.hpp +10 -10
  145. package/nitrogen/generated/shared/c++/RNIOSPermissionResult.hpp +6 -6
  146. package/nitrogen/generated/shared/c++/RNLatLng.hpp +6 -6
  147. package/nitrogen/generated/shared/c++/RNLineCapType.hpp +11 -11
  148. package/nitrogen/generated/shared/c++/RNLineJoinType.hpp +11 -11
  149. package/nitrogen/generated/shared/c++/RNLocation.hpp +10 -10
  150. package/nitrogen/generated/shared/c++/RNLocationErrorCode.hpp +6 -6
  151. package/nitrogen/generated/shared/c++/RNLocationPermissionResult.hpp +14 -14
  152. package/nitrogen/generated/shared/c++/RNMapErrorCode.hpp +6 -6
  153. package/nitrogen/generated/shared/c++/RNMapPadding.hpp +6 -6
  154. package/nitrogen/generated/shared/c++/RNMarker.hpp +14 -14
  155. package/nitrogen/generated/shared/c++/RNPolygon.hpp +10 -10
  156. package/nitrogen/generated/shared/c++/RNPolyline.hpp +18 -18
  157. package/nitrogen/generated/shared/c++/RNPosition.hpp +6 -6
  158. package/nitrogen/generated/shared/c++/RNRegion.hpp +10 -10
  159. package/nitrogen/generated/shared/c++/RNUserInterfaceStyle.hpp +11 -11
  160. package/nitrogen/generated/shared/c++/views/{HybridGoogleMapsNitroViewComponent.cpp → HybridRNGoogleMapsPlusViewComponent.cpp} +42 -42
  161. package/nitrogen/generated/shared/c++/views/{HybridGoogleMapsNitroViewComponent.hpp → HybridRNGoogleMapsPlusViewComponent.hpp} +32 -32
  162. package/nitrogen/generated/shared/json/{GoogleMapsNitroViewConfig.json → RNGoogleMapsPlusViewConfig.json} +1 -1
  163. package/package.json +9 -3
  164. package/src/{GoogleMapsNitroModule.nitro.ts → RNGoogleMapsPlusModule.nitro.ts} +1 -1
  165. package/src/{GoogleMapsNitroView.nitro.ts → RNGoogleMapsPlusView.nitro.ts} +5 -5
  166. package/src/index.tsx +11 -11
  167. package/src/types.ts +2 -2
  168. package/lib/module/GoogleMapsNitroModule.nitro.js +0 -4
  169. package/lib/module/GoogleMapsNitroModule.nitro.js.map +0 -1
  170. package/lib/module/GoogleMapsNitroView.nitro.js +0 -4
  171. package/lib/module/GoogleMapsNitroView.nitro.js.map +0 -1
  172. package/lib/typescript/src/GoogleMapsNitroModule.nitro.d.ts.map +0 -1
  173. package/lib/typescript/src/GoogleMapsNitroView.nitro.d.ts.map +0 -1
  174. package/nitrogen/generated/android/GoogleMapsNitroOnLoad.cpp +0 -70
  175. package/nitrogen/generated/ios/GoogleMapsNitroAutolinking.mm +0 -41
  176. package/nitrogen/generated/ios/c++/HybridGoogleMapsNitroModuleSpecSwift.cpp +0 -11
  177. package/nitrogen/generated/ios/c++/HybridGoogleMapsNitroViewSpecSwift.cpp +0 -11
  178. package/nitrogen/generated/ios/swift/HybridGoogleMapsNitroModuleSpec.swift +0 -52
  179. package/nitrogen/generated/shared/c++/HybridGoogleMapsNitroViewSpec.cpp +0 -66
@@ -1,5 +1,5 @@
1
1
  ///
2
- /// GoogleMapsNitro-Swift-Cxx-Umbrella.hpp
2
+ /// RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
5
  /// Copyright © 2025 Marc Rousavy @ Margelo
@@ -8,48 +8,48 @@
8
8
  #pragma once
9
9
 
10
10
  // Forward declarations of C++ defined types
11
- // Forward declaration of `HybridGoogleMapsNitroModuleSpec` to properly resolve imports.
12
- namespace margelo::nitro::googlemapsnitro { class HybridGoogleMapsNitroModuleSpec; }
13
- // Forward declaration of `HybridGoogleMapsNitroViewSpec` to properly resolve imports.
14
- namespace margelo::nitro::googlemapsnitro { class HybridGoogleMapsNitroViewSpec; }
11
+ // Forward declaration of `HybridRNGoogleMapsPlusModuleSpec` to properly resolve imports.
12
+ namespace margelo::nitro::rngooglemapsplus { class HybridRNGoogleMapsPlusModuleSpec; }
13
+ // Forward declaration of `HybridRNGoogleMapsPlusViewSpec` to properly resolve imports.
14
+ namespace margelo::nitro::rngooglemapsplus { class HybridRNGoogleMapsPlusViewSpec; }
15
15
  // Forward declaration of `RNAndroidLocationPermissionResult` to properly resolve imports.
16
- namespace margelo::nitro::googlemapsnitro { enum class RNAndroidLocationPermissionResult; }
16
+ namespace margelo::nitro::rngooglemapsplus { enum class RNAndroidLocationPermissionResult; }
17
17
  // Forward declaration of `RNCamera` to properly resolve imports.
18
- namespace margelo::nitro::googlemapsnitro { struct RNCamera; }
18
+ namespace margelo::nitro::rngooglemapsplus { struct RNCamera; }
19
19
  // Forward declaration of `RNIOSPermissionResult` to properly resolve imports.
20
- namespace margelo::nitro::googlemapsnitro { enum class RNIOSPermissionResult; }
20
+ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
21
21
  // Forward declaration of `RNLatLng` to properly resolve imports.
22
- namespace margelo::nitro::googlemapsnitro { struct RNLatLng; }
22
+ namespace margelo::nitro::rngooglemapsplus { struct RNLatLng; }
23
23
  // Forward declaration of `RNLineCapType` to properly resolve imports.
24
- namespace margelo::nitro::googlemapsnitro { enum class RNLineCapType; }
24
+ namespace margelo::nitro::rngooglemapsplus { enum class RNLineCapType; }
25
25
  // Forward declaration of `RNLineJoinType` to properly resolve imports.
26
- namespace margelo::nitro::googlemapsnitro { enum class RNLineJoinType; }
26
+ namespace margelo::nitro::rngooglemapsplus { enum class RNLineJoinType; }
27
27
  // Forward declaration of `RNLocationErrorCode` to properly resolve imports.
28
- namespace margelo::nitro::googlemapsnitro { enum class RNLocationErrorCode; }
28
+ namespace margelo::nitro::rngooglemapsplus { enum class RNLocationErrorCode; }
29
29
  // Forward declaration of `RNLocationPermissionResult` to properly resolve imports.
30
- namespace margelo::nitro::googlemapsnitro { struct RNLocationPermissionResult; }
30
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationPermissionResult; }
31
31
  // Forward declaration of `RNLocation` to properly resolve imports.
32
- namespace margelo::nitro::googlemapsnitro { struct RNLocation; }
32
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocation; }
33
33
  // Forward declaration of `RNMapErrorCode` to properly resolve imports.
34
- namespace margelo::nitro::googlemapsnitro { enum class RNMapErrorCode; }
34
+ namespace margelo::nitro::rngooglemapsplus { enum class RNMapErrorCode; }
35
35
  // Forward declaration of `RNMapPadding` to properly resolve imports.
36
- namespace margelo::nitro::googlemapsnitro { struct RNMapPadding; }
36
+ namespace margelo::nitro::rngooglemapsplus { struct RNMapPadding; }
37
37
  // Forward declaration of `RNMarker` to properly resolve imports.
38
- namespace margelo::nitro::googlemapsnitro { struct RNMarker; }
38
+ namespace margelo::nitro::rngooglemapsplus { struct RNMarker; }
39
39
  // Forward declaration of `RNPolygon` to properly resolve imports.
40
- namespace margelo::nitro::googlemapsnitro { struct RNPolygon; }
40
+ namespace margelo::nitro::rngooglemapsplus { struct RNPolygon; }
41
41
  // Forward declaration of `RNPolyline` to properly resolve imports.
42
- namespace margelo::nitro::googlemapsnitro { struct RNPolyline; }
42
+ namespace margelo::nitro::rngooglemapsplus { struct RNPolyline; }
43
43
  // Forward declaration of `RNPosition` to properly resolve imports.
44
- namespace margelo::nitro::googlemapsnitro { struct RNPosition; }
44
+ namespace margelo::nitro::rngooglemapsplus { struct RNPosition; }
45
45
  // Forward declaration of `RNRegion` to properly resolve imports.
46
- namespace margelo::nitro::googlemapsnitro { struct RNRegion; }
46
+ namespace margelo::nitro::rngooglemapsplus { struct RNRegion; }
47
47
  // Forward declaration of `RNUserInterfaceStyle` to properly resolve imports.
48
- namespace margelo::nitro::googlemapsnitro { enum class RNUserInterfaceStyle; }
48
+ namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
49
49
 
50
50
  // Include C++ defined types
51
- #include "HybridGoogleMapsNitroModuleSpec.hpp"
52
- #include "HybridGoogleMapsNitroViewSpec.hpp"
51
+ #include "HybridRNGoogleMapsPlusModuleSpec.hpp"
52
+ #include "HybridRNGoogleMapsPlusViewSpec.hpp"
53
53
  #include "RNAndroidLocationPermissionResult.hpp"
54
54
  #include "RNCamera.hpp"
55
55
  #include "RNIOSPermissionResult.hpp"
@@ -77,7 +77,7 @@ namespace margelo::nitro::googlemapsnitro { enum class RNUserInterfaceStyle; }
77
77
  #include <vector>
78
78
 
79
79
  // C++ helpers for Swift
80
- #include "GoogleMapsNitro-Swift-Cxx-Bridge.hpp"
80
+ #include "RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp"
81
81
 
82
82
  // Common C++ types used in Swift
83
83
  #include <NitroModules/ArrayBufferHolder.hpp>
@@ -86,19 +86,19 @@ namespace margelo::nitro::googlemapsnitro { enum class RNUserInterfaceStyle; }
86
86
  #include <NitroModules/DateToChronoDate.hpp>
87
87
 
88
88
  // Forward declarations of Swift defined types
89
- // Forward declaration of `HybridGoogleMapsNitroModuleSpec_cxx` to properly resolve imports.
90
- namespace GoogleMapsNitro { class HybridGoogleMapsNitroModuleSpec_cxx; }
91
- // Forward declaration of `HybridGoogleMapsNitroViewSpec_cxx` to properly resolve imports.
92
- namespace GoogleMapsNitro { class HybridGoogleMapsNitroViewSpec_cxx; }
89
+ // Forward declaration of `HybridRNGoogleMapsPlusModuleSpec_cxx` to properly resolve imports.
90
+ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusModuleSpec_cxx; }
91
+ // Forward declaration of `HybridRNGoogleMapsPlusViewSpec_cxx` to properly resolve imports.
92
+ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
93
93
 
94
94
  // Include Swift defined types
95
- #if __has_include("GoogleMapsNitro-Swift.h")
95
+ #if __has_include("RNGoogleMapsPlus-Swift.h")
96
96
  // This header is generated by Xcode/Swift on every app build.
97
- // If it cannot be found, make sure the Swift module's name (= podspec name) is actually "GoogleMapsNitro".
98
- #include "GoogleMapsNitro-Swift.h"
97
+ // If it cannot be found, make sure the Swift module's name (= podspec name) is actually "RNGoogleMapsPlus".
98
+ #include "RNGoogleMapsPlus-Swift.h"
99
99
  // Same as above, but used when building with frameworks (`use_frameworks`)
100
- #elif __has_include(<GoogleMapsNitro/GoogleMapsNitro-Swift.h>)
101
- #include <GoogleMapsNitro/GoogleMapsNitro-Swift.h>
100
+ #elif __has_include(<RNGoogleMapsPlus/RNGoogleMapsPlus-Swift.h>)
101
+ #include <RNGoogleMapsPlus/RNGoogleMapsPlus-Swift.h>
102
102
  #else
103
- #error GoogleMapsNitro's autogenerated Swift header cannot be found! Make sure the Swift module's name (= podspec name) is actually "GoogleMapsNitro", and try building the app first.
103
+ #error RNGoogleMapsPlus's autogenerated Swift header cannot be found! Make sure the Swift module's name (= podspec name) is actually "RNGoogleMapsPlus", and try building the app first.
104
104
  #endif
@@ -0,0 +1,41 @@
1
+ ///
2
+ /// RNGoogleMapsPlusAutolinking.mm
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ #import <Foundation/Foundation.h>
9
+ #import <NitroModules/HybridObjectRegistry.hpp>
10
+ #import "RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp"
11
+ #import <type_traits>
12
+
13
+ #include "HybridRNGoogleMapsPlusViewSpecSwift.hpp"
14
+ #include "HybridRNGoogleMapsPlusModuleSpecSwift.hpp"
15
+
16
+ @interface RNGoogleMapsPlusAutolinking : NSObject
17
+ @end
18
+
19
+ @implementation RNGoogleMapsPlusAutolinking
20
+
21
+ + (void) load {
22
+ using namespace margelo::nitro;
23
+ using namespace margelo::nitro::rngooglemapsplus;
24
+
25
+ HybridObjectRegistry::registerHybridObjectConstructor(
26
+ "RNGoogleMapsPlusView",
27
+ []() -> std::shared_ptr<HybridObject> {
28
+ std::shared_ptr<HybridRNGoogleMapsPlusViewSpec> hybridObject = RNGoogleMapsPlus::RNGoogleMapsPlusAutolinking::createRNGoogleMapsPlusView();
29
+ return hybridObject;
30
+ }
31
+ );
32
+ HybridObjectRegistry::registerHybridObjectConstructor(
33
+ "RNGoogleMapsPlusModule",
34
+ []() -> std::shared_ptr<HybridObject> {
35
+ std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec> hybridObject = RNGoogleMapsPlus::RNGoogleMapsPlusAutolinking::createRNGoogleMapsPlusModule();
36
+ return hybridObject;
37
+ }
38
+ );
39
+ }
40
+
41
+ @end
@@ -1,38 +1,38 @@
1
1
  ///
2
- /// GoogleMapsNitroAutolinking.swift
2
+ /// RNGoogleMapsPlusAutolinking.swift
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
5
  /// Copyright © 2025 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
- public final class GoogleMapsNitroAutolinking {
9
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
8
+ public final class RNGoogleMapsPlusAutolinking {
9
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
10
10
 
11
11
  /**
12
- * Creates an instance of a Swift class that implements `HybridGoogleMapsNitroViewSpec`,
13
- * and wraps it in a Swift class that can directly interop with C++ (`HybridGoogleMapsNitroViewSpec_cxx`)
12
+ * Creates an instance of a Swift class that implements `HybridRNGoogleMapsPlusViewSpec`,
13
+ * and wraps it in a Swift class that can directly interop with C++ (`HybridRNGoogleMapsPlusViewSpec_cxx`)
14
14
  *
15
15
  * This is generated by Nitrogen and will initialize the class specified
16
- * in the `"autolinking"` property of `nitro.json` (in this case, `HybridGoogleMapsNitroView`).
16
+ * in the `"autolinking"` property of `nitro.json` (in this case, `RNGoogleMapsPlusView`).
17
17
  */
18
- public static func createGoogleMapsNitroView() -> bridge.std__shared_ptr_HybridGoogleMapsNitroViewSpec_ {
19
- let hybridObject = HybridGoogleMapsNitroView()
20
- return { () -> bridge.std__shared_ptr_HybridGoogleMapsNitroViewSpec_ in
18
+ public static func createRNGoogleMapsPlusView() -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ {
19
+ let hybridObject = RNGoogleMapsPlusView()
20
+ return { () -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ in
21
21
  let __cxxWrapped = hybridObject.getCxxWrapper()
22
22
  return __cxxWrapped.getCxxPart()
23
23
  }()
24
24
  }
25
25
 
26
26
  /**
27
- * Creates an instance of a Swift class that implements `HybridGoogleMapsNitroModuleSpec`,
28
- * and wraps it in a Swift class that can directly interop with C++ (`HybridGoogleMapsNitroModuleSpec_cxx`)
27
+ * Creates an instance of a Swift class that implements `HybridRNGoogleMapsPlusModuleSpec`,
28
+ * and wraps it in a Swift class that can directly interop with C++ (`HybridRNGoogleMapsPlusModuleSpec_cxx`)
29
29
  *
30
30
  * This is generated by Nitrogen and will initialize the class specified
31
- * in the `"autolinking"` property of `nitro.json` (in this case, `HybridGoogleMapsNitroModule`).
31
+ * in the `"autolinking"` property of `nitro.json` (in this case, `RNGoogleMapsPlusModule`).
32
32
  */
33
- public static func createGoogleMapsNitroModule() -> bridge.std__shared_ptr_HybridGoogleMapsNitroModuleSpec_ {
34
- let hybridObject = HybridGoogleMapsNitroModule()
35
- return { () -> bridge.std__shared_ptr_HybridGoogleMapsNitroModuleSpec_ in
33
+ public static func createRNGoogleMapsPlusModule() -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ {
34
+ let hybridObject = RNGoogleMapsPlusModule()
35
+ return { () -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ in
36
36
  let __cxxWrapped = hybridObject.getCxxWrapper()
37
37
  return __cxxWrapped.getCxxPart()
38
38
  }()
@@ -0,0 +1,11 @@
1
+ ///
2
+ /// HybridRNGoogleMapsPlusModuleSpecSwift.cpp
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ #include "HybridRNGoogleMapsPlusModuleSpecSwift.hpp"
9
+
10
+ namespace margelo::nitro::rngooglemapsplus {
11
+ } // namespace margelo::nitro::rngooglemapsplus
@@ -1,5 +1,5 @@
1
1
  ///
2
- /// HybridGoogleMapsNitroModuleSpecSwift.hpp
2
+ /// HybridRNGoogleMapsPlusModuleSpecSwift.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
5
  /// Copyright © 2025 Marc Rousavy @ Margelo
@@ -7,17 +7,17 @@
7
7
 
8
8
  #pragma once
9
9
 
10
- #include "HybridGoogleMapsNitroModuleSpec.hpp"
10
+ #include "HybridRNGoogleMapsPlusModuleSpec.hpp"
11
11
 
12
- // Forward declaration of `HybridGoogleMapsNitroModuleSpec_cxx` to properly resolve imports.
13
- namespace GoogleMapsNitro { class HybridGoogleMapsNitroModuleSpec_cxx; }
12
+ // Forward declaration of `HybridRNGoogleMapsPlusModuleSpec_cxx` to properly resolve imports.
13
+ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusModuleSpec_cxx; }
14
14
 
15
15
  // Forward declaration of `RNLocationPermissionResult` to properly resolve imports.
16
- namespace margelo::nitro::googlemapsnitro { struct RNLocationPermissionResult; }
16
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationPermissionResult; }
17
17
  // Forward declaration of `RNAndroidLocationPermissionResult` to properly resolve imports.
18
- namespace margelo::nitro::googlemapsnitro { enum class RNAndroidLocationPermissionResult; }
18
+ namespace margelo::nitro::rngooglemapsplus { enum class RNAndroidLocationPermissionResult; }
19
19
  // Forward declaration of `RNIOSPermissionResult` to properly resolve imports.
20
- namespace margelo::nitro::googlemapsnitro { enum class RNIOSPermissionResult; }
20
+ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
21
21
 
22
22
  #include "RNLocationPermissionResult.hpp"
23
23
  #include <NitroModules/Promise.hpp>
@@ -25,30 +25,30 @@ namespace margelo::nitro::googlemapsnitro { enum class RNIOSPermissionResult; }
25
25
  #include <optional>
26
26
  #include "RNIOSPermissionResult.hpp"
27
27
 
28
- #include "GoogleMapsNitro-Swift-Cxx-Umbrella.hpp"
28
+ #include "RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp"
29
29
 
30
- namespace margelo::nitro::googlemapsnitro {
30
+ namespace margelo::nitro::rngooglemapsplus {
31
31
 
32
32
  /**
33
- * The C++ part of HybridGoogleMapsNitroModuleSpec_cxx.swift.
33
+ * The C++ part of HybridRNGoogleMapsPlusModuleSpec_cxx.swift.
34
34
  *
35
- * HybridGoogleMapsNitroModuleSpecSwift (C++) accesses HybridGoogleMapsNitroModuleSpec_cxx (Swift), and might
35
+ * HybridRNGoogleMapsPlusModuleSpecSwift (C++) accesses HybridRNGoogleMapsPlusModuleSpec_cxx (Swift), and might
36
36
  * contain some additional bridging code for C++ <> Swift interop.
37
37
  *
38
38
  * Since this obviously introduces an overhead, I hope at some point in
39
- * the future, HybridGoogleMapsNitroModuleSpec_cxx can directly inherit from the C++ class HybridGoogleMapsNitroModuleSpec
39
+ * the future, HybridRNGoogleMapsPlusModuleSpec_cxx can directly inherit from the C++ class HybridRNGoogleMapsPlusModuleSpec
40
40
  * to simplify the whole structure and memory management.
41
41
  */
42
- class HybridGoogleMapsNitroModuleSpecSwift: public virtual HybridGoogleMapsNitroModuleSpec {
42
+ class HybridRNGoogleMapsPlusModuleSpecSwift: public virtual HybridRNGoogleMapsPlusModuleSpec {
43
43
  public:
44
44
  // Constructor from a Swift instance
45
- explicit HybridGoogleMapsNitroModuleSpecSwift(const GoogleMapsNitro::HybridGoogleMapsNitroModuleSpec_cxx& swiftPart):
46
- HybridObject(HybridGoogleMapsNitroModuleSpec::TAG),
45
+ explicit HybridRNGoogleMapsPlusModuleSpecSwift(const RNGoogleMapsPlus::HybridRNGoogleMapsPlusModuleSpec_cxx& swiftPart):
46
+ HybridObject(HybridRNGoogleMapsPlusModuleSpec::TAG),
47
47
  _swiftPart(swiftPart) { }
48
48
 
49
49
  public:
50
50
  // Get the Swift part
51
- inline GoogleMapsNitro::HybridGoogleMapsNitroModuleSpec_cxx& getSwiftPart() noexcept {
51
+ inline RNGoogleMapsPlus::HybridRNGoogleMapsPlusModuleSpec_cxx& getSwiftPart() noexcept {
52
52
  return _swiftPart;
53
53
  }
54
54
 
@@ -96,7 +96,7 @@ namespace margelo::nitro::googlemapsnitro {
96
96
  }
97
97
 
98
98
  private:
99
- GoogleMapsNitro::HybridGoogleMapsNitroModuleSpec_cxx _swiftPart;
99
+ RNGoogleMapsPlus::HybridRNGoogleMapsPlusModuleSpec_cxx _swiftPart;
100
100
  };
101
101
 
102
- } // namespace margelo::nitro::googlemapsnitro
102
+ } // namespace margelo::nitro::rngooglemapsplus
@@ -0,0 +1,11 @@
1
+ ///
2
+ /// HybridRNGoogleMapsPlusViewSpecSwift.cpp
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ #include "HybridRNGoogleMapsPlusViewSpecSwift.hpp"
9
+
10
+ namespace margelo::nitro::rngooglemapsplus {
11
+ } // namespace margelo::nitro::rngooglemapsplus
@@ -1,5 +1,5 @@
1
1
  ///
2
- /// HybridGoogleMapsNitroViewSpecSwift.hpp
2
+ /// HybridRNGoogleMapsPlusViewSpecSwift.hpp
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
5
  /// Copyright © 2025 Marc Rousavy @ Margelo
@@ -7,45 +7,45 @@
7
7
 
8
8
  #pragma once
9
9
 
10
- #include "HybridGoogleMapsNitroViewSpec.hpp"
10
+ #include "HybridRNGoogleMapsPlusViewSpec.hpp"
11
11
 
12
- // Forward declaration of `HybridGoogleMapsNitroViewSpec_cxx` to properly resolve imports.
13
- namespace GoogleMapsNitro { class HybridGoogleMapsNitroViewSpec_cxx; }
12
+ // Forward declaration of `HybridRNGoogleMapsPlusViewSpec_cxx` to properly resolve imports.
13
+ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
14
14
 
15
15
  // Forward declaration of `RNCamera` to properly resolve imports.
16
- namespace margelo::nitro::googlemapsnitro { struct RNCamera; }
16
+ namespace margelo::nitro::rngooglemapsplus { struct RNCamera; }
17
17
  // Forward declaration of `RNLatLng` to properly resolve imports.
18
- namespace margelo::nitro::googlemapsnitro { struct RNLatLng; }
18
+ namespace margelo::nitro::rngooglemapsplus { struct RNLatLng; }
19
19
  // Forward declaration of `RNUserInterfaceStyle` to properly resolve imports.
20
- namespace margelo::nitro::googlemapsnitro { enum class RNUserInterfaceStyle; }
20
+ namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
21
21
  // Forward declaration of `RNMapPadding` to properly resolve imports.
22
- namespace margelo::nitro::googlemapsnitro { struct RNMapPadding; }
22
+ namespace margelo::nitro::rngooglemapsplus { struct RNMapPadding; }
23
23
  // Forward declaration of `RNMarker` to properly resolve imports.
24
- namespace margelo::nitro::googlemapsnitro { struct RNMarker; }
24
+ namespace margelo::nitro::rngooglemapsplus { struct RNMarker; }
25
25
  // Forward declaration of `RNPosition` to properly resolve imports.
26
- namespace margelo::nitro::googlemapsnitro { struct RNPosition; }
26
+ namespace margelo::nitro::rngooglemapsplus { struct RNPosition; }
27
27
  // Forward declaration of `RNPolygon` to properly resolve imports.
28
- namespace margelo::nitro::googlemapsnitro { struct RNPolygon; }
28
+ namespace margelo::nitro::rngooglemapsplus { struct RNPolygon; }
29
29
  // Forward declaration of `RNPolyline` to properly resolve imports.
30
- namespace margelo::nitro::googlemapsnitro { struct RNPolyline; }
30
+ namespace margelo::nitro::rngooglemapsplus { struct RNPolyline; }
31
31
  // Forward declaration of `RNLineCapType` to properly resolve imports.
32
- namespace margelo::nitro::googlemapsnitro { enum class RNLineCapType; }
32
+ namespace margelo::nitro::rngooglemapsplus { enum class RNLineCapType; }
33
33
  // Forward declaration of `RNLineJoinType` to properly resolve imports.
34
- namespace margelo::nitro::googlemapsnitro { enum class RNLineJoinType; }
34
+ namespace margelo::nitro::rngooglemapsplus { enum class RNLineJoinType; }
35
35
  // Forward declaration of `RNMapErrorCode` to properly resolve imports.
36
- namespace margelo::nitro::googlemapsnitro { enum class RNMapErrorCode; }
36
+ namespace margelo::nitro::rngooglemapsplus { enum class RNMapErrorCode; }
37
37
  // Forward declaration of `RNLocation` to properly resolve imports.
38
- namespace margelo::nitro::googlemapsnitro { struct RNLocation; }
38
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocation; }
39
39
  // Forward declaration of `RNLocationErrorCode` to properly resolve imports.
40
- namespace margelo::nitro::googlemapsnitro { enum class RNLocationErrorCode; }
40
+ namespace margelo::nitro::rngooglemapsplus { enum class RNLocationErrorCode; }
41
41
  // Forward declaration of `RNRegion` to properly resolve imports.
42
- namespace margelo::nitro::googlemapsnitro { struct RNRegion; }
42
+ namespace margelo::nitro::rngooglemapsplus { struct RNRegion; }
43
43
  // Forward declaration of `RNLocationPermissionResult` to properly resolve imports.
44
- namespace margelo::nitro::googlemapsnitro { struct RNLocationPermissionResult; }
44
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationPermissionResult; }
45
45
  // Forward declaration of `RNAndroidLocationPermissionResult` to properly resolve imports.
46
- namespace margelo::nitro::googlemapsnitro { enum class RNAndroidLocationPermissionResult; }
46
+ namespace margelo::nitro::rngooglemapsplus { enum class RNAndroidLocationPermissionResult; }
47
47
  // Forward declaration of `RNIOSPermissionResult` to properly resolve imports.
48
- namespace margelo::nitro::googlemapsnitro { enum class RNIOSPermissionResult; }
48
+ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
49
49
 
50
50
  #include <string>
51
51
  #include "RNCamera.hpp"
@@ -70,30 +70,30 @@ namespace margelo::nitro::googlemapsnitro { enum class RNIOSPermissionResult; }
70
70
  #include "RNAndroidLocationPermissionResult.hpp"
71
71
  #include "RNIOSPermissionResult.hpp"
72
72
 
73
- #include "GoogleMapsNitro-Swift-Cxx-Umbrella.hpp"
73
+ #include "RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp"
74
74
 
75
- namespace margelo::nitro::googlemapsnitro {
75
+ namespace margelo::nitro::rngooglemapsplus {
76
76
 
77
77
  /**
78
- * The C++ part of HybridGoogleMapsNitroViewSpec_cxx.swift.
78
+ * The C++ part of HybridRNGoogleMapsPlusViewSpec_cxx.swift.
79
79
  *
80
- * HybridGoogleMapsNitroViewSpecSwift (C++) accesses HybridGoogleMapsNitroViewSpec_cxx (Swift), and might
80
+ * HybridRNGoogleMapsPlusViewSpecSwift (C++) accesses HybridRNGoogleMapsPlusViewSpec_cxx (Swift), and might
81
81
  * contain some additional bridging code for C++ <> Swift interop.
82
82
  *
83
83
  * Since this obviously introduces an overhead, I hope at some point in
84
- * the future, HybridGoogleMapsNitroViewSpec_cxx can directly inherit from the C++ class HybridGoogleMapsNitroViewSpec
84
+ * the future, HybridRNGoogleMapsPlusViewSpec_cxx can directly inherit from the C++ class HybridRNGoogleMapsPlusViewSpec
85
85
  * to simplify the whole structure and memory management.
86
86
  */
87
- class HybridGoogleMapsNitroViewSpecSwift: public virtual HybridGoogleMapsNitroViewSpec {
87
+ class HybridRNGoogleMapsPlusViewSpecSwift: public virtual HybridRNGoogleMapsPlusViewSpec {
88
88
  public:
89
89
  // Constructor from a Swift instance
90
- explicit HybridGoogleMapsNitroViewSpecSwift(const GoogleMapsNitro::HybridGoogleMapsNitroViewSpec_cxx& swiftPart):
91
- HybridObject(HybridGoogleMapsNitroViewSpec::TAG),
90
+ explicit HybridRNGoogleMapsPlusViewSpecSwift(const RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx& swiftPart):
91
+ HybridObject(HybridRNGoogleMapsPlusViewSpec::TAG),
92
92
  _swiftPart(swiftPart) { }
93
93
 
94
94
  public:
95
95
  // Get the Swift part
96
- inline GoogleMapsNitro::HybridGoogleMapsNitroViewSpec_cxx& getSwiftPart() noexcept {
96
+ inline RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx& getSwiftPart() noexcept {
97
97
  return _swiftPart;
98
98
  }
99
99
 
@@ -288,7 +288,7 @@ namespace margelo::nitro::googlemapsnitro {
288
288
  }
289
289
 
290
290
  private:
291
- GoogleMapsNitro::HybridGoogleMapsNitroViewSpec_cxx _swiftPart;
291
+ RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx _swiftPart;
292
292
  };
293
293
 
294
- } // namespace margelo::nitro::googlemapsnitro
294
+ } // namespace margelo::nitro::rngooglemapsplus
@@ -1,11 +1,11 @@
1
1
  ///
2
- /// HybridGoogleMapsNitroViewComponent.mm
2
+ /// HybridRNGoogleMapsPlusViewComponent.mm
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
5
  /// Copyright © 2025 Marc Rousavy @ Margelo
6
6
  ///
7
7
 
8
- #import "HybridGoogleMapsNitroViewComponent.hpp"
8
+ #import "HybridRNGoogleMapsPlusViewComponent.hpp"
9
9
  #import <memory>
10
10
  #import <react/renderer/componentregistry/ComponentDescriptorProvider.h>
11
11
  #import <React/RCTViewComponentView.h>
@@ -14,36 +14,36 @@
14
14
  #import <NitroModules/NitroDefines.hpp>
15
15
  #import <UIKit/UIKit.h>
16
16
 
17
- #import "HybridGoogleMapsNitroViewSpecSwift.hpp"
18
- #import "GoogleMapsNitro-Swift-Cxx-Umbrella.hpp"
17
+ #import "HybridRNGoogleMapsPlusViewSpecSwift.hpp"
18
+ #import "RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp"
19
19
 
20
20
  using namespace facebook;
21
- using namespace margelo::nitro::googlemapsnitro;
22
- using namespace margelo::nitro::googlemapsnitro::views;
21
+ using namespace margelo::nitro::rngooglemapsplus;
22
+ using namespace margelo::nitro::rngooglemapsplus::views;
23
23
 
24
24
  /**
25
- * Represents the React Native View holder for the Nitro "GoogleMapsNitroView" HybridView.
25
+ * Represents the React Native View holder for the Nitro "RNGoogleMapsPlusView" HybridView.
26
26
  */
27
- @interface HybridGoogleMapsNitroViewComponent: RCTViewComponentView
27
+ @interface HybridRNGoogleMapsPlusViewComponent: RCTViewComponentView
28
28
  @end
29
29
 
30
- @implementation HybridGoogleMapsNitroViewComponent {
31
- std::shared_ptr<HybridGoogleMapsNitroViewSpecSwift> _hybridView;
30
+ @implementation HybridRNGoogleMapsPlusViewComponent {
31
+ std::shared_ptr<HybridRNGoogleMapsPlusViewSpecSwift> _hybridView;
32
32
  }
33
33
 
34
34
  + (void) load {
35
35
  [super load];
36
- [RCTComponentViewFactory.currentComponentViewFactory registerComponentViewClass:[HybridGoogleMapsNitroViewComponent class]];
36
+ [RCTComponentViewFactory.currentComponentViewFactory registerComponentViewClass:[HybridRNGoogleMapsPlusViewComponent class]];
37
37
  }
38
38
 
39
39
  + (react::ComponentDescriptorProvider) componentDescriptorProvider {
40
- return react::concreteComponentDescriptorProvider<HybridGoogleMapsNitroViewComponentDescriptor>();
40
+ return react::concreteComponentDescriptorProvider<HybridRNGoogleMapsPlusViewComponentDescriptor>();
41
41
  }
42
42
 
43
43
  - (instancetype) init {
44
44
  if (self = [super init]) {
45
- std::shared_ptr<HybridGoogleMapsNitroViewSpec> hybridView = GoogleMapsNitro::GoogleMapsNitroAutolinking::createGoogleMapsNitroView();
46
- _hybridView = std::dynamic_pointer_cast<HybridGoogleMapsNitroViewSpecSwift>(hybridView);
45
+ std::shared_ptr<HybridRNGoogleMapsPlusViewSpec> hybridView = RNGoogleMapsPlus::RNGoogleMapsPlusAutolinking::createRNGoogleMapsPlusView();
46
+ _hybridView = std::dynamic_pointer_cast<HybridRNGoogleMapsPlusViewSpecSwift>(hybridView);
47
47
  [self updateView];
48
48
  }
49
49
  return self;
@@ -51,7 +51,7 @@ using namespace margelo::nitro::googlemapsnitro::views;
51
51
 
52
52
  - (void) updateView {
53
53
  // 1. Get Swift part
54
- GoogleMapsNitro::HybridGoogleMapsNitroViewSpec_cxx& swiftPart = _hybridView->getSwiftPart();
54
+ RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx& swiftPart = _hybridView->getSwiftPart();
55
55
 
56
56
  // 2. Get UIView*
57
57
  void* viewUnsafe = swiftPart.getView();
@@ -64,9 +64,9 @@ using namespace margelo::nitro::googlemapsnitro::views;
64
64
  - (void) updateProps:(const std::shared_ptr<const react::Props>&)props
65
65
  oldProps:(const std::shared_ptr<const react::Props>&)oldProps {
66
66
  // 1. Downcast props
67
- const auto& newViewPropsConst = *std::static_pointer_cast<HybridGoogleMapsNitroViewProps const>(props);
68
- auto& newViewProps = const_cast<HybridGoogleMapsNitroViewProps&>(newViewPropsConst);
69
- GoogleMapsNitro::HybridGoogleMapsNitroViewSpec_cxx& swiftPart = _hybridView->getSwiftPart();
67
+ const auto& newViewPropsConst = *std::static_pointer_cast<HybridRNGoogleMapsPlusViewProps const>(props);
68
+ auto& newViewProps = const_cast<HybridRNGoogleMapsPlusViewProps&>(newViewPropsConst);
69
+ RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx& swiftPart = _hybridView->getSwiftPart();
70
70
 
71
71
  // 2. Update each prop individually
72
72
  swiftPart.beforeUpdate();
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_RNLatLng {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ coordinate: RNLatLng) -> Void
19
19
 
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_RNLocation {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ location: RNLocation) -> Void
19
19
 
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_RNLocationErrorCode {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ error: RNLocationErrorCode) -> Void
19
19
 
@@ -23,7 +23,7 @@ public final class Func_void_RNLocationErrorCode {
23
23
 
24
24
  @inline(__always)
25
25
  public func call(error: Int32) -> Void {
26
- self.closure(margelo.nitro.googlemapsnitro.RNLocationErrorCode(rawValue: error)!)
26
+ self.closure(margelo.nitro.rngooglemapsplus.RNLocationErrorCode(rawValue: error)!)
27
27
  }
28
28
 
29
29
  /**
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_RNLocationPermissionResult {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ value: RNLocationPermissionResult) -> Void
19
19
 
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_RNMapErrorCode {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ error: RNMapErrorCode) -> Void
19
19
 
@@ -23,7 +23,7 @@ public final class Func_void_RNMapErrorCode {
23
23
 
24
24
  @inline(__always)
25
25
  public func call(error: Int32) -> Void {
26
- self.closure(margelo.nitro.googlemapsnitro.RNMapErrorCode(rawValue: error)!)
26
+ self.closure(margelo.nitro.rngooglemapsplus.RNMapErrorCode(rawValue: error)!)
27
27
  }
28
28
 
29
29
  /**
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_RNRegion_RNCamera_bool {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ region: RNRegion, _ camera: RNCamera, _ isGesture: Bool) -> Void
19
19
 
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_bool {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ ready: Bool) -> Void
19
19
 
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_std__exception_ptr {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ error: Error) -> Void
19
19
 
@@ -13,7 +13,7 @@ import NitroModules
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
15
  public final class Func_void_std__string {
16
- public typealias bridge = margelo.nitro.googlemapsnitro.bridge.swift
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
18
  private let closure: (_ id: String) -> Void
19
19