Compare commits

...

13 Commits

Author SHA1 Message Date
6faa094bb6 feat: camera 版本升级 2025-09-08 13:38:38 +08:00
5ddbdfa9e0 cordova-plugin-socket-tc 2025-02-19 13:09:33 +08:00
8af3519edb feat: 更新插件 2025-01-09 10:36:01 +08:00
f766168eae feat: 添加 https://github.com/blocshop/sockets-for-cordova 插件 2025-01-09 09:10:39 +08:00
4bd64edb3f 更新 config.xml 2024-06-17 17:13:52 +08:00
aacd6e37ed 更新 config.xml 2024-06-17 17:11:53 +08:00
e529eb733b 更新 config.xml 2024-06-17 17:06:54 +08:00
aa183f19cd 更新 config.xml 2024-06-17 17:02:42 +08:00
bc97a3fc73 更新 config.xml 2024-06-17 16:45:58 +08:00
a97fc92b2f 更新 package.json 2024-04-28 09:28:54 +08:00
dfd0d9d998 feat: 佳博打印机 2024-03-13 11:13:30 +08:00
145096be9f feat: kotlin version 2023-09-15 13:07:40 +08:00
a7f0c20b6f 测试插件 2023-09-12 08:46:09 +08:00
6 changed files with 4358 additions and 886 deletions

1
.java-version Normal file
View File

@@ -0,0 +1 @@
1.8

View File

@@ -3,7 +3,7 @@
<name>APP</name>
<description>app</description>
<author email="dev@cordova.apache.org" href="https://cordova.apache.org"></author>
<content src="index.html" />
<content src="http://test.taoya.art/" />
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="tel:*"/>
@@ -14,11 +14,12 @@
<platform name="android">
<preference name="Fullscreen" value="true"/>
<icon src="logo.png"></icon>
</platform>
<plugin name="phonegap-plugin-barcodescanner" />
<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>

1658
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,7 @@
"cordova-android": "^10.1.2",
"cordova-plugin-app-version": "^0.1.14",
"cordova-plugin-battery-status": "^2.0.3",
"cordova-plugin-camera": "^6.0.0",
"cordova-plugin-camera": "7.0.0",
"cordova-plugin-device": "^2.1.0",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-file": "^6.0.2",
@@ -29,6 +29,7 @@
"cordova-plugin-file-transfer-jsg": "^2.0.0",
"cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-inappbrowser": "^5.0.0",
"cordova-plugin-jbprint-jsg": "^1.0.3",
"cordova-plugin-media": "^5.0.4",
"cordova-plugin-media-capture": "^3.0.3",
"cordova-plugin-network-information": "^3.0.0",
@@ -36,6 +37,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 +75,10 @@
},
"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": {},
"cordova-plugin-jbprint-jsg": {}
}
},
"dependencies": {

3557
pnpm-lock.yaml generated 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();