react-native-maps 1.27.2 → 1.28.0

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
@@ -7,7 +7,7 @@
7
7
  "types": "dist/src/index.d.ts",
8
8
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
9
9
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
10
- "version": "1.27.2",
10
+ "version": "1.28.0",
11
11
  "license": "MIT",
12
12
  "scripts": {
13
13
  "lint": "eslint . --max-warnings 0",
@@ -112,8 +112,22 @@ Pod::Spec.new do |s|
112
112
  }
113
113
  # Fixed compiler flags to avoid -Wno warnings
114
114
  ss.compiler_flags = folly_compiler_flags + ' -DHAVE_GOOGLE_MAPS=1 -DHAVE_GOOGLE_MAPS_UTILS=1'
115
- ss.dependency 'GoogleMaps', '9.4.0'
116
- ss.dependency 'Google-Maps-iOS-Utils', '6.1.0'
115
+
116
+ google_maps_version = '9.4.0'
117
+ google_maps_utils_version = '6.1.0'
118
+
119
+ if defined?($RNMapsGoogleMapsVersion)
120
+ Pod::UI.puts "#{s.name}: Using user specified GoogleMaps version '#{$RNMapsGoogleMapsVersion}'"
121
+ google_maps_version = $RNMapsGoogleMapsVersion
122
+ end
123
+
124
+ if defined?($RNMapsGoogleMapsUtilsVersion)
125
+ Pod::UI.puts "#{s.name}: Using user specified Google-Maps-iOS-Utils version '#{$RNMapsGoogleMapsUtilsVersion}'"
126
+ google_maps_utils_version = $RNMapsGoogleMapsUtilsVersion
127
+ end
128
+
129
+ ss.dependency 'GoogleMaps', google_maps_version #'8.4.0'
130
+ ss.dependency 'Google-Maps-iOS-Utils', google_maps_utils_version #'5.0.0'
117
131
  ss.dependency 'react-native-maps/Generated'
118
132
  ss.dependency 'react-native-maps/Maps'
119
133
  install_modules_dependencies(ss)