Skip to content

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

Merged
rborn merged 5 commits intoreact-native-maps:masterfrom
chaitanyadeorukhkar:master
Apr 9, 2018
Merged

Fixed crash for Android API level below 18 on isFromMockProvider#2172
rborn merged 5 commits intoreact-native-maps:masterfrom
chaitanyadeorukhkar:master

Conversation

@chaitanyadeorukhkar
Copy link
Copy Markdown
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)
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
…ct-native-maps#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
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
* 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 (react-native-maps#2165)

* Update mapview.md (react-native-maps#2171)

Add 'none' option to docs for mapType

* Fixed crash for Android API level below 18 on isFromMockProvider (react-native-maps#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