Skip to content

Instantly share code, notes, and snippets.

@L0rdCr1s
Created August 23, 2020 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save L0rdCr1s/b955c35ba2c467b8a01d13750be43d80 to your computer and use it in GitHub Desktop.
Save L0rdCr1s/b955c35ba2c467b8a01d13750be43d80 to your computer and use it in GitHub Desktop.
Patch to update GoogleMaps to version 3.5.0 for react-native-google-places
diff --git a/node_modules/react-native-google-places/ios/NSMutableDictionary+GMSPlace.h b/node_modules/react-native-google-places/ios/NSMutableDictionary+GMSPlace.h
index 8991707..4e517b7 100644
--- a/node_modules/react-native-google-places/ios/NSMutableDictionary+GMSPlace.h
+++ b/node_modules/react-native-google-places/ios/NSMutableDictionary+GMSPlace.h
@@ -1,5 +1,6 @@
#import <Foundation/Foundation.h>
#import <GooglePlaces/GooglePlaces.h>
+#import <GoogleMapsBase/GoogleMapsBase.h>
@interface NSMutableDictionary (GMSPlace)
diff --git a/node_modules/react-native-google-places/react-native-google-places.podspec b/node_modules/react-native-google-places/react-native-google-places.podspec
index 7445c14..9220051 100644
--- a/node_modules/react-native-google-places/react-native-google-places.podspec
+++ b/node_modules/react-native-google-places/react-native-google-places.podspec
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-fno-modules'
s.dependency 'React'
- s.dependency 'GooglePlaces', '~> 3.1.0'
- s.dependency 'GoogleMaps', '~> 3.1.0'
+ s.dependency 'GooglePlaces', '3.5.0'
+ s.dependency 'GoogleMaps', '3.5.0'
end
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment