Compare commits

...

2 Commits

Author SHA1 Message Date
145096be9f feat: kotlin version 2023-09-15 13:07:40 +08:00
a7f0c20b6f 测试插件 2023-09-12 08:46:09 +08:00
5 changed files with 3576 additions and 5760 deletions

View File

@ -19,6 +19,6 @@
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="GradlePluginKotlinVersion" value="1.3.50" />
<preference name="GradlePluginKotlinVersion" value="1.6.10" />
<preference name="AndroidXEnabled" value="true" />
</widget>

5758
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,7 @@
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-splashscreen": "^6.0.1",
"cordova-plugin-statusbar": "^3.0.0",
"cordova-plugin-test-tl": "^1.1.11",
"cordova-plugin-vibration": "^3.1.1",
"es6-promise-plugin": "^4.2.2",
"phonegap-plugin-barcodescanner-fix": "^8.1.1",
@ -73,7 +74,9 @@
},
"cordova-plugin-file-transfer-jsg": {},
"cordova-plugin-app-version": {},
"cordova-plugin-file-opener2": {}
"cordova-plugin-file-opener2": {},
"cordova-plugin-test-tl": {},
"cordova-plugin-file-transfer": {}
}
},
"dependencies": {

3557
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@
<el-button @click="docPrint">文件打印</el-button>
<el-button @click="versionCheck">版本升级</el-button>
<el-button @click="installAPK" type="danger">安装apk</el-button>
<el-button @click="customPlugin">自定义插件</el-button>
</div>
</body>
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
@ -40,6 +41,19 @@
}, 600);
},
methods: {
customPlugin() {
console.log(cordovaTest);
cordovaTest.coolMethod(
"param",
(res) => {
console.log(res);
this.$message.success(res);
},
(e) => {
this.$message.error(e);
}
);
},
installAPK() {
let url = "http://3000.taoya.art/app.apk";
var filename = url.split("/").pop();