Cordova/Ionic, fail if "active" prints out AFTER "Resetting plugins due to page load" and not before

Problem

In Cordova/Ionic, if I get "Resetting plugins due to page load" BEFORE "active",

Then my app seems to stop the loading process at index.html (as I do at least see an image that index shows). I can't currently check what gets loaded (via browser remote attach) as my simulator just broke and I'm dealing with that now :/

But, if "active" comes before "Resetting plugins due to page load", then the app loads fine.

Log output comparison

RoverMR:ionic_git rover$ cat sim_5_both_fail_success.txt

FAIL: "active" comes after "Resetting"

2014-10-23 14:05:33.231 Booster[16152:43410] Apache Cordova native

platform version 3.6.3 is starting. 2014-10-23 14:05:33.232

Booster[16152:43410] Multi-tasking -> Device: YES, App: YES 2014-10-23

14:05:33.237 Booster[16152:43410] Unlimited access to network

resources 2014-10-23 14:05:33.362 Booster[16152:43410]

[CDVTimer][socialsharing] 36.602020ms 2014-10-23 14:05:33.362

Booster[16152:43410] [CDVTimer][localnotification] 0.057995ms

2014-10-23 14:05:33.363 Booster[16152:43410]

[CDVTimer][localnotification] 0.005007ms 2014-10-23 14:05:33.382

Booster[16152:43410] [CDVTimer][statusbar] 19.222021ms 2014-10-23

14:05:33.382 Booster[16152:43410] Init FacebookConnect Session

2014-10-23 14:05:33.383 Booster[16152:43410]

[CDVTimer][facebookconnectplugin] 0.791013ms 2014-10-23 14:05:33.383

Booster[16152:43410] [CDVTimer][keyboard] 0.055015ms 2014-10-23

14:05:33.383 Booster[16152:43410] [CDVTimer][TotalPluginStartup]

57.492018ms 2014-10-23 14:05:33.399 Booster[16152:43410] Resetting plugins due to page load. 2014-10-23 14:05:33.414 Booster[16152:43410]

active 2014-10-23 14:05:33.714 Booster[16152:43410] Finished load of:

file:///Users/rover/Library/Developer/CoreSimulator/Devices/A5758276-B9B7-4F46-B0AF-2E575A6F5B13/data/Containers/Bundle/Application/AA5730A3-36A5-4026-80DE-C6ED19D2C2C9/Booster.app/www/index.html#/app/loading

2014-10-23 14:05:33.724 Booster[16152:43410] $ionicPlatform.ready

2014-10-23 14:05:33.724 Booster[16152:43410] CONSOLE LOG WORKS AT

APP.JS RUN: ionic.Platform.ready:ionic.Platform.device()=[object

Object] 2014-10-23 14:05:33.725 Booster[16152:43410]

installed_version=undefined 2014-10-23 14:05:33.725

Booster[16152:43410] version=v1.6.0.iOS 2014-10-23 14:05:33.725

Booster[16152:43410] window.localStorage.clear() 2014-10-23

14:05:33.728 Booster[16152:43410]

onDeviceReady:window.facebookConnectPlugin=[object Object] 2014-10-23

14:05:33.734 Booster[16152:43410] pushPlugin.register:2:result=" -

remote notifications are not supported in the simulator"

SUCCESS: "active" comes before "Resetting"

2014-10-23 14:04:00.754 Booster[13752:38499] Apache Cordova native

platform version 3.6.3 is starting. 2014-10-23 14:04:00.755

Booster[13752:38499] Multi-tasking -> Device: YES, App: YES 2014-10-23

14:04:00.761 Booster[13752:38499] Unlimited access to network

resources 2014-10-23 14:04:00.886 Booster[13752:38499]

[CDVTimer][socialsharing] 36.665022ms 2014-10-23 14:04:00.886

Booster[13752:38499] [CDVTimer][localnotification] 0.050962ms

2014-10-23 14:04:00.886 Booster[13752:38499]

[CDVTimer][localnotification] 0.005007ms 2014-10-23 14:04:00.907

Booster[13752:38499] [CDVTimer][statusbar] 20.687997ms 2014-10-23

14:04:00.907 Booster[13752:38499] Init FacebookConnect Session

2014-10-23 14:04:00.908 Booster[13752:38499]

[CDVTimer][facebookconnectplugin] 0.832021ms 2014-10-23 14:04:00.908

Booster[13752:38499] [CDVTimer][keyboard] 0.055969ms 2014-10-23

14:04:00.908 Booster[13752:38499] [CDVTimer][TotalPluginStartup]

59.078038ms 2014-10-23 14:04:00.919 Booster[13752:38499] active 2014-10-23 14:04:00.970 Booster[13752:38499] Resetting plugins due to

page load. 2014-10-23 14:04:01.328 Booster[13752:38499] Finished load

of:

file:///Users/rover/Library/Developer/CoreSimulator/Devices/A5758276-B9B7-4F46-B0AF-2E575A6F5B13/data/Containers/Bundle/Application/B3E480A3-9C21-4FA1-9699-8E1EE3E6094E/Booster.app/www/index.html#/app/login

2014-10-23 14:04:01.329 Booster[13752:38499] $ionicPlatform.ready

2014-10-23 14:04:01.329 Booster[13752:38499] CONSOLE LOG WORKS AT

APP.JS RUN: ionic.Platform.ready:ionic.Platform.device()=[object

Object] 2014-10-23 14:04:01.330 Booster[13752:38499]

installed_version=undefined 2014-10-23 14:04:01.330

Booster[13752:38499] version=v1.6.0.iOS 2014-10-23 14:04:01.330

Booster[13752:38499] window.localStorage.clear() 2014-10-23

14:04:01.333 Booster[13752:38499]

onDeviceReady:window.facebookConnectPlugin=[object Object] 2014-10-23

14:04:01.404 Booster[13752:38499] pushPlugin.register:2:result=" -

remote notifications are not supported in the simulator"

RoverMR:ionic_git rover$

CONCLUSION

DIFF with success:

lines 12 & 13 are reversed

Resetting plugins - CDVViewController.m (was not in compile sources)

active