简体   繁体   中英

How do I get config preferences for a cordova plugin/project using Javascript?

Is there any way to get config preferences for a cordova plugin/project using Javascript?

I inspected the code of various cordova modules but I couldn't find any public API.

I also looked at the window.cordova object. Nothing.

Can you help, please?

Readymade plugin is available in the following git repo for certain predefined preferences like app name, version no and version code.

But if you are looking to get these values in android, iOS or browser, check out this link which gives more info

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM