Hello,
I’ve been having issues with ngCordova plugins.
When calling $cordovaSplashscreen.hide();
I’m getting an error in the ngCordova file.
.factory(’$cordovaSplashscreen’, [ function () {
return {
hide: function () {
return navigator.splashscreen.hide();
},
show: function () {
return navigator.splashscreen.show();
}
};
uncaught TypeError: Cannot read property ‘hide’ of undefined
I have everything set up on a linux server. I use phonegap serve to test the app on my nexus 5. Sometimes the navigator functions work, some times they don’t. I’m also having the same issues with $window and device.
If anyone has any advice or any suggestions, please let me know.