javascript - PhonegapBuild plugins -


i'm new using plugins phonegap, know how connect plugin app via config.xml can't figure out i'm supposed put js comes plug in. want change status bar appearance integrated this: https://github.com/phonegap-build/statusbarplugin/tree/0944be5c9f96ca0e39e0079f46ffc37894a586cd change content colour need copy js somewhere, , that? in index.html, special js file? , same process every other plugin too?

thanks in advance.

all library files plugin bundled default plugins folder. using plugin, related javascript have call after deviceready event. deviceready event fired when cordova/phonegap loaded.once event fires, can safely make calls cordova apis.

ex:

document.addeventlistener("deviceready", ondeviceready, false);  function ondeviceready() {     // safe use device apis     statusbar.backgroundcolorbyname("red"); } 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -