diff --git a/android/build.gradle b/android/build.gradle index bbb42c6..caae105 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -45,7 +45,7 @@ dependencies { def supportLibVersion = safeExtGet('supportLibVersion', DEFAULT_SUPPORT_LIB_VERSION) implementation "com.facebook.react:react-native:+" - implementation "com.google.android.libraries.places:places:1.1.0" + implementation "com.google.android.libraries.places:places:2.5.0" implementation "com.android.support:appcompat-v7:${supportLibVersion}" implementation "com.android.support:support-v4:${supportLibVersion}" implementation "com.google.code.findbugs:jsr305:3.0.2" diff --git a/ios/NSMutableDictionary+GMSPlace.h b/ios/NSMutableDictionary+GMSPlace.h index 8991707..4e517b7 100644 --- a/ios/NSMutableDictionary+GMSPlace.h +++ b/ios/NSMutableDictionary+GMSPlace.h @@ -1,5 +1,6 @@ #import #import +#import @interface NSMutableDictionary (GMSPlace) diff --git a/react-native-google-places.podspec b/react-native-google-places.podspec index 7445c14..0c2afa1 100644 --- a/react-native-google-places.podspec +++ b/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' -end \ No newline at end of file + s.dependency 'GooglePlaces', '~> 3.8.2' + s.dependency 'GoogleMaps', '~> 3.8.2' +end