Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample or Reference app required #41

Closed
hashg opened this issue May 21, 2016 · 1 comment
Closed

Sample or Reference app required #41

hashg opened this issue May 21, 2016 · 1 comment

Comments

@hashg
Copy link

hashg commented May 21, 2016

It would be nice to have a sample app, which kind of will help early adopters. It should atleast cover basic features provided by ember-cordova.
Ember-Cli-Cordova creator had done this - https://vimeo.com/107885050

I have been facing bunch of issues. One of it is how to getride of splash screen.

Even after this it is not loading my app. still stuck at splash screen.

// app/routes/application.js
import Ember from 'ember';
import SplashscreenMixin from 'ember-cordova/mixins/device/splashscreen';

const { Route } = Ember;

export default Route.extend(SplashscreenMixin, {
    beforeModel() {
      this.get('splashscreen').hide();
    },

    model() {
      return ['red'];
    }
});
@alexblom
Copy link
Member

Take a look here for a very early example: https://github.com/isleofcode/super-rentals-cordova

We'll work towards something more comprehensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants