[英]Is it possible to rename a cordova plugin?
I have cloned cordova InAppBrowser to my git. 我已经将cordova InAppBrowser克隆到了我的git。 But I want to rename it something line foo so that the invoking methods change on my repo after installation using cordova cli
但是我想将其重命名为foo行,以便在使用cordova cli安装后,调用方法在我的repo上发生变化
eg cordova.InAppBrowser.open > cordova.foo.open 例如cordova.InAppBrowser.open > cordova.foo.open
I Think this file needs to be changed 我认为该文件需要更改
Edit the plugin.xml and change: 编辑plugin.xml并更改:
<clobbers target="cordova.InAppBrowser.open" />
to 至
<clobbers target="cordova.foo.open" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.