Basicly, I'm trying to develop an app by using AngularJS,Ionic and Apache Cordova.
I get a couple of "unresolved variable" warnings within WebStorm 8 like the ones below:
angular.module('recordsApp', ['ionic']).run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
//unresolved variable Keyboard
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
//unresolved variable StatusBar
if(window.StatusBar) {
//unresolved variable or type StatusBar
//unresolved method of function styleDefault()
StatusBar.styleDefault();
}
});
});
$ionic start mapp blank
I should get a blank page with a navigation bar at the top of the screen which includes a couple of UI elements (like buttons and stuff)
A blank page with a gray bar at the top of the screen which says
"Ionic Blank Starter"
My guess is that this default screen is caused by the unresolved variables and functions
If you need any more details please feel free to ask me!
Any help is appreciated.
Thanks a lot
It has nothing to do with the warnings caused by unresolved variables.
I had to delete the code created by the template since it overwrites every other output