You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function deviceReady() {
StatusBar.backgroundColorByHexString("#660000");
StatusBar.styleLightContent();
}
document.addEventListener('deviceready', deviceReady, false);
I get what appears to be a black status bar with black text and no access to the StatusBar object in the console using weinre. Specifically I get:
ReferenceError: Can't find variable: StatusBar
However, per another user's suggestion, if I switch to using version 1.0.1 and don't make any other changes I at least get the red background but still no white text.
I am also wondering where I can access the StatusBar object. The documentation is not telling me anything about this. Why do you think there is an event 'deviceready' where the StatusBar is hooked into?
I'm using PhoneGap Build. AppID 958859.
I've got this in my config.xml:
and I've got this in my main.js file:
I get what appears to be a black status bar with black text and no access to the StatusBar object in the console using weinre. Specifically I get:
However, per another user's suggestion, if I switch to using version 1.0.1 and don't make any other changes I at least get the red background but still no white text.
I'm also able to access the StatusBar object from the console.
The text was updated successfully, but these errors were encountered: