mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-01 00:00:20 +08:00
35 lines
849 B
TypeScript
35 lines
849 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { ErrorHandler, NgModule } from '@angular/core';
|
|
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
|
import { Device } from '@ionic-native/device';
|
|
import { JPush } from '@jiguang-ionic/jpush';
|
|
|
|
import { MyApp } from './app.component';
|
|
import { HomePage } from '../pages/home/home';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
MyApp,
|
|
HomePage
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
IonicModule.forRoot(MyApp)
|
|
],
|
|
bootstrap: [IonicApp],
|
|
entryComponents: [
|
|
MyApp,
|
|
HomePage
|
|
],
|
|
providers: [
|
|
StatusBar,
|
|
SplashScreen,
|
|
Device,
|
|
JPush,
|
|
{provide: ErrorHandler, useClass: IonicErrorHandler}
|
|
]
|
|
})
|
|
export class AppModule {}
|