I am using expo for a react native app. I am using a development build on an iOS simulator so that I am able to use Auth0 as my authentication package. I am using their build in sdk function authenticate() which launches the login page. It worked a couple times, then suddenly whenever it goes to my auth page it says “safari can’t open the page because the network connection was lost”. I did a full reset of the ios simulator and it worked again for a couple times then suddenly showed that error again. Seems to be little rhyme or reason to the pattern and I cannot debug the error because it is on the safari popup side of things. I have checked and there is internet connection on the device, if I go to safari I can surf the web like normal. It is an iPhone 16 pro simulator on iOS 18.4 (22E238).
I have tried re building the app, changing to different devices, to no avail. I am at the point where I feel like I need to dig into the underlying code, but the reason I am using expo is because I am new to native development. Many places I have seen suggestions to look at xcode logs but obviously I am not using xcode as I am using react native on expo.