Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save alekseyanikin/fb731613a0ff541d97b92da13aacbc05 to your computer and use it in GitHub Desktop.

Select an option

Save alekseyanikin/fb731613a0ff541d97b92da13aacbc05 to your computer and use it in GitHub Desktop.

Revisions

  1. alekseyanikin created this gist Apr 1, 2020.
    24 changes: 24 additions & 0 deletions react-native-google-places+3.1.1.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    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..bb29eca 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