forked from nonameShijian/noname-android-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.xml
More file actions
71 lines (71 loc) · 5.08 KB
/
Copy pathconfig.xml
File metadata and controls
71 lines (71 loc) · 5.08 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.widget.noname" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>无名杀</name>
<description>Sample Apache Cordova App</description>
<author email="dev@cordova.apache.org" href="https://cordova.apache.org">
Apache Cordova Team
</author>
<content src="index.html" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/*">
<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:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:name=".MyApplication" android:requestLegacyExternalStorage="true" android:supportsRtl="true" android:usesCleartextTraffic="true" tools:ignore="AllowBackup" />
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
<activity android:screenOrientation="sensorLandscape" />
</edit-config>
<config-file parent="/*" target="AndroidManifest.xml">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:ignore="ManifestOrder" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:maxSdkVersion="32" android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" />
<uses-permission android:maxSdkVersion="32" android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<activity android:exported="true" android:launchMode="singleTop" android:name=".LaunchActivity" android:screenOrientation="sensorLandscape" android:theme="@style/ActivityThemeLunch" tools:ignore="LockedOrientationActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:host="*" android:mimeType="application/zip" android:scheme="content" />
<data android:host="*" android:mimeType="application/7z" android:scheme="content" />
</intent-filter>
</activity>
<provider android:authorities="${applicationId}.fileProvider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />
</provider>
<meta-data android:name="android.max_aspect" android:value="2.2" />
</config-file>
<hook src="hooks/after_platform_add/copy_files.js" type="after_platform_add" />
<preference name="loglevel" value="DEBUG" />
<preference name="android-versionCode" value="10000" />
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/mipmap-xxxhdpi/icon.png" />
<preference name="AutoHideSplashScreen" value="true" />
<preference name="FadeSplashScreen" value="true" />
<preference name="FadeSplashScreenDuration" value="100" />
<preference name="AndroidWindowSplashScreenAnimationDuration" value="500" />
<preference name="AndroidPostSplashScreenTheme" value="@style/Theme.AppCompat.NoActionBar" />
<preference name="Fullscreen" value="true" />
<preference name="Orientation" value="landscape" />
<preference name="DisallowOverscroll" value="true" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<preference name="AndroidInsecureFileModeEnabled" value="false" />
<preference name="AndroidLaunchMode" value="singleTask" />
<preference name="android-targetSdkVersion" value="34" />
<preference name="android-compileSdkVersion" value="35" />
<preference name="android-buildToolsVersion" value="35.0.0" />
<preference name="GradleVersion" value="8.7" />
<preference name="scheme" value="https" />
<preference name="hostname" value="localhost" />
</widget>