xref: /MusicFree/android/app/src/main/AndroidManifest.xml (revision 953686533e4555bd85920153cde941607b67f7d1)
1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2    package="fun.upup.musicfree">
3
4    <uses-permission android:name="android.permission.INTERNET" />
5    <uses-permission android:name="android.permission.WAKE_LOCK" />
6    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
7    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
8    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
9    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
10    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
11    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
12
13    <application
14        android:name=".MainApplication"
15        android:allowBackup="false"
16        android:icon="@mipmap/ic_launcher"
17        android:label="@string/app_name"
18        android:requestLegacyExternalStorage="true"
19        android:roundIcon="@mipmap/ic_launcher_round"
20        android:theme="@style/BootTheme"
21        android:usesCleartextTraffic="true">
22        <activity
23            android:name=".MainActivity"
24            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
25            android:exported="true"
26            android:label="@string/app_name"
27            android:launchMode="singleTask"
28            android:windowSoftInputMode="adjustResize">
29            <intent-filter>
30                <action android:name="android.intent.action.MAIN" />
31                <category android:name="android.intent.category.LAUNCHER" />
32            </intent-filter>
33             <intent-filter>
34                 <action android:name="android.intent.action.VIEW" />
35                <category android:name="android.intent.category.DEFAULT" />
36                <category android:name="android.intent.category.BROWSABLE" />
37                <data android:scheme="musicfree" android:host="app"/>
38                <data android:scheme="musicfree" android:host="install"/>
39            </intent-filter>
40            <intent-filter>
41                <action android:name="android.intent.action.VIEW" />
42                <category android:name="android.intent.category.DEFAULT" />
43                <category android:name="android.intent.category.BROWSABLE" />
44                <data android:host="*" />
45                <data android:scheme="file"/>
46                <data android:scheme="content"/>
47                <data android:mimeType="*/*" />
48                <data android:pathSuffix=".js" />
49                <data android:pathSuffix=".mp3" />
50                <data android:pathSuffix=".flac" />
51                <data android:pathSuffix=".m4a" />
52                <data android:pathSuffix=".wav" />
53            </intent-filter>
54        </activity>
55        <activity-alias
56            android:name="${applicationId}.MainActivityDefault"
57            android:enabled="false"
58            android:exported="true"
59            android:icon="@mipmap/ic_launcher"
60            android:targetActivity=".MainActivity"
61            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
62            android:label="@string/app_name"
63            android:launchMode="singleTask"
64            android:windowSoftInputMode="adjustResize"
65            >
66            <intent-filter>
67                <action android:name="android.intent.action.MAIN" />
68                <category android:name="android.intent.category.LAUNCHER" />
69            </intent-filter>
70            <intent-filter>
71                <action android:name="android.intent.action.VIEW" />
72                <category android:name="android.intent.category.DEFAULT" />
73                <category android:name="android.intent.category.BROWSABLE" />
74                <data android:scheme="musicfree" android:host="app"/>
75                <data android:scheme="musicfree" android:host="install"/>
76            </intent-filter>
77            <intent-filter>
78                <action android:name="android.intent.action.VIEW" />
79                <category android:name="android.intent.category.DEFAULT" />
80                <category android:name="android.intent.category.BROWSABLE" />
81                <data android:host="*" />
82                <data android:scheme="file"/>
83                <data android:scheme="content"/>
84                <data android:mimeType="*/*" />
85                <data android:pathSuffix=".js" />
86                <data android:pathSuffix=".mp3" />
87                <data android:pathSuffix=".flac" />
88                <data android:pathSuffix=".m4a" />
89                <data android:pathSuffix=".wav" />
90            </intent-filter>
91        </activity-alias>
92        <activity-alias
93            android:name="${applicationId}.MainActivityLogo1"
94            android:enabled="false"
95            android:exported="true"
96            android:icon="@mipmap/musicfree_logo_1"
97            android:targetActivity=".MainActivity"
98            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
99            android:label="@string/app_name"
100            android:launchMode="singleTask"
101            android:windowSoftInputMode="adjustResize"  >
102            <intent-filter>
103                <action android:name="android.intent.action.MAIN" />
104                <category android:name="android.intent.category.LAUNCHER" />
105            </intent-filter>
106            <intent-filter>
107                <action android:name="android.intent.action.VIEW" />
108                <category android:name="android.intent.category.DEFAULT" />
109                <category android:name="android.intent.category.BROWSABLE" />
110                <data android:scheme="musicfree" android:host="app"/>
111                <data android:scheme="musicfree" android:host="install"/>
112            </intent-filter>
113            <intent-filter>
114                <action android:name="android.intent.action.VIEW" />
115                <category android:name="android.intent.category.DEFAULT" />
116                <category android:name="android.intent.category.BROWSABLE" />
117                <data android:host="*" />
118                <data android:scheme="file"/>
119                <data android:scheme="content"/>
120                <data android:mimeType="*/*" />
121                <data android:pathSuffix=".js" />
122                <data android:pathSuffix=".mp3" />
123                <data android:pathSuffix=".flac" />
124                <data android:pathSuffix=".m4a" />
125                <data android:pathSuffix=".wav" />
126            </intent-filter>
127        </activity-alias>
128    </application>
129</manifest>
130