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

Plugin crashes an EAS Preview Build but works on development build #531

Closed
pushparajsamant opened this issue Jun 21, 2022 · 2 comments
Closed

Comments

@pushparajsamant
Copy link

Describe the bug
When built with eas development profile, the plugin runs well but when built with eas preview it fails to find the DatePicker element and crashes the app. Gives the following error

**Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Expected behavior
It should be able to access the DatePicker in the eas preview build

To Reproduce
eas build --platform android --local --profile preview

Install the app on device and try to access the page with the datepicker

My date picker code


**Smartphone (please complete the following information):**
 - OS: Both Android and iOS
 - React Native version 0.68.2
 - react-native-date-picker version 4.2.2
@pushparajsamant
Copy link
Author

Possible Solution
#532

@IngyuTae
Copy link

same issue + 1

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

3 participants