Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ionic2 Pushwoosh app.ts sample
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
You can’t perform that action at this time.