panxingxin пре 5 година
родитељ
комит
bdbf05eb6e
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/app/app.component.ts

+ 3 - 1
src/app/app.component.ts

@@ -188,7 +188,9 @@ export class AppComponent {
       this.statusBar.styleDefault();
       this.splashScreen.hide();
       await this.getVersionNumber()
-      await this.update.isUpdate()
+      if(this.device.platform=='Android') {
+        await this.update.isUpdate()
+      }
     });
   }
   //android通过返回按钮退出应用