Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

My React Native app crashes (a simple mistake)

Before the SDK 51 update came to Expo, my application was working, but now when I navigate between tabs or click a button with a navigator, the application closes, probably due to a simple error. What is the reason and how can I solve it?

I tried:

watchman watch-del '/Users/ege'

then:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

watchman watch-project '/Users/ege'

>Solution :

It is a fresh issue of expo sdk 51.
You simply need to install reanimated library.

npx expo install react-native-reanimated

Then import it from top of your root layout file. (_layout.tsx)

import "react-native-reanimated"

More info at:
https://github.com/expo/expo/issues/28618

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading