UNPKG

@regulaforensics/ionic-native-document-reader

Version:

Ionic Native wrapper for cordova documentreader

28 lines (24 loc) 672 B
import { Component } from '@angular/core'; import { Platform } from '@ionic/angular'; import { SplashScreen } from '@awesome-cordova-plugins/splash-screen/ngx'; import { StatusBar } from '@awesome-cordova-plugins/status-bar/ngx'; @Component({ selector: 'app-root', templateUrl: 'app.component.html', styleUrls: ['app.component.scss'] }) export class AppComponent { constructor( private platform: Platform, private splashScreen: SplashScreen, private statusBar: StatusBar ) { this.initializeApp(); } initializeApp() { this.platform.ready().then(() => { this.statusBar.styleDefault(); this.splashScreen.hide(); }); } }