-
-
Save uno-de-piera/4c302ef6d71e8c44880175dfe09e24d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class MyApp { | |
constructor( | |
public platform: Platform, | |
public statusBar: StatusBar, | |
public splashScreen: SplashScreen, | |
public backend: BackendProvider | |
) { | |
this.initializeApp(); | |
} | |
initializeApp() { | |
this.platform.ready().then(() => { | |
this.backend.anyMethod().subscribe(() => { // error dependiendo de la plataforma ¿? | |
}); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment