* Upgrade React Native dev dependency to 0.54.2.
The Podfile is updated in line with the required React Native dependency changes.
This commit also makes the following changes to how Ruby gems are installed:
1. Remove the bundler "binstubs" which were previously in `examples/ios`.
Binstubs exist so that Ruby "binaries" can be executed without using
`bundle exec`. See here for an explanation:
https://github.com/rbenv/rbenv/wiki/Understanding-binstubs#project-specific-binstubs
The only place bundles are used currently is in the `build:ios` script in
`package.json`. This already uses `bundle exec`, so the binstubs were
actually never used.
2. Install the Rubygem bundles locally in `example/ios/bundles`.
`bundler` previously installed the dependencies in the global gems directory.
If you are using the default macOS Ruby installation, this requires `sudo`.
Since we already install node_modules & pods within the repo, I believe it
makes sense to also install these locally.
3. Update the `Gemfile.lock`.
The current `Gemfile.lock` specified an outdated version of Cocoapods.
This throws a warning on the current example Podfile.
Cocoapods is now updated to version 1.4.0.
* Delete unused example flowconfig.
* Make further changes according to https://github.com/ncuillery/rn-diff
* GLog was renamed to glog in RN 0.54.
https://github.com/facebook/react-native/commit/2fef1bafc8bee33432486212caf4fef5c659dd37
* Add a note in the installation docs for RN <0.54
* Android - Add support to kml file
* IOS - Support for kml file GoogleMaps
* Android - Support to kml file
* Android - Add support to kml file
* Update Doc
* Add Google-Maps-iOS-Utils to pod
* Fix lint error
* Fix param to old values
* Verify kml container
* Render custom marker by styleid
* Add event onKmlReady
* Add event onKmlReady and update docs
* IOS - KML support to local file
* Fix crash KML Marker Android
* Add multi/gradient polyline support for iOS (MapKit)
* Fixed MapExplorer not building with RN51
* Renamed color/color2 to startColor & endColor for new Polyline renderer
* Fixed gradient line sometimes not visible on certain zoom resolutions
* fix podfile and example setup instructions so the example runs
* update react, reactnative and pods deps
* simplify example setup to use existent scripts
* remove SyntheticEvent - react 16+ seems not to have it exposed anymore
* import PropTypes from prop-types
* migrate createClass to es6 Component in PanContrioler
* upgrade build.gradle to use react-native:0.51.+
React Native 0.40 (coming soon) changes the way its iOS headers should be imported. The headers are now under a directory called "React" that is in the compiler's include path, hence the new import style. On the JS side, RN 0.40 now peer-depends on React 15.4.x which moved SyntheticEvent from `react/lib` to deep inside `react-native`, so update that import as well.
Test Plan: Follow the setup instructions (https://github.com/airbnb/react-native-maps/blob/master/docs/examples-setup.md) and run the explorer app (notably verify that it compiles).
- Fix type issue in AIRMapManager
- Setup Gemfile in example/ios dir to avoid problems with different versions of cocoapods
- Update examples-setup.md to use bundler
- Change MapView so that we only set the native region prop when there is a width and height. GoogleMaps iOS requires the width and height to properly calculate the map zoom level.