react-native-google-maps-plus 1.8.5 → 1.8.6

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 (69) hide show
  1. package/README.md +107 -129
  2. package/android/src/main/java/com/rngooglemapsplus/extensions/RNUserInterfaceExtension.kt +1 -1
  3. package/ios/extensions/RNUserInterface+Extension.swift +1 -1
  4. package/lib/typescript/src/types.d.ts +1 -1
  5. package/lib/typescript/src/types.d.ts.map +1 -1
  6. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.cpp +6 -0
  7. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.hpp +1 -0
  8. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +6 -0
  9. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +1 -0
  10. package/nitrogen/generated/android/c++/JRNUserInterfaceStyle.hpp +3 -3
  11. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +0 -1
  12. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +0 -1
  13. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLatLng.kt +0 -1
  14. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocation.kt +0 -1
  15. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocationErrorCode.kt +0 -1
  16. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNMapErrorCode.kt +0 -1
  17. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera.kt +0 -1
  18. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera_bool.kt +0 -1
  19. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_bool.kt +0 -1
  20. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string.kt +0 -1
  21. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_RNLatLng.kt +0 -1
  22. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_std__string_RNLatLng.kt +0 -1
  23. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusModuleSpec.kt +7 -1
  24. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +7 -2
  25. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationConfig.kt +2 -1
  26. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCamera.kt +2 -1
  27. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCameraUpdate.kt +2 -1
  28. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCircle.kt +2 -1
  29. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmap.kt +2 -1
  30. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapGradient.kt +2 -1
  31. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapPoint.kt +2 -1
  32. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationConfig.kt +2 -1
  33. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt +2 -1
  34. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorLevel.kt +2 -1
  35. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNInitialProps.kt +2 -1
  36. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNKMLayer.kt +2 -1
  37. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLng.kt +2 -1
  38. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLngBounds.kt +2 -1
  39. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocation.kt +2 -1
  40. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationAndroid.kt +2 -1
  41. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationConfig.kt +2 -1
  42. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationIOS.kt +2 -1
  43. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationPermissionResult.kt +2 -1
  44. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapPadding.kt +2 -1
  45. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapUiSettings.kt +2 -1
  46. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapZoomConfig.kt +2 -1
  47. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +2 -1
  48. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarkerSvg.kt +2 -1
  49. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygon.kt +2 -1
  50. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygonHole.kt +2 -1
  51. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolyline.kt +2 -1
  52. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPosition.kt +2 -1
  53. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNRegion.kt +2 -1
  54. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSize.kt +2 -1
  55. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotOptions.kt +2 -1
  56. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUrlTileOverlay.kt +2 -1
  57. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUserInterfaceStyle.kt +1 -1
  58. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +4 -6
  59. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.hpp +3 -0
  60. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +3 -0
  61. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +8 -0
  62. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec_cxx.swift +10 -1
  63. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +8 -0
  64. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +10 -1
  65. package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +15 -11
  66. package/nitrogen/generated/ios/swift/RNUserInterfaceStyle.swift +4 -4
  67. package/nitrogen/generated/shared/c++/RNUserInterfaceStyle.hpp +4 -4
  68. package/package.json +3 -3
  69. package/src/types.ts +1 -1
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -40,6 +39,8 @@ data class RNHeatmap(
40
39
  @Keep
41
40
  val gradient: RNHeatmapGradient?
42
41
  ) {
42
+ /* primary constructor */
43
+
43
44
  private companion object {
44
45
  /**
45
46
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -28,6 +27,8 @@ data class RNHeatmapGradient(
28
27
  @Keep
29
28
  val colorMapSize: Double
30
29
  ) {
30
+ /* primary constructor */
31
+
31
32
  private companion object {
32
33
  /**
33
34
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -28,6 +27,8 @@ data class RNHeatmapPoint(
28
27
  @Keep
29
28
  val weight: Double
30
29
  ) {
30
+ /* primary constructor */
31
+
31
32
  private companion object {
32
33
  /**
33
34
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNIOSLocationConfig(
25
24
  @Keep
26
25
  val distanceFilterMeters: Double?
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -31,6 +30,8 @@ data class RNIndoorBuilding(
31
30
  @Keep
32
31
  val underground: Boolean?
33
32
  ) {
33
+ /* primary constructor */
34
+
34
35
  private companion object {
35
36
  /**
36
37
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -31,6 +30,8 @@ data class RNIndoorLevel(
31
30
  @Keep
32
31
  val active: Boolean?
33
32
  ) {
33
+ /* primary constructor */
34
+
34
35
  private companion object {
35
36
  /**
36
37
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -31,6 +30,8 @@ data class RNInitialProps(
31
30
  @Keep
32
31
  val backgroundColor: String?
33
32
  ) {
33
+ /* primary constructor */
34
+
34
35
  private companion object {
35
36
  /**
36
37
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNKMLayer(
25
24
  @Keep
26
25
  val kmlString: String
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNLatLng(
25
24
  @Keep
26
25
  val longitude: Double
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNLatLngBounds(
25
24
  @Keep
26
25
  val northeast: RNLatLng
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -43,6 +42,8 @@ data class RNLocation(
43
42
  @Keep
44
43
  val ios: RNLocationIOS?
45
44
  ) {
45
+ /* primary constructor */
46
+
46
47
  private companion object {
47
48
  /**
48
49
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -43,6 +42,8 @@ data class RNLocationAndroid(
43
42
  @Keep
44
43
  val isMock: Boolean?
45
44
  ) {
45
+ /* primary constructor */
46
+
46
47
  private companion object {
47
48
  /**
48
49
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNLocationConfig(
25
24
  @Keep
26
25
  val ios: RNIOSLocationConfig?
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -40,6 +39,8 @@ data class RNLocationIOS(
40
39
  @Keep
41
40
  val timestamp: Double?
42
41
  ) {
42
+ /* primary constructor */
43
+
43
44
  private companion object {
44
45
  /**
45
46
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNLocationPermissionResult(
25
24
  @Keep
26
25
  val ios: RNIOSPermissionResult?
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -31,6 +30,8 @@ data class RNMapPadding(
31
30
  @Keep
32
31
  val right: Double
33
32
  ) {
33
+ /* primary constructor */
34
+
34
35
  private companion object {
35
36
  /**
36
37
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -58,6 +57,8 @@ data class RNMapUiSettings(
58
57
  @Keep
59
58
  val consumeOnMyLocationButtonPress: Boolean?
60
59
  ) {
60
+ /* primary constructor */
61
+
61
62
  private companion object {
62
63
  /**
63
64
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNMapZoomConfig(
25
24
  @Keep
26
25
  val max: Double?
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -58,6 +57,8 @@ data class RNMarker(
58
57
  @Keep
59
58
  val infoWindowIconSvg: RNMarkerSvg?
60
59
  ) {
60
+ /* primary constructor */
61
+
61
62
  private companion object {
62
63
  /**
63
64
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -28,6 +27,8 @@ data class RNMarkerSvg(
28
27
  @Keep
29
28
  val svgString: String
30
29
  ) {
30
+ /* primary constructor */
31
+
31
32
  private companion object {
32
33
  /**
33
34
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -46,6 +45,8 @@ data class RNPolygon(
46
45
  @Keep
47
46
  val geodesic: Boolean?
48
47
  ) {
48
+ /* primary constructor */
49
+
49
50
  private companion object {
50
51
  /**
51
52
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -22,6 +21,8 @@ data class RNPolygonHole(
22
21
  @Keep
23
22
  val coordinates: Array<RNLatLng>
24
23
  ) {
24
+ /* primary constructor */
25
+
25
26
  private companion object {
26
27
  /**
27
28
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -46,6 +45,8 @@ data class RNPolyline(
46
45
  @Keep
47
46
  val width: Double?
48
47
  ) {
48
+ /* primary constructor */
49
+
49
50
  private companion object {
50
51
  /**
51
52
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNPosition(
25
24
  @Keep
26
25
  val y: Double
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -34,6 +33,8 @@ data class RNRegion(
34
33
  @Keep
35
34
  val latLngBounds: RNLatLngBounds
36
35
  ) {
36
+ /* primary constructor */
37
+
37
38
  private companion object {
38
39
  /**
39
40
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -25,6 +24,8 @@ data class RNSize(
25
24
  @Keep
26
25
  val height: Double
27
26
  ) {
27
+ /* primary constructor */
28
+
28
29
  private companion object {
29
30
  /**
30
31
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -31,6 +30,8 @@ data class RNSnapshotOptions(
31
30
  @Keep
32
31
  val resultType: RNSnapshotResultType
33
32
  ) {
33
+ /* primary constructor */
34
+
34
35
  private companion object {
35
36
  /**
36
37
  * Constructor called from C++
@@ -9,7 +9,6 @@ package com.rngooglemapsplus
9
9
 
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
- import com.margelo.nitro.core.*
13
12
 
14
13
 
15
14
  /**
@@ -37,6 +36,8 @@ data class RNUrlTileOverlay(
37
36
  @Keep
38
37
  val fadeIn: Boolean?
39
38
  ) {
39
+ /* primary constructor */
40
+
40
41
  private companion object {
41
42
  /**
42
43
  * Constructor called from C++
@@ -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
  }
@@ -145,7 +145,6 @@ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
145
145
  #include "RNSize.hpp"
146
146
  #include "RNUrlTileOverlay.hpp"
147
147
  #include "RNUserInterfaceStyle.hpp"
148
- #include <NitroModules/FastVectorCopy.hpp>
149
148
  #include <NitroModules/Promise.hpp>
150
149
  #include <NitroModules/PromiseHolder.hpp>
151
150
  #include <NitroModules/Result.hpp>
@@ -680,11 +679,10 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
680
679
  * Specialized version of `std::vector<double>`.
681
680
  */
682
681
  using std__vector_double_ = std::vector<double>;
683
- inline std::vector<double> copy_std__vector_double_(const double* CONTIGUOUS_MEMORY NON_NULL data, size_t size) noexcept {
684
- return margelo::nitro::FastVectorCopy<double>(data, size);
685
- }
686
- inline const double* CONTIGUOUS_MEMORY NON_NULL get_data_std__vector_double_(const std::vector<double>& vector) noexcept {
687
- return vector.data();
682
+ inline std::vector<double> create_std__vector_double_(size_t size) noexcept {
683
+ std::vector<double> vector;
684
+ vector.reserve(size);
685
+ return vector;
688
686
  }
689
687
 
690
688
  // pragma MARK: std::optional<RNHeatmapGradient>
@@ -59,6 +59,9 @@ namespace margelo::nitro::rngooglemapsplus {
59
59
  void dispose() noexcept override {
60
60
  _swiftPart.dispose();
61
61
  }
62
+ std::string toString() override {
63
+ return _swiftPart.toString();
64
+ }
62
65
 
63
66
  public:
64
67
  // Properties
@@ -185,6 +185,9 @@ namespace margelo::nitro::rngooglemapsplus {
185
185
  void dispose() noexcept override {
186
186
  _swiftPart.dispose();
187
187
  }
188
+ std::string toString() override {
189
+ return _swiftPart.toString();
190
+ }
188
191
 
189
192
  public:
190
193
  // Properties
@@ -7,6 +7,7 @@
7
7
 
8
8
  import Foundation
9
9
  import NitroModules
10
+ import NitroModules
10
11
 
11
12
  /// See ``HybridRNGoogleMapsPlusModuleSpec``
12
13
  public protocol HybridRNGoogleMapsPlusModuleSpec_protocol: HybridObject {
@@ -20,6 +21,13 @@ public protocol HybridRNGoogleMapsPlusModuleSpec_protocol: HybridObject {
20
21
  func isGooglePlayServicesAvailable() throws -> Bool
21
22
  }
22
23
 
24
+ public extension HybridRNGoogleMapsPlusModuleSpec_protocol {
25
+ /// Default implementation of ``HybridObject.toString``
26
+ func toString() -> String {
27
+ return "[HybridObject RNGoogleMapsPlusModule]"
28
+ }
29
+ }
30
+
23
31
  /// See ``HybridRNGoogleMapsPlusModuleSpec``
24
32
  open class HybridRNGoogleMapsPlusModuleSpec_base {
25
33
  private weak var cxxWrapper: HybridRNGoogleMapsPlusModuleSpec_cxx? = nil
@@ -7,6 +7,7 @@
7
7
 
8
8
  import Foundation
9
9
  import NitroModules
10
+ import NitroModules
10
11
 
11
12
  /**
12
13
  * A class implementation that bridges HybridRNGoogleMapsPlusModuleSpec over to C++.
@@ -76,7 +77,7 @@ open class HybridRNGoogleMapsPlusModuleSpec_cxx {
76
77
  */
77
78
  public func getCxxPart() -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ {
78
79
  let cachedCxxPart = self.__cxxPart.lock()
79
- if cachedCxxPart.__convertToBool() {
80
+ if Bool(fromCxx: cachedCxxPart) {
80
81
  return cachedCxxPart
81
82
  } else {
82
83
  let newCxxPart = bridge.create_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(self.toUnsafe())
@@ -105,6 +106,14 @@ open class HybridRNGoogleMapsPlusModuleSpec_cxx {
105
106
  self.__implementation.dispose()
106
107
  }
107
108
 
109
+ /**
110
+ * Call toString() on the Swift class.
111
+ */
112
+ @inline(__always)
113
+ public func toString() -> String {
114
+ return self.__implementation.toString()
115
+ }
116
+
108
117
  // Properties
109
118
 
110
119
 
@@ -7,6 +7,7 @@
7
7
 
8
8
  import Foundation
9
9
  import NitroModules
10
+ import NitroModules
10
11
 
11
12
  /// See ``HybridRNGoogleMapsPlusViewSpec``
12
13
  public protocol HybridRNGoogleMapsPlusViewSpec_protocol: HybridObject, HybridView {
@@ -70,6 +71,13 @@ public protocol HybridRNGoogleMapsPlusViewSpec_protocol: HybridObject, HybridVie
70
71
  func isGooglePlayServicesAvailable() throws -> Bool
71
72
  }
72
73
 
74
+ public extension HybridRNGoogleMapsPlusViewSpec_protocol {
75
+ /// Default implementation of ``HybridObject.toString``
76
+ func toString() -> String {
77
+ return "[HybridObject RNGoogleMapsPlusView]"
78
+ }
79
+ }
80
+
73
81
  /// See ``HybridRNGoogleMapsPlusViewSpec``
74
82
  open class HybridRNGoogleMapsPlusViewSpec_base {
75
83
  private weak var cxxWrapper: HybridRNGoogleMapsPlusViewSpec_cxx? = nil
@@ -7,6 +7,7 @@
7
7
 
8
8
  import Foundation
9
9
  import NitroModules
10
+ import NitroModules
10
11
 
11
12
  /**
12
13
  * A class implementation that bridges HybridRNGoogleMapsPlusViewSpec over to C++.
@@ -76,7 +77,7 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
76
77
  */
77
78
  public func getCxxPart() -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ {
78
79
  let cachedCxxPart = self.__cxxPart.lock()
79
- if cachedCxxPart.__convertToBool() {
80
+ if Bool(fromCxx: cachedCxxPart) {
80
81
  return cachedCxxPart
81
82
  } else {
82
83
  let newCxxPart = bridge.create_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(self.toUnsafe())
@@ -105,6 +106,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
105
106
  self.__implementation.dispose()
106
107
  }
107
108
 
109
+ /**
110
+ * Call toString() on the Swift class.
111
+ */
112
+ @inline(__always)
113
+ public func toString() -> String {
114
+ return self.__implementation.toString()
115
+ }
116
+
108
117
  // Properties
109
118
  public final var initialProps: bridge.std__optional_RNInitialProps_ {
110
119
  @inline(__always)