Hi!
We are having problems migrating our app to Android SDK 30 because of new Google Play requirements. It was running on SDK 29. The problem appears only in devices with Android 11 or higher, not on web browsers.
We have updated cordova-android plugin to version 9.1.0.
We are calling to a Web Service with POST method through Angular HTTPClient. Here is our code:
this.http.post<any>(`${serverURI}${wsURI}`, jsonBody)
.pipe(timeout(20000),
tap(res => {
if(!this.isDefined(showLoader) || showLoader === true || wsURI=="/template/backend-login/public/login") {
this.hideLoader();
}
if(res['error']) {
this.logger.error("baseCallWebService --> " + serverURI + wsURI + " #### " + JSON.stringify(jsonBody) + " ==> " + res['message']);
this.showAlert(this.errorLevel, res['error']);
}
})
The same call is working in older Android devices and has been tested with POSTMAN and with all browsers. The response time from backend is always lower than 1 second.
Here is the error:
Thanks a lot.
1 post - 1 participant