How to install react-navigation to an ejected expo project?

71 Views Asked by At

currently I ejected my Expo project because I am working with the Bluetooth Low Energy library, and when I try to install React Navigation, I am facing the error "Invariant Violation: requireNativeComponent "RNSScreen" was not found". It's very frustrating, and I would appreciate your help.

I have tried the following steps, but I didn't get any results:

1. I followed the steps in React Navigation documentation, but it failed.

  1. I tried it on a non-ejected project, and it worked. Then I ejected my project and encountered the same error again. There may be an issue with the ejection process, and the library may not be usable.
0

There are 0 best solutions below