feat: Plugins
This commit is contained in:
parent
8cc0770753
commit
c64c7e0ea0
13
config.xml
13
config.xml
@ -4,6 +4,7 @@
|
||||
<description>app</description>
|
||||
<author email="dev@cordova.apache.org" href="https://cordova.apache.org"></author>
|
||||
<content src="http://test.taoya.art/" />
|
||||
<access origin="*" />
|
||||
<allow-intent href="http://*/*"/>
|
||||
<allow-intent href="https://*/*"/>
|
||||
<allow-intent href="tel:*"/>
|
||||
@ -20,9 +21,13 @@
|
||||
|
||||
<!-- 设置Java和Gradle版本 -->
|
||||
<preference name="android-minSdkVersion" value="24" />
|
||||
<preference name="android-targetSdkVersion" value="34" />
|
||||
<preference name="android-compileSdkVersion" value="34" />
|
||||
<preference name="GradleVersion" value="7.6.3" />
|
||||
<preference name="AndroidGradlePluginVersion" value="7.2.0" />
|
||||
<preference name="android-targetSdkVersion" value="35" />
|
||||
<preference name="android-compileSdkVersion" value="35" />
|
||||
<preference name="GradleVersion" value="8.7" />
|
||||
<preference name="JavaVersion" value="17" />
|
||||
<preference name="AndroidXEnabled" value="true" />
|
||||
<!-- Kotlin -->
|
||||
<preference name="GradlePluginKotlinEnabled" value="true" />
|
||||
<preference name="GradlePluginKotlinCodeStyle" value="official" />
|
||||
<preference name="GradlePluginKotlinVersion" value="1.9.24" />
|
||||
</widget>
|
||||
|
166
package-lock.json
generated
166
package-lock.json
generated
@ -19,6 +19,17 @@
|
||||
"consola": "^3.2.3",
|
||||
"cordova": "^12.0.0",
|
||||
"cordova-android": "^13.0.0",
|
||||
"cordova-plugin-app-version": "^0.1.14",
|
||||
"cordova-plugin-battery-status": "^2.0.3",
|
||||
"cordova-plugin-camera": "^2.4.1",
|
||||
"cordova-plugin-compat": "^1.2.0",
|
||||
"cordova-plugin-device": "^2.1.0",
|
||||
"cordova-plugin-file": "^4.3.3",
|
||||
"cordova-plugin-geolocation": "^2.4.3",
|
||||
"cordova-plugin-media": "^2.4.1",
|
||||
"cordova-plugin-screen-orientation": "^3.0.4",
|
||||
"cordova-plugin-statusbar": "^3.0.0",
|
||||
"cordova-plugin-vibration": "^3.1.1",
|
||||
"es6-promise-plugin": "^4.2.2",
|
||||
"eslint": "^9.17.0",
|
||||
"picocolors": "^1.1.1",
|
||||
@ -2825,6 +2836,161 @@
|
||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-app-version": {
|
||||
"version": "0.1.14",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-app-version/-/cordova-plugin-app-version-0.1.14.tgz",
|
||||
"integrity": "sha512-HN6Yz6IIdRO+iMvCHN/qMe8/O4miOpHH/pDtWNjIYTjV3MzP+XdzFJoFnq2zxlNNXFz0Zn8REGQhFY77vV4AWQ==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/cordova-plugin-battery-status": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-battery-status/-/cordova-plugin-battery-status-2.0.3.tgz",
|
||||
"integrity": "sha512-H1vSLWbDb/qivGPVV/sjAaDnF8VEoa1uOYdrTJpYrs9vRAe3S37y8Fa5LoBuKkspWiQ5P3D8q+iTnsPF0UAO7g==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"3.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-camera": {
|
||||
"version": "2.4.1",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-camera/-/cordova-plugin-camera-2.4.1.tgz",
|
||||
"integrity": "sha512-sBahi2iZ1pNc2xarpoHmuIWL6jrf2NmSG27JajUXJ5C7+zEkiJIi2Lf5e4RPwSFf7Xeg9k6mLdmmIvvhI/6RLg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"3.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-compat": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-compat/-/cordova-plugin-compat-1.2.0.tgz",
|
||||
"integrity": "sha512-TYN/aPjuU845R+7l2vUxmLji3Y4Y1kJrvPvi+GlPQ+jTIsfiVSL//PMvKEr9SC7m6b7t0LUMoJN3Fng0s8giGQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"<1.2.0": {
|
||||
"cordova": ">=5.0.0"
|
||||
},
|
||||
">=1.2.0": {
|
||||
"cordova": ">=5.0.0",
|
||||
"cordova-android": "<6.3.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-device": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-device/-/cordova-plugin-device-2.1.0.tgz",
|
||||
"integrity": "sha512-FU0Lw1jZpuKOgG4v80LrfMAOIMCGfAVPumn7AwaX9S1iU/X3OPZUyoKUgP09q4bxL35IeNPkqNWVKYduAXZ1sg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"3.0.0": {
|
||||
"cordova": ">100",
|
||||
"cordova-electron": ">=3.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-file": {
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-file/-/cordova-plugin-file-4.3.3.tgz",
|
||||
"integrity": "sha512-VrmBcB+oKHYill481tdXkTV+7pkzSyKmVs6EFd+DT0qjDnztDs/7Taz04Nol5cqzFShaS1dIXCHT5x5MGl8dxQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"5.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-geolocation": {
|
||||
"version": "2.4.3",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-geolocation/-/cordova-plugin-geolocation-2.4.3.tgz",
|
||||
"integrity": "sha512-Dii/K85KtFHXGgjqCtv1439lqVjSeV6oRBgVYu0scpq6sHiJ4nbYT4ZHeIPjTF0t8ydpOrtq3BR7DuAXgxjj4A==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"3.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-media": {
|
||||
"version": "2.4.1",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-media/-/cordova-plugin-media-2.4.1.tgz",
|
||||
"integrity": "sha512-oL27OZbKLTB9/JczQ2mepl2KpgPie2SLFPT6Ry083e+7XPjgKMhtsBQn0N7AlBiifjSEryRy6MAWMnhRwegbVw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"3.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-screen-orientation": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-screen-orientation/-/cordova-plugin-screen-orientation-3.0.4.tgz",
|
||||
"integrity": "sha512-AswRuUKJ8J3HycUilTJsIB50aa9TLrwndPNBFG+wfAPhHEqIBF0HaD0q3HbAK7ypgmaj0cvbzk84qP51IcTfrQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"4.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-statusbar": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-statusbar/-/cordova-plugin-statusbar-3.0.0.tgz",
|
||||
"integrity": "sha512-nzkeWeyLA6+1FryzO0aeB6NS8MZ45gnBYeq2VZqfdNbddZEgtpI4XPYdBVxvm9NhcVoJ3tdA1OBnQD9JryoV0Q==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"0.1.0": {
|
||||
"cordova": ">=3.0.0"
|
||||
},
|
||||
"4.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-plugin-vibration": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-plugin-vibration/-/cordova-plugin-vibration-3.1.1.tgz",
|
||||
"integrity": "sha512-qgv67Rueo4Pydfant3TwnXeFiN9dl+6lKMM6h5jYg9XewiGAGOr8vfWsTvQssC3m3xMKGS1ap3xPNH+BzZ4RMA==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"cordovaDependencies": {
|
||||
"4.0.0": {
|
||||
"cordova": ">100"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/cordova-serve": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/cordova-serve/-/cordova-serve-4.0.1.tgz",
|
||||
|
22
package.json
22
package.json
@ -25,6 +25,17 @@
|
||||
"consola": "^3.2.3",
|
||||
"cordova": "^12.0.0",
|
||||
"cordova-android": "^13.0.0",
|
||||
"cordova-plugin-app-version": "^0.1.14",
|
||||
"cordova-plugin-battery-status": "^2.0.3",
|
||||
"cordova-plugin-camera": "^2.4.1",
|
||||
"cordova-plugin-compat": "^1.2.0",
|
||||
"cordova-plugin-device": "^2.1.0",
|
||||
"cordova-plugin-file": "^4.3.3",
|
||||
"cordova-plugin-geolocation": "^2.4.3",
|
||||
"cordova-plugin-media": "^2.4.1",
|
||||
"cordova-plugin-screen-orientation": "^3.0.4",
|
||||
"cordova-plugin-statusbar": "^3.0.0",
|
||||
"cordova-plugin-vibration": "^3.1.1",
|
||||
"es6-promise-plugin": "^4.2.2",
|
||||
"eslint": "^9.17.0",
|
||||
"picocolors": "^1.1.1",
|
||||
@ -37,7 +48,16 @@
|
||||
"browser",
|
||||
"android"
|
||||
],
|
||||
"plugins": {}
|
||||
"plugins": {
|
||||
"cordova-plugin-app-version": {},
|
||||
"cordova-plugin-battery-status": {},
|
||||
"cordova-plugin-device": {},
|
||||
"cordova-plugin-geolocation": {},
|
||||
"cordova-plugin-media": {},
|
||||
"cordova-plugin-vibration": {},
|
||||
"cordova-plugin-statusbar": {},
|
||||
"cordova-plugin-screen-orientation": {}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": "^12.1.0"
|
||||
|
Loading…
Reference in New Issue
Block a user