You need to update your app.component.ts with the little bit of code like bellow. Inside the initializeApp() you need to update the code.
initializeApp() { this.platform.ready().then(() => { // Okay, so the platform is ready and our plugins are available. // Here you can do any higher level native things you might need. if(this.platform.is('android')) { this.statusBar.styleLightContent(); } else{ this.statusBar.styleDefault(); } this.splashScreen.hide(); }); }
You need to update your app.component.ts with the little bit of code like bellow. Inside the initializeApp(soundcloud to mp3) you need to update the code.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
initializeApp() {
this.platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
if(this.platform.is(‘android’)) {
this.statusBar.styleLightContent();
}
else{
this.statusBar.styleDefault();
}
this.splashScreen.hide();
});
}
Question and answer is powered by AnsPress.io