|
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.cf_view"> |
| 2 | + <!-- |
| 3 | + io.flutter.app.FlutterApplication is an android.app.Application that |
| 4 | + calls FlutterMain.startInitialization(this); in its onCreate method. |
| 5 | + In most cases you can leave this as-is, but you if you want to provide |
| 6 | + additional functionality it is fine to subclass or reimplement |
| 7 | + FlutterApplication and put your custom class here. |
| 8 | + --> |
| 9 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 10 | + |
| 11 | + <!-- things for alarm management --> |
| 12 | + |
| 13 | + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 14 | + <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 15 | + <uses-permission android:name="android.permission.SET_ALARM"/> |
| 16 | + <uses-permission android:name="android.permission.VIBRATE" /> |
| 17 | + |
| 18 | + <!-- things for alarm management --> |
| 19 | + |
| 20 | + <application android:name="io.flutter.app.FlutterApplication" android:label="Codeforces" android:icon="@mipmap/ic_launcher"> |
| 21 | + <activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize"> |
| 22 | + <!-- |
| 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 | + --> |
| 28 | + <meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" /> |
| 29 | + <!-- |
| 30 | + Displays an Android View that continues showing the launch screen |
| 31 | + Drawable until Flutter paints its first frame, then this splash |
| 32 | + screen fades out. A splash screen is useful to avoid any visual |
| 33 | + gap between the end of Android's launch screen and the painting of |
| 34 | + Flutter's first frame. |
| 35 | + --> |
| 36 | + <meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" /> |
| 37 | + <intent-filter> |
| 38 | + <action android:name="android.intent.action.MAIN" /> |
| 39 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 40 | + </intent-filter> |
| 41 | + </activity> |
| 42 | + <!-- |
| 43 | + Don't delete the meta-data below. |
| 44 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java |
| 45 | + --> |
| 46 | + <meta-data android:name="flutterEmbedding" android:value="2" /> |
| 47 | + |
| 48 | + <!-- things for alarm management --> |
| 49 | + |
| 50 | + <service |
| 51 | + android:name="io.flutter.plugins.androidalarmmanager.AlarmService" |
| 52 | + android:permission="android.permission.BIND_JOB_SERVICE" |
| 53 | + android:exported="false" |
| 54 | + /> |
| 55 | + |
| 56 | + <receiver |
| 57 | + android:name="io.flutter.plugins.androidalarmmanager.AlarmBroadcastReceiver" |
| 58 | + android:exported="false" |
| 59 | + /> |
| 60 | + |
| 61 | + <receiver |
| 62 | + android:name="io.flutter.plugins.androidalarmmanager.RebootBroadcastReceiver" |
| 63 | + android:enabled="false"> |
| 64 | + <intent-filter> |
| 65 | + <action android:name="android.intent.action.BOOT_COMPLETED"> |
| 66 | + </action> |
| 67 | + </intent-filter> |
| 68 | + </receiver> |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + <receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver"> |
| 73 | + <intent-filter> |
| 74 | + <action android:name="android.intent.action.BOOT_COMPLETED"></action> |
| 75 | + </intent-filter> |
| 76 | + </receiver> |
| 77 | + |
| 78 | + <receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" /> |
| 79 | + |
| 80 | + <!-- things for alarm management --> |
| 81 | + |
| 82 | + </application> |
| 83 | + |
| 84 | +</manifest> |
0 commit comments