We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1273665 + e633a2d commit f471a64Copy full SHA for f471a64
src/app/app.component.ts
@@ -18,8 +18,6 @@ export class MyApp {
18
pages: Array<{ title: string, component: any }>;
19
20
constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen) {
21
- this.initializeApp();
22
-
23
// used for an example of ngFor and navigation
24
this.pages = [
25
{ title: 'Page One', component: Page1 },
@@ -28,7 +26,7 @@ export class MyApp {
28
26
29
27
}
30
31
- initializeApp() {
+ ionViewDidLoad() {
32
this.platform.ready().then(() => {
33
// Okay, so the platform is ready and our plugins are available.
34
// Here you can do any higher level native things you might need.
0 commit comments