Reputation: 11
I used bare bones template because I wanted to use JavaScript in expo. But when I install expo-router and build a production apk, I get error in the app saying required native moduels RNSScreens something. why am I getting this error. Also can someone help me how should I define my main _layout.js file and do I need to put a index.js file in the root ??
I tried npm i react-native-screens and react-navigation/native and all. Nothing fixes the problem.
Upvotes: 0
Views: 53