I'm making a HTTP request for data that isn't sensitive and I don't need HTTPS. Can the Cronet Engine in Android be configured to allow HTTP requests?
I'm getting this error:
The request failed. m1.mi: Exception in CronetUrlRequest: net::ERR_CLEARTEXT_NOT_PERMITTED, ErrorCode=11, InternalErrorCode=-29, Retryable=false at org.chromium.net.impl.CronetUrlRequest.onError(:com.google.android.gms.dynamite_cronetdynamite@253830038@25.38.30 (260800-0):3)
Thanks
You need to enable sending insecure http request in your android app in your manifest in your application tag with this
android:usesCleartextTraffic="true"