Skip to content

Commit 4c4541a

Browse files
vjerancchristopherdro
authored andcommitted
fixes Option 2 building (react-native-maps#900)
* fixes Option 2 building - afaik `GMSMapStyle` is not present in 2.0.x * Update installation.md * Update installation.md
1 parent ba27245 commit 4c4541a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/installation.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ react-native link
2727
1. If you need `GoogleMaps` support also drag this folder into your project:
2828
- `node_modules/react-native-maps/ios/AirGoogleMaps/`
2929

30-
### Option 2: CocoaPods -- Untested Way
31-
NOTE: If you actually get this to work, please open an issue to let us know.
32-
This is now considered the **old way** because it is untested and if it does work at all, it
33-
will only work if you **don't** have `use_frameworks!` in your `Podfile`
30+
### Option 2: CocoaPods
31+
This is now considered the **old way** because it will only work if you **don't** have
32+
`use_frameworks!` in your `Podfile`.
3433

3534
To install using Cocoapods, simply insert the following line into your `Podfile`:
3635

react-native-google-maps.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ Pod::Spec.new do |s|
1212
s.source_files = "ios/AirGoogleMaps/**/*.{h,m}"
1313

1414
s.dependency 'React'
15-
s.dependency 'GoogleMaps', '2.0.1'
15+
s.dependency 'GoogleMaps', '2.1.1'
1616
end

0 commit comments

Comments
 (0)