Commit e561b39e by Nabil Sadki

Launch time

parent 29001148
v1.1.0.0
- Add login form
- Optimise launch time
v1.0.8.3
- Show main slide
......
......@@ -93,17 +93,17 @@
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="19" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashScreenDelay" value="10000" />
<preference name="fullscreen" value="true" />
<preference name="SplashScreenDelay" value="0" />
<preference name="FadeSplashScreen" value="true" />
<preference name="ShowSplashScreen" value="true" />
<preference name="ShowSplashScreen" value="false" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="FadeSplashScreenDuration" value="600" />
<preference name="SplashScreenBackgroundColor" value="0xFFFFFFFF" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="fullscreen" value="true" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<preference name="SplashShowOnlyFirstTime" value="false" />
</widget>
......@@ -15,6 +15,9 @@ import { TripService } from './services/trip-service';
templateUrl: 'app.component.html'
})
export class AppComponent {
public appStarted = false;
constructor(
public LN: LocalNotifications,
private platform: Platform,
......@@ -29,6 +32,7 @@ export class AppComponent {
initializeApp() {
this.platform.ready().then(() => {
this.appStarted = true;
this.statusBar.styleDefault();
this.splashScreen.hide();
......
......@@ -29,3 +29,19 @@
color: var(--ion-color-light, #ffffff) !important;
}
}
div.start {
background: #f93129;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
transition: .5s;
ion-img {
width: 20vw;
}
ion-spinner {
transform: scale(3);
}
}
\ No newline at end of file
......@@ -18,7 +18,10 @@ export class MainsliderPage implements OnInit {
@ViewChild(IonSlides) mainSlider: IonSlides;
slideOpts = {
effect: 'flip'
effect: 'fade',
fadeEffect: {
crossFade: true
}
};
public prmMainslider: boolean;
......
......@@ -22,6 +22,10 @@
</head>
<body>
<div class="start" *ngIf="!appStarted">
<!-- <ion-img src="./assets/rings.svg"></ion-img> -->
<ion-spinner name="dots"></ion-spinner>
</div>
<app-root></app-root>
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js" crossorigin=""></script>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment