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

Fixes issue running on ReactNative 0.42.3 - 'MapMarker' has no propType for native prop 'AIRMapMarker.testId' of native type 'String' #1792

Merged
merged 7 commits into from
Nov 28, 2017

Conversation

markrickert
Copy link
Contributor

If you've been running into the dreaded MapMarker has no propType for native prop AIRMapMarker.testID of native type String or something similar, this is the fix! Two lines!

Closes #1650
Closes #1532
Closes #1656

@christopherdro
Copy link
Collaborator

Hey! Thanks for making this pull request.

The changes here will end up causing issues for apps using the latest versions of RN since View.propTypes is deprecated.

Could you update your pull request to use this approach?

https://github.com/airbnb/react-native-maps/blob/master/lib/components/MapView.js#L49-L50

Would be great to check that all components here https://github.com/airbnb/react-native-maps/tree/master/lib/components are similiar.

@markrickert
Copy link
Contributor Author

Great idea @christopherdro, thanks for pointing me in the right direction. This bug took me an ungodly amount of time to find and fix, and i like your overall solution.

We should be good to go with this PR now!

@christopherdro
Copy link
Collaborator

Thank you sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants