react-native-maps 1.21.0-alpha.128 → 1.21.0-alpha.129

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/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.21.0-alpha.128",
8
+ "version": "1.21.0-alpha.129",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",
@@ -21,40 +21,40 @@ Pod::Spec.new do |s|
21
21
  install_modules_dependencies(s)
22
22
 
23
23
  # Add script phase to detect Google Maps
24
- # Add script phase to detect Google Maps
25
- s.script_phases = [{
26
- : name => 'Check react-native-google-maps Availability',
27
- : script => % (
28
- set - x echo "Running Google Maps detection script..."
29
- GOOGLE_MAPS_HEADER_PATH = "$PODS_ROOT/Headers/Public/react-native-google-maps/AIRGoogleMap.h"
30
- DEFINES_DIR = "${PODS_TARGET_SRCROOT}/ios/AirMaps"
31
- DEFINES_FILE = "${DEFINES_DIR}/RNMapsDefines.h"
32
-
33
- echo "GOOGLE_MAPS_HEADER_PATH=$GOOGLE_MAPS_HEADER_PATH"
34
- echo "DEFINES_FILE=$DEFINES_FILE"
35
-
36
- # Create directory with explicit bash commands /
37
- bin / mkdir - p "$DEFINES_DIR"
38
-
39
- # Check
40
- if Google Maps is available and write to the defines file
41
- if [-f "$GOOGLE_MAPS_HEADER_PATH"]; then echo "#define HAVE_GOOGLE_MAPS 1" > "$DEFINES_FILE"
42
- echo "Google Maps detected. HAVE_GOOGLE_MAPS defined."
43
- else
44
- echo "#define HAVE_GOOGLE_MAPS 0" > "$DEFINES_FILE"
45
- echo "Google Maps not detected."
46
- fi
47
-
48
- # Verify the file was written
49
- if [-f "$DEFINES_FILE"]; then echo "Successfully wrote to $DEFINES_FILE"
50
- cat "$DEFINES_FILE"
51
- else
52
- echo "ERROR: Failed to write to $DEFINES_FILE"
53
- fi
54
-
55
- ),
56
- : execution_position =>: before_compile
57
- }]
24
+ s.script_phases = [
25
+ {
26
+ :name => 'Check react-native-google-maps Availability',
27
+ :script => %(
28
+ set - x echo "Running Google Maps detection script..."
29
+ GOOGLE_MAPS_HEADER_PATH = "$PODS_ROOT/Headers/Public/react-native-google-maps/AIRGoogleMap.h"
30
+ DEFINES_DIR = "${PODS_TARGET_SRCROOT}/ios/AirMaps"
31
+ DEFINES_FILE = "${DEFINES_DIR}/RNMapsDefines.h"
32
+
33
+ echo "GOOGLE_MAPS_HEADER_PATH=$GOOGLE_MAPS_HEADER_PATH"
34
+ echo "DEFINES_FILE=$DEFINES_FILE"
35
+
36
+ # Create directory with explicit bash commands /
37
+ bin / mkdir - p "$DEFINES_DIR"
38
+
39
+ # Check
40
+ if Google Maps is available and write to the defines file
41
+ if [-f "$GOOGLE_MAPS_HEADER_PATH"]; then echo "#define HAVE_GOOGLE_MAPS 1" > "$DEFINES_FILE"
42
+ echo "Google Maps detected. HAVE_GOOGLE_MAPS defined."
43
+ else
44
+ echo "#define HAVE_GOOGLE_MAPS 0" > "$DEFINES_FILE"
45
+ echo "Google Maps not detected."
46
+ fi
47
+
48
+ # Verify the file was written
49
+ if [-f "$DEFINES_FILE"]; then echo "Successfully wrote to $DEFINES_FILE"
50
+ cat "$DEFINES_FILE"
51
+ else
52
+ echo "ERROR: Failed to write to $DEFINES_FILE"
53
+ fi
54
+ ),
55
+ :execution_position => :before_compile
56
+ }
57
+ ]
58
58
 
59
59
  # Add the generated defines header to the header search path
60
60
  s.pod_target_xcconfig = {