# Ionic 4: this.platform.is('desktop') returns wrong value when installed apk in android 4.4.4

**URL:** <https://forum.ionicframework.com/t/ionic-4-this-platform-is-desktop-returns-wrong-value-when-installed-apk-in-android-4-4-4/165104>\
**Category:** Ionic Framework\
**Created:** [May 30, 2019, 10:27am UTC](https://forum.ionicframework.com/t/ionic-4-this-platform-is-desktop-returns-wrong-value-when-installed-apk-in-android-4-4-4/165104 "2019-05-30T10:27:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvtopiya](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dvtopiya](https://forum.ionicframework.com/u/dvtopiya)\
**Post date:** [May 30, 2019, 10:27am UTC](https://forum.ionicframework.com/t/ionic-4-this-platform-is-desktop-returns-wrong-value-when-installed-apk-in-android-4-4-4/165104/1 "2019-05-30T10:27:18Z")

</div>

I have created an app using Ionic 4 and built android app with below code .

```auto
alert('desktop ' + this.platform.is('desktop'));

```

When I installed an app in android 4.4.4 version device and emulator, it is showing the alert value as **true** whereas In other higher OS version device it is showing as **false**.

I have used platform condition at so many places in my code. Because of the above issue code is breaking in android 4.4.4 devices.

I am not able to understand why it is showing desktop platform as **true** in android _kitkat_ device?

**ionic info :**

```auto
Ionic:

   ionic (Ionic CLI) : 4.12.0 (C:\Users\user1\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework : @ionic/angular 4.4.2
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics : 7.3.9
   @angular/cli : 7.3.9
   @ionic/angular-toolkit : 1.5.1

Cordova:

   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.0.0
   Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (C:\Users\user1\AppData\Local\Android\sdk)
   NodeJS : v10.14.2 (C:\Program Files\nodejs\node.exe)
   npm : 6.4.1
   OS : Windows 10

```

Can anyone please provide any solution to this issue?
