I think the issue was by ths following , Server timeout will happen if your server is slow or your server's default timeout will be very less. in this case you can set time-out for your requests like below
client.setConnectTimeout(35, TimeUnit.SECONDS); //change timeout according to your server needs
wish helps you You can change the timeout by creating a class, which extends AppGlideModule and has annotation @GlideModule. Then you override the method registerComponents and inside it, you can create a new OkHttpClient, which you can use to control the Glide request timeout. First, you should add Glide and OkHttp3 Glide Integration library gradle dependencies in the build.gradle file:
it should still fix some issue After some research on investigating this issue here is what I found out: Apparently, this crash is caused due to a timeout error when the React Native package uses okhttp3 by the time a React Native application instance is created.