javascript - PhoneGap get custom preference value -


i'm wondering how possible read js value stored in config.xml?

<preference name="mycustomkey" value="myvalue" /> 

for example, need custom preference using like:

console.log(cordova.preferences.mycustomkey); 

i've found similar for ios only, i'd have cross-platform solution.

thank in advance.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -