@exterio/react-native-yamap-lite 1.0.2 → 1.0.3

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.
@@ -17,7 +17,11 @@
17
17
  #import <react/renderer/components/YamapLiteViewSpec/RCTComponentViewHelpers.h>
18
18
 
19
19
  #import "RCTFabricComponentsPlugins.h"
20
+ #if __has_include("YamapLite/YamapLite-Swift.h")
21
+ #import "YamapLite/YamapLite-Swift.h"
22
+ #else
20
23
  #import "YamapLite-Swift.h"
24
+ #endif
21
25
  #import <YandexMapsMobile/YMKMapKitFactory.h>
22
26
 
23
27
  using namespace facebook::react;
@@ -13,7 +13,11 @@
13
13
  #import <react/renderer/graphics/Color.h>
14
14
 
15
15
  #import "RCTFabricComponentsPlugins.h"
16
+ #if __has_include("YamapLite/YamapLite-Swift.h")
17
+ #import "YamapLite/YamapLite-Swift.h"
18
+ #else
16
19
  #import "YamapLite-Swift.h"
20
+ #endif
17
21
 
18
22
  using namespace facebook::react;
19
23
 
@@ -8,7 +8,11 @@
8
8
  #import <React/RCTConversions.h>
9
9
 
10
10
  #import "RCTFabricComponentsPlugins.h"
11
+ #if __has_include("YamapLite/YamapLite-Swift.h")
12
+ #import "YamapLite/YamapLite-Swift.h"
13
+ #else
11
14
  #import "YamapLite-Swift.h"
15
+ #endif
12
16
  #import <react/renderer/components/YamapLiteViewSpec/ComponentDescriptors.h>
13
17
  #import <react/renderer/components/YamapLiteViewSpec/EventEmitters.h>
14
18
  #import <react/renderer/components/YamapLiteViewSpec/Props.h>
@@ -14,7 +14,11 @@
14
14
 
15
15
  #import "RCTFabricComponentsPlugins.h"
16
16
  #import "Utils/PointsEqual.h"
17
+ #if __has_include("YamapLite/YamapLite-Swift.h")
18
+ #import "YamapLite/YamapLite-Swift.h"
19
+ #else
17
20
  #import "YamapLite-Swift.h"
21
+ #endif
18
22
  #import <YandexMapsMobile/YMKMapKitFactory.h>
19
23
 
20
24
  using namespace facebook::react;
@@ -14,7 +14,11 @@
14
14
 
15
15
  #import "RCTFabricComponentsPlugins.h"
16
16
  #import "Utils/PointsEqual.h"
17
+ #if __has_include("YamapLite/YamapLite-Swift.h")
18
+ #import "YamapLite/YamapLite-Swift.h"
19
+ #else
17
20
  #import "YamapLite-Swift.h"
21
+ #endif
18
22
  #import <YandexMapsMobile/YMKMapKitFactory.h>
19
23
 
20
24
  using namespace facebook::react;
@@ -17,7 +17,11 @@
17
17
  #import <react/renderer/components/YamapLiteViewSpec/RCTComponentViewHelpers.h>
18
18
 
19
19
  #import "RCTFabricComponentsPlugins.h"
20
+ #if __has_include("YamapLite/YamapLite-Swift.h")
21
+ #import "YamapLite/YamapLite-Swift.h"
22
+ #else
20
23
  #import "YamapLite-Swift.h"
24
+ #endif
21
25
 
22
26
  using namespace facebook::react;
23
27
 
package/ios/YamapUtils.mm CHANGED
@@ -8,7 +8,11 @@
8
8
  #import <React/RCTBridge.h>
9
9
  #import <React/RCTUIManager.h>
10
10
 
11
+ #if __has_include("YamapLite/YamapLite-Swift.h")
12
+ #import "YamapLite/YamapLite-Swift.h"
13
+ #else
11
14
  #import "YamapLite-Swift.h"
15
+ #endif
12
16
  #import <YandexMapsMobile/YMKMapKitFactory.h>
13
17
  #import <YandexMapsMobile/YRTI18nManager.h>
14
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exterio/react-native-yamap-lite",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A lightweight wrapper for the Yandex MapKit SDK",
5
5
  "main": "./lib/module/index.js",
6
6
  "module": "./lib/module/index.js",