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
Post a Comment