-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.xml
53 lines (51 loc) · 2.92 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version='1.0' encoding='utf-8'?>
<widget id="cn.com.phicommunity.phicommunity"
version="1.1.0"
android-versionCode="2"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<name>PhiCommunity</name>
<description>A community driven project to make a game like phigros.</description>
<author email="[email protected]" href="https://www.han-han.xyz">
Yuameshi
</author>
<content src="tapToStart/index.html" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<!-- preference -->
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="GradlePluginKotlinVersion" value="1.6.10" />
<preference name="android-minSdkVersion" value="21" />
<preference name="android-targetSdkVersion" value="30" />
<preference name="ShowTitle" value="false" />
<preference name="SetFullscreen" value="true" />
<preference name="Fullscreen" value="true" />
<preference name="orientation" value="landscape" />
<!-- Android configure -->
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest">
<manifest xmlns:tools="http://schemas.android.com/tools" />
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application
android:allowBackup="false"
android:usesCleartextTraffic="true"
tools:ignore="DataExtractionRules">
<activity android:exported="true" />
</application>
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity">
<activity android:exported="true" />
</edit-config>
<!-- <icon background="assets/AppIcon/IconBackground.xml" density="anydpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/> -->
<icon background="assets/AppIcon/IconBackground.xml" density="hdpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/>
<icon background="assets/AppIcon/IconBackground.xml" density="ldpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/>
<icon background="assets/AppIcon/IconBackground.xml" density="mdpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/>
<icon background="assets/AppIcon/IconBackground.xml" density="xhdpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/>
<icon background="assets/AppIcon/IconBackground.xml" density="xxhdpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/>
<icon background="assets/AppIcon/IconBackground.xml" density="xxxhdpi" foreground="assets/AppIcon/IconForeground.xml" src="assets/AppIcon/LegacyIcon.xml"/>
</platform>
</widget>