@maplibre/maplibre-react-native 11.0.0-alpha.38 → 11.0.0-alpha.39

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.
@@ -9,9 +9,14 @@
9
9
 
10
10
  #import <React/RCTBridge+Private.h>
11
11
  #import <React/RCTConversions.h>
12
- #import <react/utils/FollyConvert.h>
13
12
  #import "MLRNImages.h"
14
13
 
14
+ #if __has_include(<react/utils/FollyConvert.h>)
15
+ #import <react/utils/FollyConvert.h>
16
+ #elif __has_include("FollyConvert.h")
17
+ #import "FollyConvert.h"
18
+ #endif
19
+
15
20
  using namespace facebook::react;
16
21
 
17
22
  // MARK: - MLRNImagesComponentView
@@ -8,9 +8,14 @@
8
8
  #import "RCTFabricComponentsPlugins.h"
9
9
 
10
10
  #import <React/RCTConversions.h>
11
- #import <react/utils/FollyConvert.h>
12
11
  #import "MLRNMapView.h"
13
12
 
13
+ #if __has_include(<react/utils/FollyConvert.h>)
14
+ #import <react/utils/FollyConvert.h>
15
+ #elif __has_include("FollyConvert.h")
16
+ #import "FollyConvert.h"
17
+ #endif
18
+
14
19
  using namespace facebook::react;
15
20
 
16
21
  struct PressEvent {
@@ -8,9 +8,14 @@
8
8
  #import "RCTFabricComponentsPlugins.h"
9
9
 
10
10
  #import <React/RCTConversions.h>
11
- #import <react/utils/FollyConvert.h>
12
11
  #import "MLRNGeoJSONSource.h"
13
12
 
13
+ #if __has_include(<react/utils/FollyConvert.h>)
14
+ #import <react/utils/FollyConvert.h>
15
+ #elif __has_include("FollyConvert.h")
16
+ #import "FollyConvert.h"
17
+ #endif
18
+
14
19
  using namespace facebook::react;
15
20
 
16
21
  // MARK: - MLRNGeoJSONSourceComponentView
@@ -8,9 +8,14 @@
8
8
  #import "RCTFabricComponentsPlugins.h"
9
9
 
10
10
  #import <React/RCTConversions.h>
11
- #import <react/utils/FollyConvert.h>
12
11
  #import "MLRNImageSource.h"
13
12
 
13
+ #if __has_include(<react/utils/FollyConvert.h>)
14
+ #import <react/utils/FollyConvert.h>
15
+ #elif __has_include("FollyConvert.h")
16
+ #import "FollyConvert.h"
17
+ #endif
18
+
14
19
  using namespace facebook::react;
15
20
 
16
21
  // MARK: - MLRNImageSourceComponentView
@@ -8,10 +8,15 @@
8
8
  #import "RCTFabricComponentsPlugins.h"
9
9
 
10
10
  #import <React/RCTConversions.h>
11
- #import <react/utils/FollyConvert.h>
12
11
  #import <MapLibre/MapLibre.h>
13
12
  #import "MLRNVectorSource.h"
14
13
 
14
+ #if __has_include(<react/utils/FollyConvert.h>)
15
+ #import <react/utils/FollyConvert.h>
16
+ #elif __has_include("FollyConvert.h")
17
+ #import "FollyConvert.h"
18
+ #endif
19
+
15
20
  using namespace facebook::react;
16
21
 
17
22
  // MARK: - MLRNVectorSourceComponentView
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maplibre/maplibre-react-native",
3
3
  "description": "React Native library for creating maps with MapLibre Native for Android & iOS",
4
- "version": "11.0.0-alpha.38",
4
+ "version": "11.0.0-alpha.39",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true