react-native-maps 1.24.4 → 1.24.5
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/ios/AirGoogleMaps/RNMapsGoogleMapView.h +3 -3
- package/ios/AirGoogleMaps/RNMapsGoogleMapView.mm +1 -1
- package/ios/AirGoogleMaps/RNMapsGooglePolygonView.mm +1 -1
- package/ios/AirMaps/FabricPlaceholders/PlaceHolderGoogleMapView.mm +2 -2
- package/ios/AirMaps/FabricPlaceholders/PlaceHolderPolygonView.mm +1 -1
- package/ios/AirMaps/RNMapsAirModule.mm +3 -3
- package/ios/AirMaps/RNMapsMapView.h +4 -4
- package/ios/AirMaps/RNMapsMapView.mm +1 -1
- package/ios/AirMaps/RNMapsMarkerView.mm +2 -2
- package/ios/generated/{RNMapsHostVewDelegate.h → RNMapsHostViewDelegate.h} +1 -1
- package/ios/generated/module.modulemap +1 -1
- package/package.json +9 -1
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
#import <React/RCTViewComponentView.h>
|
|
12
12
|
#import <UIKit/UIKit.h>
|
|
13
13
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
14
|
-
#import <ReactNativeMaps/generated/
|
|
14
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
15
15
|
#else
|
|
16
|
-
#import "
|
|
16
|
+
#import "RNMapsHostViewDelegate.h"
|
|
17
17
|
#endif
|
|
18
18
|
@class AIRGoogleMap;
|
|
19
19
|
|
|
20
20
|
NS_ASSUME_NONNULL_BEGIN
|
|
21
21
|
|
|
22
|
-
@interface RNMapsGoogleMapView : RCTViewComponentView<
|
|
22
|
+
@interface RNMapsGoogleMapView : RCTViewComponentView<RNMapsHostViewDelegate>
|
|
23
23
|
|
|
24
24
|
@end
|
|
25
25
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#import "AIRGoogleMapManager.h"
|
|
14
14
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
15
15
|
#import <ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>
|
|
16
|
-
#import <ReactNativeMaps/generated/
|
|
16
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
17
17
|
#import <ReactNativeMaps/generated/ComponentDescriptors.h>
|
|
18
18
|
#import <ReactNativeMaps/generated/EventEmitters.h>
|
|
19
19
|
#import <ReactNativeMaps/generated/Props.h>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
#import "AIRGoogleMap.h"
|
|
13
13
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
14
14
|
#import <ReactNativeMaps/generated/RNMapsSpecs.h>
|
|
15
|
-
#import <ReactNativeMaps/generated/
|
|
15
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
16
16
|
#import <ReactNativeMaps/generated/ComponentDescriptors.h>
|
|
17
17
|
#import <ReactNativeMaps/generated/EventEmitters.h>
|
|
18
18
|
#import <ReactNativeMaps/generated/Props.h>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
#if HAVE_GOOGLE_MAPS == 0
|
|
11
11
|
|
|
12
12
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
13
|
-
#import <ReactNativeMaps/generated/
|
|
13
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
14
14
|
#import <ReactNativeMaps/generated/ComponentDescriptors.h>
|
|
15
15
|
#import <ReactNativeMaps/generated/EventEmitters.h>
|
|
16
16
|
#import <ReactNativeMaps/generated/Props.h>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
#import "../../generated/RNMapsSpecs/EventEmitters.h"
|
|
21
21
|
#import "../../generated/RNMapsSpecs/Props.h"
|
|
22
22
|
#import "../../generated/RNMapsSpecs/RCTComponentViewHelpers.h"
|
|
23
|
-
#import "../../generated/
|
|
23
|
+
#import "../../generated/RNMapsHostViewDelegate.h"
|
|
24
24
|
#endif
|
|
25
25
|
#import "RCTFabricComponentsPlugins.h"
|
|
26
26
|
#import <React/RCTConversions.h>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
#if HAVE_GOOGLE_MAPS == 0
|
|
11
11
|
|
|
12
12
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
13
|
-
#import <ReactNativeMaps/generated/
|
|
13
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
14
14
|
#import <ReactNativeMaps/generated/ComponentDescriptors.h>
|
|
15
15
|
#import <ReactNativeMaps/generated/EventEmitters.h>
|
|
16
16
|
#import <ReactNativeMaps/generated/Props.h>
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
21
21
|
#import <ReactNativeMaps/generated/RNMapsSpecs.h>
|
|
22
|
-
#import <ReactNativeMaps/generated/
|
|
22
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
23
23
|
#else
|
|
24
24
|
#import "RNMapsSpecs.h"
|
|
25
|
-
#import "
|
|
25
|
+
#import "RNMapsHostViewDelegate.h"
|
|
26
26
|
#endif
|
|
27
27
|
@interface RNMapsAirModule()<NativeAirMapsModuleSpec>
|
|
28
28
|
@end
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
reject:(RCTPromiseRejectBlock)reject {
|
|
37
37
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
38
38
|
id view = [_viewRegistry_DEPRECATED viewForReactTag:[NSNumber numberWithDouble:tag]];
|
|
39
|
-
if ([view conformsToProtocol:@protocol(
|
|
39
|
+
if ([view conformsToProtocol:@protocol(RNMapsHostViewDelegate)]) {
|
|
40
40
|
id<RNMapsAirModuleDelegate> mapViewDelegate = [view mapView];
|
|
41
41
|
success(mapViewDelegate);
|
|
42
42
|
} else {
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
|
|
10
10
|
#import <React/RCTViewComponentView.h>
|
|
11
11
|
#import <UIKit/UIKit.h>
|
|
12
|
-
#if __has_include(<ReactNativeMaps/generated/
|
|
13
|
-
#import <ReactNativeMaps/generated/
|
|
12
|
+
#if __has_include(<ReactNativeMaps/generated/RNMapsHostViewDelegate.h>)
|
|
13
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
14
14
|
#else
|
|
15
|
-
#import "
|
|
15
|
+
#import "RNMapsHostViewDelegate.h"
|
|
16
16
|
#endif
|
|
17
17
|
@class AIRMap;
|
|
18
18
|
|
|
19
19
|
NS_ASSUME_NONNULL_BEGIN
|
|
20
20
|
|
|
21
|
-
@interface RNMapsMapView : RCTViewComponentView<
|
|
21
|
+
@interface RNMapsMapView : RCTViewComponentView<RNMapsHostViewDelegate>
|
|
22
22
|
|
|
23
23
|
@end
|
|
24
24
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
15
15
|
#import <ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>
|
|
16
16
|
#import <ReactNativeMaps/generated/RNMapsSpecs.h>
|
|
17
|
-
#import <ReactNativeMaps/generated/
|
|
17
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
18
18
|
#import <ReactNativeMaps/generated/ComponentDescriptors.h>
|
|
19
19
|
#import <ReactNativeMaps/generated/EventEmitters.h>
|
|
20
20
|
#import <ReactNativeMaps/generated/Props.h>
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
#import "AIRMapMarker.h"
|
|
12
12
|
#import "AIRMapMarkerManager.h"
|
|
13
13
|
#if __has_include(<ReactNativeMaps/generated/RNMapsAirModuleDelegate.h>)
|
|
14
|
-
#import <ReactNativeMaps/generated/
|
|
14
|
+
#import <ReactNativeMaps/generated/RNMapsHostViewDelegate.h>
|
|
15
15
|
#import <ReactNativeMaps/generated/ComponentDescriptors.h>
|
|
16
16
|
#import <ReactNativeMaps/generated/EventEmitters.h>
|
|
17
17
|
#import <ReactNativeMaps/generated/Props.h>
|
|
18
18
|
#import <ReactNativeMaps/generated/RCTComponentViewHelpers.h>
|
|
19
19
|
#else
|
|
20
|
-
#import "../generated/
|
|
20
|
+
#import "../generated/RNMapsHostViewDelegate.h"
|
|
21
21
|
#import "../generated/RNMapsSpecs/ComponentDescriptors.h"
|
|
22
22
|
#import "../generated/RNMapsSpecs/EventEmitters.h"
|
|
23
23
|
#import "../generated/RNMapsSpecs/Props.h"
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
7
7
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
8
|
-
"version": "1.24.
|
|
8
|
+
"version": "1.24.5",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|
|
@@ -109,6 +109,14 @@
|
|
|
109
109
|
"includesGeneratedCode": true,
|
|
110
110
|
"android": {
|
|
111
111
|
"javaPackageName": "com.rnmaps.fabric"
|
|
112
|
+
},
|
|
113
|
+
"ios": {
|
|
114
|
+
"componentProvider": {
|
|
115
|
+
"RNMapsGoogleMapView": "RNMapsGoogleMapView",
|
|
116
|
+
"RNMapsGooglePolygon": "RNMapsGooglePolygonView",
|
|
117
|
+
"RNMapsMapView": "RNMapsMapView",
|
|
118
|
+
"RNMapsMarker": "RNMapsMarkerView"
|
|
119
|
+
}
|
|
112
120
|
}
|
|
113
121
|
},
|
|
114
122
|
"engines": {
|