Expo Client crashes with invalid host

The App works fine within the development environment. It used to work also after publishing to the online project. But now, when we start the published version, we get the error message “Uncaught Error: Invalid host, …” and the Expo Client crashes constantly. It still works in development mode, but crashes constantly in the published mode.

We are using Expo SDK v40 and didn’t change it.

screenshot with the error message

Hey @andreasjahn, did this start occurring after publishing a new JS bundle for your app or after upgrading the Expo Go app?

Cheers,
Adam

Hey @adamjnav, we just created a new JS bundle with expo publish.

Found, that the error was originated by using the url package. Removal of the package solved the problem for me. Thank you.