react-native-maps 1.23.3 → 1.23.4

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.23.3",
8
+ "version": "1.23.4",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",
@@ -25,8 +25,6 @@
25
25
  "ios",
26
26
  "app.plugin.js",
27
27
  "plugin/build",
28
- "react-native-maps-generated.podspec",
29
- "react-native-google-maps.podspec",
30
28
  "react-native-maps.podspec",
31
29
  "react-native.config.js",
32
30
  "!android/build",
@@ -111,14 +111,14 @@ function removeGoogleMapsAppDelegateInit(src) {
111
111
  exports.removeGoogleMapsAppDelegateInit = removeGoogleMapsAppDelegateInit;
112
112
  /**
113
113
  * @param src The contents of the Podfile.
114
+ * @param useGoogleMaps if GoogleMaps for iOS is used
114
115
  * @returns Podfile with react-native-maps integration configured.
115
116
  */
116
117
  function addMapsCocoapods(src, useGoogleMaps) {
117
118
  var newSrc = ' rn_maps_path = File.dirname(`node --print "require.resolve(\'react-native-maps/package.json\')"`) \n';
118
119
  if (useGoogleMaps) {
119
- newSrc += " pod 'react-native-google-maps', :path => rn_maps_path \n";
120
+ newSrc += " pod 'react-native-maps/Google', :path => rn_maps_path \n";
120
121
  }
121
- newSrc += " pod 'react-native-maps-generated', :path => rn_maps_path \n";
122
122
  return (0, generateCode_1.mergeContents)({
123
123
  tag: 'react-native-maps',
124
124
  src: src,