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

React Native error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined #9

Open
lastant opened this issue Mar 16, 2019 · 1 comment

Comments

@lastant
Copy link

lastant commented Mar 16, 2019

The app crashes on Android when trying to display the gallery. React Native 0.44.0

@lastant lastant changed the title React Native error: Element type is invalid: expected a string or a class/function but got: undefined React Native error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined Mar 16, 2019
@lastant
Copy link
Author

lastant commented Mar 17, 2019

Fixed by replacing <SafeAreaView ... > with <View ...>

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

No branches or pull requests

1 participant