-
-
Save marcandreappel/17953622f3c6d820a0d2e3350b34212e to your computer and use it in GitHub Desktop.
Ionic2 Pushwoosh app.ts sample
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
import {Componente} from '@angular/core'; | |
import {Platform, ionicBootstrap} from 'ionic-angular'; | |
import {PushwooshService} from './services/pushwoosh.service'; | |
@Component({ | |
template: '<ion-nav [root]="rootPage" #ionNav></ion-nav>', | |
}) | |
export class MyApp { | |
constructor(private platform:Platform, | |
private pushwooshService:PushwooshService) { | |
platform.ready().then(() => { | |
this.pushwooshService.init(); | |
}); | |
} | |
ionicBootstrap(MyApp, [PushwooshService]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment