My apologies if this is not the right place to post this.
I created a starter app and compiled it and it ran on my Samsung S4. Great
I modified the app and it works perfectly in the chrome browser. After installing the modified onto my phone I got the White Screen of Death. After many hours of searching and trying everything I could find, still no joy.
I decided to start removing code until it worked again. Finally it started working again after removing the Angular Moments.
In the index.html
<!-- moment --> <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"></script> <!-- angular moment --> <script src="//cdnjs.cloudflare.com/ajax/libs/angular-moment/0.8.2/angular-moment.min.js"></script>
The app still works with these lines in the index.html. It only stops working when I include it in the app.js.
var app = angular.module(‘MyApp’, [‘ionic’, ‘MyApp.controllers’, ‘firebase’, ‘angularMoment’])
If i remove the angularMoment the app works on the phone.
var app = angular.module(‘MyApp’, [‘ionic’, ‘MyApp.controllers’, ‘firebase’])
I am very new to Angular, Ionic and app development in general so I am unable to figure out why it does not work so for now I will do without it.
I hope this helps somebody and that someone can figure it out.