|
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + xmlns:tools="http://schemas.android.com/tools" |
| 3 | + package="com.example.parse_video"> |
| 4 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 5 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 6 | + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 7 | + <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> |
| 8 | + <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
| 9 | + |
| 10 | + <application |
| 11 | + android:label="parse_video" |
| 12 | + android:name="${applicationName}" |
| 13 | + android:usesCleartextTraffic="true" |
| 14 | + android:icon="@mipmap/launcher_icon"> |
| 15 | + <activity |
| 16 | + android:name=".MainActivity" |
| 17 | + android:exported="true" |
| 18 | + android:launchMode="singleTop" |
| 19 | + android:theme="@style/LaunchTheme" |
| 20 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 21 | + android:hardwareAccelerated="true" |
| 22 | + android:windowSoftInputMode="adjustResize"> |
| 23 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
| 24 | + the Android process has started. This theme is visible to the user |
| 25 | + while the Flutter UI initializes. After that, this theme continues |
| 26 | + to determine the Window background behind the Flutter UI. --> |
| 27 | + <meta-data |
| 28 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 29 | + android:resource="@style/NormalTheme" |
| 30 | + /> |
| 31 | + <intent-filter> |
| 32 | + <action android:name="android.intent.action.MAIN"/> |
| 33 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 34 | + </intent-filter> |
| 35 | + </activity> |
| 36 | + <provider |
| 37 | + android:name="vn.hunghd.flutterdownloader.DownloadedFileProvider" |
| 38 | + android:authorities="${applicationId}.flutter_downloader.provider" |
| 39 | + android:exported="false" |
| 40 | + android:grantUriPermissions="true"> |
| 41 | + <meta-data |
| 42 | + android:name="android.support.FILE_PROVIDER_PATHS" |
| 43 | + android:resource="@xml/provider_paths"/> |
| 44 | + </provider> |
| 45 | + <!-- Begin FlutterDownloader customization --> |
| 46 | + <!-- disable default Initializer --> |
| 47 | + <provider |
| 48 | + android:name="androidx.startup.InitializationProvider" |
| 49 | + android:authorities="${applicationId}.androidx-startup" |
| 50 | + android:exported="false" |
| 51 | + tools:node="merge"> |
| 52 | + <meta-data |
| 53 | + android:name="androidx.work.WorkManagerInitializer" |
| 54 | + android:value="androidx.startup" |
| 55 | + tools:node="remove" /> |
| 56 | + </provider> |
| 57 | + |
| 58 | + <!-- declare customized Initializer --> |
| 59 | + <provider |
| 60 | + android:name="vn.hunghd.flutterdownloader.FlutterDownloaderInitializer" |
| 61 | + android:authorities="${applicationId}.flutter-downloader-init" |
| 62 | + android:exported="false"> |
| 63 | + <!-- changes this number to configure the maximum number of concurrent tasks --> |
| 64 | + <meta-data |
| 65 | + android:name="vn.hunghd.flutterdownloader.MAX_CONCURRENT_TASKS" |
| 66 | + android:value="5" /> |
| 67 | + </provider> |
| 68 | + <meta-data |
| 69 | + android:name="vn.hunghd.flutterdownloader.NOTIFICATION_ICON" |
| 70 | + android:resource="@drawable/ic_stat_flutter" /> |
| 71 | + <!-- End FlutterDownloader customization --> |
| 72 | + <!-- Don't delete the meta-data below. |
| 73 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 74 | + <meta-data |
| 75 | + android:name="flutterEmbedding" |
| 76 | + android:value="2" /> |
| 77 | + </application> |
| 78 | +</manifest> |
0 commit comments