Skip to content

Commit 6bff499

Browse files
author
Rodrigo Solis
committed
Merge remote-tracking branch 'upstream/master' into feat/version-bump-upstream
* upstream/master: Add minZoom and maxZoom properties for android and ios (react-native-maps#1360) Reference install solution in issue react-native-maps#718 in install docs (react-native-maps#1448) updates npm cache clean command (react-native-maps#1450) v0.15.3 Added BatchedBridge Upgraded ios deps Use prop-types and add supprort for RN 0.45 Allow react 16.0.0-alpha [Android] Code cleanup step I - reformatting (react-native-maps#1415) Fixes google map null pointer exception (react-native-maps#1403) [iOS - Google Maps] Fix animateToCoordinate and animateToRegion (react-native-maps#1115) Update from View.propTypes to ViewPropTypes to match RN v0.44.0 (react-native-maps#1323) Fix import header for React Native 0.44.2 (react-native-maps#1362) Fix a couple typos (react-native-maps#1375)
2 parents 4e9fd7a + 045ec7e commit 6bff499

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3102
-2461
lines changed

.idea/codeStyleSettings.xml

Lines changed: 265 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.jscodeshiftignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# To run a codeshift on the react-native-maps library, cd to the root dir and run:
2+
# jscodeshift -t PATH_TO_TRANSFORM . --ignore-config .jscodeshiftignore
3+
.idea
4+
android
5+
docs
6+
example
7+
gradle
8+
node_modules
9+
scripts

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## 0.15.3 (June 27, 2017)
4+
5+
* iOS: [#1362](https://github.com/airbnb/react-native-maps/pull/1362) Updates for React 0.43-0.45 and React 16.
6+
* JS: [#1323](https://github.com/airbnb/react-native-maps/pull/1323) Updates for React 0.43-0.45 and React 16.
7+
* Android/iOS/JS: [#1440](https://github.com/airbnb/react-native-maps/pull/1440) Updates for React 0.43-0.45 and React 16.
8+
* iOS: [#1115](https://github.com/airbnb/react-native-maps/pull/1115) Fix animateToCoordinate and animateToRegion
9+
* Android: [#1403](https://github.com/airbnb/react-native-maps/pull/1403) Fix an NPE
10+
311
## 0.15.2 (May 20, 2017)
412

513
* iOS: [#1351](https://github.com/airbnb/react-native-maps/pull/1351) Fix file references

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Then add the AirGoogleMaps directory:
207207

208208
https://github.com/airbnb/react-native-maps/blob/1e71a21f39e7b88554852951f773c731c94680c9/docs/installation.md#ios
209209

210-
An unoffical step-by-step guide is also available at https://gist.github.com/heron2014/e60fa003e9b117ce80d56bb1d5bfe9e0
210+
An unofficial step-by-step guide is also available at https://gist.github.com/heron2014/e60fa003e9b117ce80d56bb1d5bfe9e0
211211

212212
## Examples
213213

docs/installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ Source: https://developers.google.com/maps/documentation/android-api/signup
123123

124124
## Troubleshooting
125125

126+
If you get the error `duplicate symbols for architecture x86_64` when building for iOS, you may need to reconfigure your linking and Podfile as [described in detail in this comment on issue #718](https://github.com/airbnb/react-native-maps/issues/718#issuecomment-295585410)
127+
126128
If you have a blank map issue, ([#118](https://github.com/airbnb/react-native-maps/issues/118), [#176](https://github.com/airbnb/react-native-maps/issues/176), [#684](https://github.com/airbnb/react-native-maps/issues/684)), try the following lines :
127129

128130
### On iOS:
@@ -203,7 +205,7 @@ Enter the name of the API key and create it.
203205
1. Clean the cache :
204206
```
205207
watchman watch-del-all
206-
npm clean cache
208+
npm cache clean
207209
```
208210

209211
1. When starting emulator, make sure you have enabled `Wipe user data`.

example/android/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def enableProguardInReleaseBuilds = false
8585

8686
android {
8787
compileSdkVersion 25
88-
buildToolsVersion "25.0.2"
88+
buildToolsVersion "25.0.3"
8989

9090
defaultConfig {
9191
applicationId "com.airbnb.android.react.maps.example"
@@ -127,8 +127,8 @@ android {
127127
}
128128

129129
dependencies {
130-
compile 'com.facebook.react:react-native:0.42.+'
131-
compile 'com.android.support:appcompat-v7:25.1.1'
132-
compile 'com.android.support:support-annotations:25.1.1'
130+
compile 'com.facebook.react:react-native:0.45.+'
131+
compile 'com.android.support:appcompat-v7:25.3.0'
132+
compile 'com.android.support:support-annotations:25.3.0'
133133
compile project(':react-native-maps-lib')
134134
}

example/android/app/src/main/java/com/airbnb/android/react/maps/example/MainActivity.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44

55

66
public class MainActivity extends ReactActivity {
7-
8-
/**
9-
* Returns the name of the main component registered from JavaScript.
10-
* This is used to schedule rendering of the component.
11-
*/
12-
@Override
13-
protected String getMainComponentName() {
14-
return "AirMapsExplorer";
15-
}
16-
7+
/**
8+
* Returns the name of the main component registered from JavaScript.
9+
* This is used to schedule rendering of the component.
10+
*/
11+
@Override
12+
protected String getMainComponentName() {
13+
return "AirMapsExplorer";
14+
}
1715
}

0 commit comments

Comments
 (0)