cordova-13/config.xml
2024-12-16 21:06:03 +08:00

34 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="com.example.tao" version="1.0.0">
<name>APP</name>
<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:*"/>
<allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/>
<allow-intent href="market:*"/>
<platform name="android">
<preference name="Fullscreen" value="true"/>
<icon src="logo.png"></icon>
</platform>
<!-- 设置Java和Gradle版本 -->
<preference name="android-minSdkVersion" value="24" />
<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>