-
Notifications
You must be signed in to change notification settings - Fork 499
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
Crashes in production only - Android and iOS #487
Comments
Here's an issue I saw describing the same stack trace I receive for the error |
Having the same problem here, everything works well on Expo and xCode. On production it crashes when the picker is opened. DId you find a way ? |
Can confirm that this SO resolution does not work for this problem. If anyone has pointers on how to fix this, that would be great. |
Hello everyone. Today I faced this problem. Initially, the array that I passed to the object was empty and I filled it with a request to the server. On emulators and launching through expo - everything is cool! But when I did the build, the application crashed. By poking, I realized that it was necessary to pass an initially non-empty array, filled it with local data and then updated it. The component started working. If this is relevant to you, please describe it. |
On Expo it causes this error mentioned below |
Did anyone manage to solve this? Thanks |
@andrewjmac Remove react-native-picker-select and use only @react-native-picker/picker it's not working well together. I gave up to use it and I wrote my own picker |
@veyselkoru Thanks for the reply, I've done just that! |
Any fix for this? |
Same problema here, the app crashes only on production at the both iOS and Android systems! |
Facing same problem, any fix? |
@amanmanhas Did this solve it in the production build? That fix works in development but didn't in production for me. |
I just added a placeholder and am receiving the same error on an iPhone with testflight |
Yes, it's fixed for me in production also |
Out of curiosity what version of android have you tested your production on?
I think it was fine on older versions but kept breaking for me on new ones.
Thanks, Andy
On 22 Jan 2023, at 04:01, amanmanhas ***@***.***> wrote:
@amanmanhas<https://github.com/amanmanhas> Did this solve it in the production build? That fix works in development but didn't in production for me.
Yes, it's fixed for me in production also
—
Reply to this email directly, view it on GitHub<#487 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACE6XWPDDM7EVJVWK3QR5LLWTSWI5ANCNFSM6AAAAAAQ2SBPFE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
It appears that this package internally uses @react-native-community/picker. I solved this after installing this lib. It works in Expo Go because this library is supported by default, but the pod wasn't natively linked this is why the app was crashing. |
crashes for me even with |
@moak |
did anyone found solution? |
I also have the same issue! It works on Expo Go but not in production. empty string instead of null in placeholder did also not work for me. should I get @react-native-community/picker ? Or can you guys recommend another library? |
it worked for me on IOS after installing @react-native-picker/picker, but still crashes on android. |
antdesign for RN works all fine! |
Describe the bug
Works in the Expo Go simulator for both Android and iOS. But crashes in production for both.
On iOS, it crashes when you try to open the picker. On Android it crashes before opening a component that has the picker import.
To Reproduce
Expected behavior
Should behave the same as when tested inside the simulator with no crashes.
Screenshots
n/a.
Additional details
Reproduction and/or code sample
The text was updated successfully, but these errors were encountered: