Summary

An ember-service to manage splash screen displays.

For splash generation & best practices, see splash & icon generation.

Installation

ember install ember-cordova-splash

Usage

Service Path:

lookup('service:ember-cordova/splash');
// app/routes/application.js
import Ember from 'ember';

const {
  Route,
  inject: { service }
} = Ember;

export default Route.extend({
  splashScreenService: service('ember-cordova/splash'),

  afterModel() {
    this.get('splashScreenService').hide();
  }
  // ...
});

Service API

  Description
show show the splashscreen
hide hide the splashscreen