这是插件https://github.com/simian-lab/cordova-plugin-app-resources
的网址此功能是否正常工作
cordova.getAppResources
.getResources('app_name')
.then((appName) => console.log('the app name is:', appName))
我知道在android中,您可以在build.gradle文件中设置变量,但在ios中是如何设置的?我认为您必须在xcode中设置它,但是如何?那么这个插件适用于2个平台吗?