We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d414de6 commit e6b1359Copy full SHA for e6b1359
1 file changed
src/app/app.component.ts
@@ -14,8 +14,10 @@ export class MyApp {
14
platform.ready().then(() => {
15
// Okay, so the platform is ready and our plugins are available.
16
// Here you can do any higher level native things you might need.
17
- statusBar.styleDefault();
18
- splashScreen.hide();
+ if (platform.is('cordova')) {
+ statusBar.styleDefault();
19
+ splashScreen.hide();
20
+ }
21
});
22
}
23
0 commit comments