@Hagios wrote:
I created a brand new app using "ionic start runtwice blank". The only change I made was to was to log when .run is called. Here is the complete code:
angular.module('starter', ['ionic']) .run(function($ionicPlatform, $log) { $log.info("Begin .run"); $ionicPlatform.ready(function() { if(window.cordova && window.cordova.plugins.Keyboard) { // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard // for form inputs) cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); // Don't remove this line unless you know what you are doing. It stops the viewport // from snapping when text inputs are focused. Ionic handles this internally for // a much nicer keyboard experience. cordova.plugins.Keyboard.disableScroll(true); } if(window.StatusBar) { StatusBar.styleDefault(); } }); })`
And here is the log:
~/D/D/A/runtwice> ionic serve --lab -c
Running live reload server: http://localhost:35729
Watching: 0=www/**/*, 1=!www/lib/**/*
Running dev server: http://localhost:8100
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exitionic $ 0 619114 info Begin .run
0 619134 info Begin .run
Posts: 2
Participants: 1