Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed crash for Android API level below 18 on isFromMockProvider #2172

Merged
merged 5 commits into from
Apr 9, 2018

Conversation

chaitanyadeorukhkar
Copy link
Contributor

Does any other open PR do the same thing?

No

What issue is this PR fixing?

#2169

How did you test this PR?

Tested on simulator (Android)

@chaitanyadeorukhkar chaitanyadeorukhkar changed the title Fixed crash for Android API level below 18 Fixed crash for Android API level below 18 on isFromMockProvider Apr 9, 2018
@rborn rborn merged commit 7f3d559 into react-native-maps:master Apr 9, 2018
rborn pushed a commit that referenced this pull request Apr 9, 2018
* 1. Allow canReplaceMapContent to be set on the JS side (via prop shouldReplaceMapContent) for iOS, MapKit only
2. Allow GoogleMaps on iOS to obey maximumZ
3. Added prop minimumZ for MapKit and GoogleMaps on iOS and Android

* Removed debug NSLogs

* MaximumZ was not being obeyed correctly for google maps (convert to long to compare). Get rid of compiler warnings (accidentally wrote NSUInteger instead of NSInteger)

* Typings for v0.21.0 (#2165)

* Update mapview.md (#2171)

Add 'none' option to docs for mapType

* Fixed crash for Android API level below 18 on isFromMockProvider (#2172)

* Add Mock Provider boolean on each location update

* Update mapview.md

Update docs to specify that coordinate includes mock provider boolean

* Check API is 18 or above for isFromMockProvider

* Update docs to mention API

* 1. Allow canReplaceMapContent to be set on the JS side (via prop shouldReplaceMapContent) for iOS, MapKit only
2. Allow GoogleMaps on iOS to obey maximumZ
3. Added prop minimumZ for MapKit and GoogleMaps on iOS and Android

* Removed debug NSLogs

* MaximumZ was not being obeyed correctly for google maps (convert to long to compare). Get rid of compiler warnings (accidentally wrote NSUInteger instead of NSInteger)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants