Getting 'java.lang.NullPointerException' after opening a blank project created by 'expo init'

Figured this out.

Expo Go on iPhone didn’t crash and was able to display an error message: “The network connection was lost”.

So this was caused by a network problem after all. The app wasn’t running on its default port 19000 due to my flawed port forwarding.

I think the Android app should be able to handle the situation as well and display appropriate error message.