this is the code i am using in the onDevice Ready function i call window.open when i use ionic view app and phonegap developer app to test the app on my android device it works very fine but when i upload the zip file to phonegap build i just see a blank white page when the app starts and does not load anything does anybody have any idea why is this happening
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
window.open("https://google.com","_self");
app.receivedEvent('deviceready');
// 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) {
StatusBar.styleDefault();
}
});
});