react-native-google-maps-plus 1.8.4 → 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 (73) hide show
  1. package/README.md +107 -129
  2. package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +19 -0
  3. package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +6 -2
  4. package/android/src/main/java/com/rngooglemapsplus/extensions/RNUserInterfaceExtension.kt +1 -1
  5. package/ios/GoogleMapViewImpl.swift +38 -13
  6. package/ios/MapMarkerBuilder.swift +2 -1
  7. package/ios/extensions/RNUserInterface+Extension.swift +1 -1
  8. package/lib/typescript/src/types.d.ts +1 -1
  9. package/lib/typescript/src/types.d.ts.map +1 -1
  10. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.cpp +6 -0
  11. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.hpp +1 -0
  12. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +6 -0
  13. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +1 -0
  14. package/nitrogen/generated/android/c++/JRNUserInterfaceStyle.hpp +3 -3
  15. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +0 -1
  16. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +0 -1
  17. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLatLng.kt +0 -1
  18. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocation.kt +0 -1
  19. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocationErrorCode.kt +0 -1
  20. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNMapErrorCode.kt +0 -1
  21. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera.kt +0 -1
  22. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera_bool.kt +0 -1
  23. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_bool.kt +0 -1
  24. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string.kt +0 -1
  25. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_RNLatLng.kt +0 -1
  26. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_std__string_RNLatLng.kt +0 -1
  27. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusModuleSpec.kt +7 -1
  28. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +7 -2
  29. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationConfig.kt +2 -1
  30. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCamera.kt +2 -1
  31. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCameraUpdate.kt +2 -1
  32. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCircle.kt +2 -1
  33. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmap.kt +2 -1
  34. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapGradient.kt +2 -1
  35. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapPoint.kt +2 -1
  36. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationConfig.kt +2 -1
  37. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt +2 -1
  38. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorLevel.kt +2 -1
  39. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNInitialProps.kt +2 -1
  40. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNKMLayer.kt +2 -1
  41. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLng.kt +2 -1
  42. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLngBounds.kt +2 -1
  43. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocation.kt +2 -1
  44. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationAndroid.kt +2 -1
  45. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationConfig.kt +2 -1
  46. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationIOS.kt +2 -1
  47. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationPermissionResult.kt +2 -1
  48. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapPadding.kt +2 -1
  49. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapUiSettings.kt +2 -1
  50. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapZoomConfig.kt +2 -1
  51. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +2 -1
  52. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarkerSvg.kt +2 -1
  53. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygon.kt +2 -1
  54. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygonHole.kt +2 -1
  55. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolyline.kt +2 -1
  56. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPosition.kt +2 -1
  57. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNRegion.kt +2 -1
  58. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSize.kt +2 -1
  59. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotOptions.kt +2 -1
  60. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUrlTileOverlay.kt +2 -1
  61. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUserInterfaceStyle.kt +1 -1
  62. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +4 -6
  63. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.hpp +3 -0
  64. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +3 -0
  65. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +8 -0
  66. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec_cxx.swift +10 -1
  67. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +8 -0
  68. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +10 -1
  69. package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +15 -11
  70. package/nitrogen/generated/ios/swift/RNUserInterfaceStyle.swift +4 -4
  71. package/nitrogen/generated/shared/c++/RNUserInterfaceStyle.hpp +4 -4
  72. package/package.json +8 -8
  73. package/src/types.ts +1 -1
@@ -10,7 +10,6 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
14
13
  import dalvik.annotation.optimization.FastNative
15
14
 
16
15
 
@@ -10,7 +10,6 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
14
13
  import dalvik.annotation.optimization.FastNative
15
14
 
16
15
 
@@ -10,7 +10,6 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
14
13
  import dalvik.annotation.optimization.FastNative
15
14
 
16
15
 
@@ -10,7 +10,6 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
14
13
  import dalvik.annotation.optimization.FastNative
15
14
 
16
15
 
@@ -10,7 +10,6 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
14
13
  import dalvik.annotation.optimization.FastNative
15
14
 
16
15
 
@@ -10,7 +10,8 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
13
+ import com.margelo.nitro.core.Promise
14
+ import com.margelo.nitro.core.HybridObject
14
15
 
15
16
  /**
16
17
  * A Kotlin class representing the RNGoogleMapsPlusModule HybridObject.
@@ -36,6 +37,11 @@ abstract class HybridRNGoogleMapsPlusModuleSpec: HybridObject() {
36
37
  super.updateNative(hybridData)
37
38
  }
38
39
 
40
+ // Default implementation of `HybridObject.toString()`
41
+ override fun toString(): String {
42
+ return "[HybridObject RNGoogleMapsPlusModule]"
43
+ }
44
+
39
45
  // Properties
40
46
 
41
47
 
@@ -10,8 +10,8 @@ package com.rngooglemapsplus
10
10
  import androidx.annotation.Keep
11
11
  import com.facebook.jni.HybridData
12
12
  import com.facebook.proguard.annotations.DoNotStrip
13
- import com.margelo.nitro.core.*
14
- import com.margelo.nitro.views.*
13
+ import com.margelo.nitro.core.Promise
14
+ import com.margelo.nitro.views.HybridView
15
15
 
16
16
  /**
17
17
  * A Kotlin class representing the RNGoogleMapsPlusView HybridObject.
@@ -37,6 +37,11 @@ abstract class HybridRNGoogleMapsPlusViewSpec: HybridView() {
37
37
  super.updateNative(hybridData)
38
38
  }
39
39
 
40
+ // Default implementation of `HybridObject.toString()`
41
+ override fun toString(): String {
42
+ return "[HybridObject RNGoogleMapsPlusView]"
43
+ }
44
+
40
45
  // Properties
41
46
  @get:DoNotStrip
42
47
  @get:Keep
@@ -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 RNAndroidLocationConfig(
28
27
  @Keep
29
28
  val minUpdateInterval: 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
  /**
@@ -31,6 +30,8 @@ data class RNCamera(
31
30
  @Keep
32
31
  val tilt: 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
  /**
@@ -31,6 +30,8 @@ data class RNCameraUpdate(
31
30
  @Keep
32
31
  val tilt: 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
  /**
@@ -43,6 +42,8 @@ data class RNCircle(
43
42
  @Keep
44
43
  val fillColor: String?
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
  /**
@@ -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
  }