$ionicPlatform.ready not calling in iOS while accessing remote url


#1
.run(function ($ionicPlatform) {
     $ionicPlatform.ready(function () {
        //run once for the app
      //  PushProcessingService.initialize();
        // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
        // for form inputs)
        if (window.cordova && window.cordova.plugins.Keyboard) {
            cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
        }        
        if (window.StatusBar) {
            // org.apache.cordova.statusbar required
            StatusBar.styleDefault();
    });
})

Android it working but in ios its not calling device ready method and that’s why no native function working for the remote pages in iOS.


#2

Are the urls whitelisted in the app? It could be an issue of CORS

http://better-inter.net/enabling-cors-in-angular-js/