* 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
* 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.+
This updates the android lib and sample to make it work with RN 0.27.2.
Unfortunately Maven Central won't let us upload the artifact with an
open dependency on RN (`+` version), so I locked it to 0.27.2 and above.
Also had to update some outdated js imports with the new ones.