Please help me Some of my app users are complaining or giving feedback that their app doesn't work on mobile data (Vodafone 4G) but works on wifi.
I am using Retrofit-2.6.2 and okhttp3 - 4.2.2.
Retrofit.Builder()
.baseUrl(baseurl)
.addConverterFactory(GsonConverterFactory.create())
.client(getClient())
.build()
fun getClient(): OkHttpClient {
return OkHttpClient.Builder().addInterceptor(HeaderIntercepter())
.readTimeout(2, TimeUnit.MINUTES)
.writeTimeout(2, TimeUnit.MINUTES)
.connectTimeout(2, TimeUnit.MINUTES)
.build()
}
APIs are made on Amazon server using http and https both.
What are the things missing from my side please give me solution?
Thanks in Advance.