title: React Native - TypeError: n.createContext is not a function. (In 'n.createContext(o.default)', 'n.createContext' is undefined)
body: <p>I'm trying to implement React Native into an existing Android application. I follow the steps in the official documentation and I have ended with the following error when I compile the app (Although I receive an error the build is successful).</p>
  <hr />
  <p><strong>On my phone:</strong></p>
  <p><a href="https://i.stack.imgur.com/O2F5R.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O2F5R.jpg" alt="The error" /></a></p>
  <hr />
  <p><strong>In Android Studio emulator:</strong></p>
  <p><a href="https://i.stack.imgur.com/xrClp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xrClp.png" alt="enter image description here" /></a></p>
  <p><strong>Has someone faced the same issue?</strong></p>
  <p><strong>Is the <a href="https://reactnative.dev/docs/integration-with-existing-apps" rel="nofollow noreferrer">official React Native docs</a> wrong?</strong></p>