2017-11-21 15:35:41 +00:00
|
|
|
// (C) Copyright 2015 Martin Dougiamas
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2017-10-18 10:20:40 +00:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
import { Platform } from 'ionic-angular';
|
|
|
|
import { StatusBar } from '@ionic-native/status-bar';
|
|
|
|
import { SplashScreen } from '@ionic-native/splash-screen';
|
|
|
|
|
|
|
|
@Component({
|
2017-11-21 15:35:41 +00:00
|
|
|
templateUrl: 'app.html'
|
2017-10-18 10:20:40 +00:00
|
|
|
})
|
|
|
|
export class MyApp {
|
2017-11-21 15:35:41 +00:00
|
|
|
rootPage:any = 'CoreLoginInitPage';
|
2017-10-18 10:20:40 +00:00
|
|
|
|
2017-11-21 15:35:41 +00:00
|
|
|
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
|
|
|
|
platform.ready().then(() => {
|
|
|
|
// Okay, so the platform is ready and our plugins are available.
|
|
|
|
// Here you can do any higher level native things you might need.
|
|
|
|
statusBar.styleDefault();
|
|
|
|
splashScreen.hide();
|
|
|
|
});
|
|
|
|
}
|
2017-10-18 10:20:40 +00:00
|
|
|
}
|
|
|
|
|