react-native-google-maps-plus 1.11.1-dev.1 → 1.12.0-dev.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.
- package/RNGoogleMapsPlus.podspec +1 -1
- package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +4 -4
- package/android/src/main/java/com/rngooglemapsplus/MapErrorHandler.kt +24 -0
- package/android/src/main/java/com/rngooglemapsplus/MapHelper.kt +0 -13
- package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +22 -16
- package/android/src/main/java/com/rngooglemapsplus/MapUrlTileOverlayBuilder.kt +4 -2
- package/android/src/main/java/com/rngooglemapsplus/RNGoogleMapsPlusView.kt +13 -5
- package/android/src/main/java/com/rngooglemapsplus/extensions/BitmapExtension.kt +4 -2
- package/ios/GoogleMapViewImpl.swift +5 -1
- package/ios/MapErrorHandler.swift +21 -0
- package/ios/MapHelper.swift +0 -14
- package/ios/MapMarkerBuilder.swift +11 -9
- package/ios/RNGoogleMapsPlusView.swift +7 -3
- package/ios/extensions/UIImage+Extension.swift +3 -2
- package/lib/module/types.js +19 -7
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +2 -2
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +20 -8
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlus+autolinking.cmake +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlus+autolinking.gradle +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +3 -3
- package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorBuilding.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorLevel.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLocation.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLocationErrorCode.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNMapErrorCode_std__string.hpp +78 -0
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_RNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string_RNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.cpp +8 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +18 -11
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +4 -3
- package/nitrogen/generated/android/c++/JRNAndroidLocationConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNAndroidLocationPermissionResult.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNAndroidLocationPriority.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNCamera.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNCameraUpdate.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNCircle.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNHeatmap.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNHeatmapGradient.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNHeatmapPoint.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIOSLocationAccuracy.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIOSLocationActivityType.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIOSLocationConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIOSPermissionResult.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIndoorBuilding.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIndoorLevel.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNInitialProps.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNKMLayer.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLatLngBounds.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLineCapType.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLineJoinType.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocation.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationAndroid.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationErrorCode.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationIOS.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationPermissionResult.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapErrorCode.hpp +19 -1
- package/nitrogen/generated/android/c++/JRNMapPadding.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapType.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapUiSettings.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapZoomConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMarker.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMarkerSvg.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPolygon.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPolygonHole.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPolyline.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPosition.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNRegion.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSize.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSnapshotFormat.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSnapshotOptions.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSnapshotResultType.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNUrlTileOverlay.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNUserInterfaceStyle.hpp +1 -1
- package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.cpp +146 -145
- package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.hpp +3 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocation.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocationErrorCode.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/{Func_void_RNMapErrorCode.kt → Func_void_RNMapErrorCode_std__string.kt} +15 -15
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera_bool.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_bool.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_std__string_RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusModuleSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +4 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationConfig.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationPermissionResult.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationPriority.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCamera.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCameraUpdate.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCircle.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNGoogleMapsPlusOnLoad.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmap.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapGradient.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapPoint.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationAccuracy.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationActivityType.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationConfig.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSPermissionResult.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorLevel.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNInitialProps.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNKMLayer.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLngBounds.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLineCapType.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLineJoinType.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocation.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationAndroid.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationConfig.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationErrorCode.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationIOS.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationPermissionResult.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapErrorCode.kt +8 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapPadding.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapType.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapUiSettings.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapZoomConfig.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarkerSvg.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygon.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygonHole.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolyline.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPosition.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNRegion.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSize.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotFormat.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotOptions.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotResultType.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUrlTileOverlay.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUserInterfaceStyle.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/views/HybridRNGoogleMapsPlusViewManager.kt +34 -17
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/views/HybridRNGoogleMapsPlusViewStateUpdater.kt +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlus+autolinking.rb +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +6 -6
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +20 -20
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlusAutolinking.mm +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlusAutolinking.swift +13 -15
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +9 -3
- package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +13 -8
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorBuilding.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorLevel.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_RNLatLng.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_RNLocation.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_RNLocationErrorCode.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_RNLocationPermissionResult.swift +1 -2
- package/nitrogen/generated/ios/swift/{Func_void_RNMapErrorCode.swift → Func_void_RNMapErrorCode_std__string.swift} +12 -13
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera_bool.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__string_RNLatLng.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__string_std__string_RNLatLng.swift +1 -2
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +4 -5
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +26 -14
- package/nitrogen/generated/ios/swift/RNAndroidLocationConfig.swift +1 -2
- package/nitrogen/generated/ios/swift/RNAndroidLocationPermissionResult.swift +1 -1
- package/nitrogen/generated/ios/swift/RNAndroidLocationPriority.swift +1 -1
- package/nitrogen/generated/ios/swift/RNCamera.swift +1 -2
- package/nitrogen/generated/ios/swift/RNCameraUpdate.swift +1 -2
- package/nitrogen/generated/ios/swift/RNCircle.swift +1 -2
- package/nitrogen/generated/ios/swift/RNHeatmap.swift +1 -2
- package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +1 -2
- package/nitrogen/generated/ios/swift/RNHeatmapPoint.swift +1 -2
- package/nitrogen/generated/ios/swift/RNIOSLocationAccuracy.swift +1 -1
- package/nitrogen/generated/ios/swift/RNIOSLocationActivityType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNIOSLocationConfig.swift +1 -2
- package/nitrogen/generated/ios/swift/RNIOSPermissionResult.swift +1 -1
- package/nitrogen/generated/ios/swift/RNIndoorBuilding.swift +1 -2
- package/nitrogen/generated/ios/swift/RNIndoorLevel.swift +1 -2
- package/nitrogen/generated/ios/swift/RNInitialProps.swift +1 -2
- package/nitrogen/generated/ios/swift/RNKMLayer.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLatLng.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLatLngBounds.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLineCapType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNLineJoinType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNLocation.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLocationAndroid.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLocationConfig.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLocationErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/RNLocationIOS.swift +1 -2
- package/nitrogen/generated/ios/swift/RNLocationPermissionResult.swift +1 -2
- package/nitrogen/generated/ios/swift/RNMapErrorCode.swift +25 -1
- package/nitrogen/generated/ios/swift/RNMapPadding.swift +1 -2
- package/nitrogen/generated/ios/swift/RNMapType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNMapUiSettings.swift +1 -2
- package/nitrogen/generated/ios/swift/RNMapZoomConfig.swift +1 -2
- package/nitrogen/generated/ios/swift/RNMarker.swift +1 -2
- package/nitrogen/generated/ios/swift/RNMarkerSvg.swift +1 -2
- package/nitrogen/generated/ios/swift/RNPolygon.swift +1 -2
- package/nitrogen/generated/ios/swift/RNPolygonHole.swift +1 -2
- package/nitrogen/generated/ios/swift/RNPolyline.swift +1 -2
- package/nitrogen/generated/ios/swift/RNPosition.swift +1 -2
- package/nitrogen/generated/ios/swift/RNRegion.swift +1 -2
- package/nitrogen/generated/ios/swift/RNSize.swift +1 -2
- package/nitrogen/generated/ios/swift/RNSnapshotFormat.swift +1 -1
- package/nitrogen/generated/ios/swift/RNSnapshotOptions.swift +1 -2
- package/nitrogen/generated/ios/swift/RNSnapshotResultType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNUrlTileOverlay.swift +1 -2
- package/nitrogen/generated/ios/swift/RNUserInterfaceStyle.swift +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +3 -3
- package/nitrogen/generated/shared/c++/RNAndroidLocationConfig.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNAndroidLocationPermissionResult.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNAndroidLocationPriority.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNCamera.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNCameraUpdate.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNCircle.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNHeatmap.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNHeatmapGradient.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNHeatmapPoint.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIOSLocationAccuracy.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIOSLocationActivityType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIOSLocationConfig.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIOSPermissionResult.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIndoorBuilding.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIndoorLevel.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNInitialProps.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNKMLayer.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLatLng.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLatLngBounds.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLineCapType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLineJoinType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocation.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocationAndroid.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocationConfig.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocationErrorCode.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocationIOS.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocationPermissionResult.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMapErrorCode.hpp +8 -2
- package/nitrogen/generated/shared/c++/RNMapPadding.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMapType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMapUiSettings.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMapZoomConfig.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMarker.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMarkerSvg.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNPolygon.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNPolygonHole.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNPolyline.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNPosition.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNRegion.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNSize.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNSnapshotFormat.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNSnapshotOptions.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNSnapshotResultType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNUrlTileOverlay.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNUserInterfaceStyle.hpp +1 -1
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +7 -56
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +10 -7
- package/package.json +4 -3
- package/src/RNGoogleMapsPlusView.nitro.ts +2 -2
- package/src/types.ts +25 -7
- package/nitrogen/generated/android/c++/JFunc_void_RNMapErrorCode.hpp +0 -77
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -871,40 +871,40 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
|
|
|
871
871
|
return *optional;
|
|
872
872
|
}
|
|
873
873
|
|
|
874
|
-
// pragma MARK: std::function<void(RNMapErrorCode /* error */)>
|
|
874
|
+
// pragma MARK: std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>
|
|
875
875
|
/**
|
|
876
|
-
* Specialized version of `std::function<void(RNMapErrorCode)>`.
|
|
876
|
+
* Specialized version of `std::function<void(RNMapErrorCode, const std::string&)>`.
|
|
877
877
|
*/
|
|
878
|
-
using
|
|
878
|
+
using Func_void_RNMapErrorCode_std__string = std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>;
|
|
879
879
|
/**
|
|
880
|
-
* Wrapper class for a `std::function<void(RNMapErrorCode / * error * /)>`, this can be used from Swift.
|
|
880
|
+
* Wrapper class for a `std::function<void(RNMapErrorCode / * error * /, const std::string& / * msg * /)>`, this can be used from Swift.
|
|
881
881
|
*/
|
|
882
|
-
class
|
|
882
|
+
class Func_void_RNMapErrorCode_std__string_Wrapper final {
|
|
883
883
|
public:
|
|
884
|
-
explicit
|
|
885
|
-
inline void call(int error) const noexcept {
|
|
886
|
-
_function->operator()(static_cast<RNMapErrorCode>(error));
|
|
884
|
+
explicit Func_void_RNMapErrorCode_std__string_Wrapper(std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>&& func): _function(std::make_unique<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>(std::move(func))) {}
|
|
885
|
+
inline void call(int error, std::string msg) const noexcept {
|
|
886
|
+
_function->operator()(static_cast<RNMapErrorCode>(error), msg);
|
|
887
887
|
}
|
|
888
888
|
private:
|
|
889
|
-
std::unique_ptr<std::function<void(RNMapErrorCode /* error */)>> _function;
|
|
889
|
+
std::unique_ptr<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>> _function;
|
|
890
890
|
} SWIFT_NONCOPYABLE;
|
|
891
|
-
|
|
892
|
-
inline
|
|
893
|
-
return
|
|
891
|
+
Func_void_RNMapErrorCode_std__string create_Func_void_RNMapErrorCode_std__string(void* NON_NULL swiftClosureWrapper) noexcept;
|
|
892
|
+
inline Func_void_RNMapErrorCode_std__string_Wrapper wrap_Func_void_RNMapErrorCode_std__string(Func_void_RNMapErrorCode_std__string value) noexcept {
|
|
893
|
+
return Func_void_RNMapErrorCode_std__string_Wrapper(std::move(value));
|
|
894
894
|
}
|
|
895
895
|
|
|
896
|
-
// pragma MARK: std::optional<std::function<void(RNMapErrorCode /* error */)>>
|
|
896
|
+
// pragma MARK: std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>
|
|
897
897
|
/**
|
|
898
|
-
* Specialized version of `std::optional<std::function<void(RNMapErrorCode / * error * /)>>`.
|
|
898
|
+
* Specialized version of `std::optional<std::function<void(RNMapErrorCode / * error * /, const std::string& / * msg * /)>>`.
|
|
899
899
|
*/
|
|
900
|
-
using
|
|
901
|
-
inline std::optional<std::function<void(RNMapErrorCode /* error */)>>
|
|
902
|
-
return std::optional<std::function<void(RNMapErrorCode /* error */)>>(value);
|
|
900
|
+
using std__optional_std__function_void_RNMapErrorCode____error_____const_std__string_____msg______ = std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>;
|
|
901
|
+
inline std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>> create_std__optional_std__function_void_RNMapErrorCode____error_____const_std__string_____msg______(const std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>& value) noexcept {
|
|
902
|
+
return std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>(value);
|
|
903
903
|
}
|
|
904
|
-
inline bool
|
|
904
|
+
inline bool has_value_std__optional_std__function_void_RNMapErrorCode____error_____const_std__string_____msg______(const std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>& optional) noexcept {
|
|
905
905
|
return optional.has_value();
|
|
906
906
|
}
|
|
907
|
-
inline std::function<void(RNMapErrorCode /* error */)>
|
|
907
|
+
inline std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)> get_std__optional_std__function_void_RNMapErrorCode____error_____const_std__string_____msg______(const std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>& optional) noexcept {
|
|
908
908
|
return *optional;
|
|
909
909
|
}
|
|
910
910
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNGoogleMapsPlusAutolinking.mm
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#import <Foundation/Foundation.h>
|
|
@@ -2,19 +2,16 @@
|
|
|
2
2
|
/// RNGoogleMapsPlusAutolinking.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
+
import NitroModules
|
|
9
|
+
|
|
10
|
+
// TODO: Use empty enums once Swift supports exporting them as namespaces
|
|
11
|
+
// See: https://github.com/swiftlang/swift/pull/83616
|
|
8
12
|
public final class RNGoogleMapsPlusAutolinking {
|
|
9
13
|
public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
|
|
10
14
|
|
|
11
|
-
/**
|
|
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
|
-
*
|
|
15
|
-
* This is generated by Nitrogen and will initialize the class specified
|
|
16
|
-
* in the `"autolinking"` property of `nitro.json` (in this case, `RNGoogleMapsPlusView`).
|
|
17
|
-
*/
|
|
18
15
|
public static func createRNGoogleMapsPlusView() -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ {
|
|
19
16
|
let hybridObject = RNGoogleMapsPlusView()
|
|
20
17
|
return { () -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ in
|
|
@@ -23,13 +20,10 @@ public final class RNGoogleMapsPlusAutolinking {
|
|
|
23
20
|
}()
|
|
24
21
|
}
|
|
25
22
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
* This is generated by Nitrogen and will initialize the class specified
|
|
31
|
-
* in the `"autolinking"` property of `nitro.json` (in this case, `RNGoogleMapsPlusModule`).
|
|
32
|
-
*/
|
|
23
|
+
public static func isRNGoogleMapsPlusViewRecyclable() -> Bool {
|
|
24
|
+
return RNGoogleMapsPlusView.self is any RecyclableView.Type
|
|
25
|
+
}
|
|
26
|
+
|
|
33
27
|
public static func createRNGoogleMapsPlusModule() -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ {
|
|
34
28
|
let hybridObject = RNGoogleMapsPlusModule()
|
|
35
29
|
return { () -> bridge.std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ in
|
|
@@ -37,4 +31,8 @@ public final class RNGoogleMapsPlusAutolinking {
|
|
|
37
31
|
return __cxxWrapped.getCxxPart()
|
|
38
32
|
}()
|
|
39
33
|
}
|
|
34
|
+
|
|
35
|
+
public static func isRNGoogleMapsPlusModuleRecyclable() -> Bool {
|
|
36
|
+
return RNGoogleMapsPlusModule.self is any RecyclableView.Type
|
|
37
|
+
}
|
|
40
38
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusModuleSpecSwift.cpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#include "HybridRNGoogleMapsPlusModuleSpecSwift.hpp"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusModuleSpecSwift.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -56,6 +56,12 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
56
56
|
inline size_t getExternalMemorySize() noexcept override {
|
|
57
57
|
return _swiftPart.getMemorySize();
|
|
58
58
|
}
|
|
59
|
+
bool equals(const std::shared_ptr<HybridObject>& other) override {
|
|
60
|
+
if (auto otherCast = std::dynamic_pointer_cast<HybridRNGoogleMapsPlusModuleSpecSwift>(other)) {
|
|
61
|
+
return _swiftPart.equals(otherCast->_swiftPart);
|
|
62
|
+
}
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
59
65
|
void dispose() noexcept override {
|
|
60
66
|
_swiftPart.dispose();
|
|
61
67
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusViewSpecSwift.cpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#include "HybridRNGoogleMapsPlusViewSpecSwift.hpp"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusViewSpecSwift.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -185,6 +185,12 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
185
185
|
inline size_t getExternalMemorySize() noexcept override {
|
|
186
186
|
return _swiftPart.getMemorySize();
|
|
187
187
|
}
|
|
188
|
+
bool equals(const std::shared_ptr<HybridObject>& other) override {
|
|
189
|
+
if (auto otherCast = std::dynamic_pointer_cast<HybridRNGoogleMapsPlusViewSpecSwift>(other)) {
|
|
190
|
+
return _swiftPart.equals(otherCast->_swiftPart);
|
|
191
|
+
}
|
|
192
|
+
return false;
|
|
193
|
+
}
|
|
188
194
|
void dispose() noexcept override {
|
|
189
195
|
_swiftPart.dispose();
|
|
190
196
|
}
|
|
@@ -334,11 +340,11 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
334
340
|
inline void setLocationConfig(const std::optional<RNLocationConfig>& locationConfig) noexcept override {
|
|
335
341
|
_swiftPart.setLocationConfig(locationConfig);
|
|
336
342
|
}
|
|
337
|
-
inline std::optional<std::function<void(RNMapErrorCode /* error */)>> getOnMapError() noexcept override {
|
|
343
|
+
inline std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>> getOnMapError() noexcept override {
|
|
338
344
|
auto __result = _swiftPart.getOnMapError();
|
|
339
345
|
return __result;
|
|
340
346
|
}
|
|
341
|
-
inline void setOnMapError(const std::optional<std::function<void(RNMapErrorCode /* error */)>>& onMapError) noexcept override {
|
|
347
|
+
inline void setOnMapError(const std::optional<std::function<void(RNMapErrorCode /* error */, const std::string& /* msg */)>>& onMapError) noexcept override {
|
|
342
348
|
_swiftPart.setOnMapError(onMapError);
|
|
343
349
|
}
|
|
344
350
|
inline std::optional<std::function<void(bool /* ready */)>> getOnMapReady() noexcept override {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusViewComponent.mm
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#import "HybridRNGoogleMapsPlusViewComponent.hpp"
|
|
@@ -25,6 +25,7 @@ using namespace margelo::nitro::rngooglemapsplus::views;
|
|
|
25
25
|
* Represents the React Native View holder for the Nitro "RNGoogleMapsPlusView" HybridView.
|
|
26
26
|
*/
|
|
27
27
|
@interface HybridRNGoogleMapsPlusViewComponent: RCTViewComponentView
|
|
28
|
+
+ (BOOL)shouldBeRecycled;
|
|
28
29
|
@end
|
|
29
30
|
|
|
30
31
|
@implementation HybridRNGoogleMapsPlusViewComponent {
|
|
@@ -49,13 +50,7 @@ using namespace margelo::nitro::rngooglemapsplus::views;
|
|
|
49
50
|
return self;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
|
|
53
|
-
+ (BOOL)shouldBeRecycled
|
|
54
|
-
{
|
|
55
|
-
return NO;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/// added by nitrogen-patch.js
|
|
53
|
+
// added by nitrogen-patch.js
|
|
59
54
|
- (void)dealloc {
|
|
60
55
|
if (_hybridView) {
|
|
61
56
|
RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx& swiftPart = _hybridView->getSwiftPart();
|
|
@@ -328,4 +323,14 @@ using namespace margelo::nitro::rngooglemapsplus::views;
|
|
|
328
323
|
[super updateProps:props oldProps:oldProps];
|
|
329
324
|
}
|
|
330
325
|
|
|
326
|
+
+ (BOOL)shouldBeRecycled {
|
|
327
|
+
return RNGoogleMapsPlus::RNGoogleMapsPlusAutolinking::isRNGoogleMapsPlusViewRecyclable();
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
- (void)prepareForRecycle {
|
|
331
|
+
[super prepareForRecycle];
|
|
332
|
+
RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx& swiftPart = _hybridView->getSwiftPart();
|
|
333
|
+
swiftPart.maybePrepareForRecycle();
|
|
334
|
+
}
|
|
335
|
+
|
|
331
336
|
@end
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNIndoorBuilding.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNIndoorLevel.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNLatLng.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNLocation.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNLocationErrorCode.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNLocationPermissionResult.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
///
|
|
2
|
-
///
|
|
2
|
+
/// Func_void_RNMapErrorCode_std__string.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
|
-
* Wraps a Swift `(_ error: RNMapErrorCode) -> Void` as a class.
|
|
11
|
+
* Wraps a Swift `(_ error: RNMapErrorCode, _ msg: String) -> Void` as a class.
|
|
13
12
|
* This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
|
|
14
13
|
*/
|
|
15
|
-
public final class
|
|
14
|
+
public final class Func_void_RNMapErrorCode_std__string {
|
|
16
15
|
public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
|
|
17
16
|
|
|
18
|
-
private let closure: (_ error: RNMapErrorCode) -> Void
|
|
17
|
+
private let closure: (_ error: RNMapErrorCode, _ msg: String) -> Void
|
|
19
18
|
|
|
20
|
-
public init(_ closure: @escaping (_ error: RNMapErrorCode) -> Void) {
|
|
19
|
+
public init(_ closure: @escaping (_ error: RNMapErrorCode, _ msg: String) -> Void) {
|
|
21
20
|
self.closure = closure
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
@inline(__always)
|
|
25
|
-
public func call(error: Int32) -> Void {
|
|
26
|
-
self.closure(margelo.nitro.rngooglemapsplus.RNMapErrorCode(rawValue: error)
|
|
24
|
+
public func call(error: Int32, msg: std.string) -> Void {
|
|
25
|
+
self.closure(margelo.nitro.rngooglemapsplus.RNMapErrorCode(rawValue: error)!, String(msg))
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
/**
|
|
@@ -36,12 +35,12 @@ public final class Func_void_RNMapErrorCode {
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
/**
|
|
39
|
-
* Casts an unsafe pointer to a `
|
|
40
|
-
* The pointer has to be a retained opaque `Unmanaged<
|
|
38
|
+
* Casts an unsafe pointer to a `Func_void_RNMapErrorCode_std__string`.
|
|
39
|
+
* The pointer has to be a retained opaque `Unmanaged<Func_void_RNMapErrorCode_std__string>`.
|
|
41
40
|
* This removes one strong reference from the object!
|
|
42
41
|
*/
|
|
43
42
|
@inline(__always)
|
|
44
|
-
public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) ->
|
|
45
|
-
return Unmanaged<
|
|
43
|
+
public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) -> Func_void_RNMapErrorCode_std__string {
|
|
44
|
+
return Unmanaged<Func_void_RNMapErrorCode_std__string>.fromOpaque(pointer).takeRetainedValue()
|
|
46
45
|
}
|
|
47
46
|
}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNRegion_RNCamera.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_RNRegion_RNCamera_bool.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_bool.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_std__exception_ptr.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_std__optional_std__string_.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_std__string.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_std__string_RNLatLng.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// Func_void_std__string_std__string_RNLatLng.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusModuleSpec.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/// See ``HybridRNGoogleMapsPlusModuleSpec``
|
|
@@ -33,14 +32,14 @@ open class HybridRNGoogleMapsPlusModuleSpec_base {
|
|
|
33
32
|
public init() { }
|
|
34
33
|
public func getCxxWrapper() -> HybridRNGoogleMapsPlusModuleSpec_cxx {
|
|
35
34
|
#if DEBUG
|
|
36
|
-
guard self is HybridRNGoogleMapsPlusModuleSpec else {
|
|
35
|
+
guard self is any HybridRNGoogleMapsPlusModuleSpec else {
|
|
37
36
|
fatalError("`self` is not a `HybridRNGoogleMapsPlusModuleSpec`! Did you accidentally inherit from `HybridRNGoogleMapsPlusModuleSpec_base` instead of `HybridRNGoogleMapsPlusModuleSpec`?")
|
|
38
37
|
}
|
|
39
38
|
#endif
|
|
40
39
|
if let cxxWrapper = self.cxxWrapper {
|
|
41
40
|
return cxxWrapper
|
|
42
41
|
} else {
|
|
43
|
-
let cxxWrapper = HybridRNGoogleMapsPlusModuleSpec_cxx(self as! HybridRNGoogleMapsPlusModuleSpec)
|
|
42
|
+
let cxxWrapper = HybridRNGoogleMapsPlusModuleSpec_cxx(self as! any HybridRNGoogleMapsPlusModuleSpec)
|
|
44
43
|
self.cxxWrapper = cxxWrapper
|
|
45
44
|
return cxxWrapper
|
|
46
45
|
}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusModuleSpec_cxx.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -96,6 +95,14 @@ open class HybridRNGoogleMapsPlusModuleSpec_cxx {
|
|
|
96
95
|
return MemoryHelper.getSizeOf(self.__implementation) + self.__implementation.memorySize
|
|
97
96
|
}
|
|
98
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Compares this object with the given [other] object for reference equality.
|
|
100
|
+
*/
|
|
101
|
+
@inline(__always)
|
|
102
|
+
public func equals(other: HybridRNGoogleMapsPlusModuleSpec_cxx) -> Bool {
|
|
103
|
+
return self.__implementation === other.__implementation
|
|
104
|
+
}
|
|
105
|
+
|
|
99
106
|
/**
|
|
100
107
|
* Call dispose() on the Swift class.
|
|
101
108
|
* This _may_ be called manually from JS.
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// HybridRNGoogleMapsPlusViewSpec.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/// See ``HybridRNGoogleMapsPlusViewSpec``
|
|
@@ -31,7 +30,7 @@ public protocol HybridRNGoogleMapsPlusViewSpec_protocol: HybridObject, HybridVie
|
|
|
31
30
|
var kmlLayers: [RNKMLayer]? { get set }
|
|
32
31
|
var urlTileOverlays: [RNUrlTileOverlay]? { get set }
|
|
33
32
|
var locationConfig: RNLocationConfig? { get set }
|
|
34
|
-
var onMapError: ((_ error: RNMapErrorCode) -> Void)? { get set }
|
|
33
|
+
var onMapError: ((_ error: RNMapErrorCode, _ msg: String) -> Void)? { get set }
|
|
35
34
|
var onMapReady: ((_ ready: Bool) -> Void)? { get set }
|
|
36
35
|
var onMapLoaded: ((_ region: RNRegion, _ camera: RNCamera) -> Void)? { get set }
|
|
37
36
|
var onLocationUpdate: ((_ location: RNLocation) -> Void)? { get set }
|
|
@@ -84,14 +83,14 @@ open class HybridRNGoogleMapsPlusViewSpec_base {
|
|
|
84
83
|
public init() { }
|
|
85
84
|
public func getCxxWrapper() -> HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
86
85
|
#if DEBUG
|
|
87
|
-
guard self is HybridRNGoogleMapsPlusViewSpec else {
|
|
86
|
+
guard self is any HybridRNGoogleMapsPlusViewSpec else {
|
|
88
87
|
fatalError("`self` is not a `HybridRNGoogleMapsPlusViewSpec`! Did you accidentally inherit from `HybridRNGoogleMapsPlusViewSpec_base` instead of `HybridRNGoogleMapsPlusViewSpec`?")
|
|
89
88
|
}
|
|
90
89
|
#endif
|
|
91
90
|
if let cxxWrapper = self.cxxWrapper {
|
|
92
91
|
return cxxWrapper
|
|
93
92
|
} else {
|
|
94
|
-
let cxxWrapper = HybridRNGoogleMapsPlusViewSpec_cxx(self as! HybridRNGoogleMapsPlusViewSpec)
|
|
93
|
+
let cxxWrapper = HybridRNGoogleMapsPlusViewSpec_cxx(self as! any HybridRNGoogleMapsPlusViewSpec)
|
|
95
94
|
self.cxxWrapper = cxxWrapper
|
|
96
95
|
return cxxWrapper
|
|
97
96
|
}
|