Just can't get statusbar plugin working at all, out of ideas


i'm writing code on windows machine , using phonegap developer app on iphone , trying cordova-plugin-statusbar work. according adobe documentation should work in developer app.

 

i've installed directly git repo, directory , corresponding files added project no problem.

 

after added <plugin name="cordova-plugin-statusbar"/> config.xml file, added corresponding

<preference name="statusbarbackgroundcolor" value="#ff0000" />

    <preference name="statusbarstyle" value="lightcontent" /> tags config.xml file well.

 

after run "phonegap build", "phonegap serve" , open phonegap developer app on phone.

 

i've mucked things removing plugin, adding ios platform, re-adding plugin.

 

i added function try , set status bar after device ready runs code:

 

if (window.cordova && statusbar) {

    statusbar.backgroundcolorbyhexstring('#ff0000');

    alert('made here');

}

 

i alert, status bar doesn't change, nor pay attention settings placed in config.xml file.

 

i've been stuck on hours, , @ point every single google link in searches purple. maybe i'm missing fundamental understanding of how works? maybe i'm missing obvious? have no clue after wasting entire day on

 

would happily send beer money if me out this

o well, nevermind

 

 

i wound creating new blank app able change status bar text using statusbar.stylelightcontent() after device ready. i'll copy had on piece piece...



More discussions in PhoneGap


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop