fix: 修正插件ID大小写不一致问题
将插件ID从'cordova-plugin-hardwareKey'统一改为'cordova-plugin-hardwarekey',确保所有引用的一致性
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
## 安装插件
|
||||
`cordova plugin add git+https://m.shuto.cn:8681/center/cordova-plugin-hardwareKey.git`
|
||||
`cordova plugin add git+https://m.shuto.cn:8681/center/cordova-plugin-hardwarekey.git`
|
||||
|
||||
## 引入插件
|
||||
`declare const cordova: any;`
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"description": "hardwareKey plugin",
|
||||
"cordova": {
|
||||
"id": "cordova-plugin-hardwareKey",
|
||||
"id": "cordova-plugin-hardwarekey",
|
||||
"platforms": [
|
||||
"android"
|
||||
]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<plugin id="cordova-plugin-hardwareKey" version="0.0.1"
|
||||
<plugin id="cordova-plugin-hardwarekey" version="0.0.1"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
||||
<name>HardwareKey Plugin</name>
|
||||
<js-module name="cordova-plugin-hardwareKey" src="www/hardwareKey.js">
|
||||
<js-module name="cordova-plugin-hardwarekey" src="www/hardwareKey.js">
|
||||
<clobbers target="cordova.plugin.hardwareKey"/>
|
||||
</js-module>
|
||||
<platform name="android">
|
||||
|
||||
Reference in New Issue
Block a user