Expo & React Native -- TypeError: Cannot read property 'hasValidAuth0Instance' of null


I am receiving this message when following the set-up steps for a React Native project built with Expo. I have run npx expo prebuild, so I am not using Expo GO, I am using a development build.

Possible Unhandled Promise Rejection (id: 0):
TypeError: Cannot read property ‘hasValidAuth0Instance’ of null

I’ve followed the set up steps from Auth0’s documentation here:

and have ensured my domain and clientId are correct, as well as making sure the bundle identifiers are correct in the app.json.

Seems like others have had this issue, but I haven’t found a clear solution.