# Iionic v4 App not working on Android v11 devices

**URL:** <https://forum.ionicframework.com/t/iionic-v4-app-not-working-on-android-v11-devices/219761>\
**Category:** Ionic Angular\
**Created:** [January 26, 2022, 12:23pm UTC](https://forum.ionicframework.com/t/iionic-v4-app-not-working-on-android-v11-devices/219761 "2022-01-26T12:23:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![startupspain2017](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@startupspain2017](https://forum.ionicframework.com/u/startupspain2017)\
**Post date:** [January 26, 2022, 12:23pm UTC](https://forum.ionicframework.com/t/iionic-v4-app-not-working-on-android-v11-devices/219761/1 "2022-01-26T12:23:39Z")

</div>

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:

```auto
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:

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/d/f/df19a4e035144c2379f59829e00d7fa44270518b.png)

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![startupspain2017](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@startupspain2017](https://forum.ionicframework.com/u/startupspain2017)\
**Post date:** [January 27, 2022, 11:58am UTC](https://forum.ionicframework.com/t/iionic-v4-app-not-working-on-android-v11-devices/219761/2 "2022-01-27T11:58:04Z")

</div>

Hi!

We have tested our App (SDK 30) on multiple devices and we have seen that on Xiaomi devices, for MIUI 12.5 and Android version 11, all HTTP calls fail with a Timeout Error. If we compile the APK for SDK 29 all HTTP calls work perfectly. Does anyone know if there is any problem with Cordova or something?

Thanks a lot.
