|
1 | 1 | <manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android">
|
2 | 2 | <application tools:replace="android:label" android:label="ThreeFold Connect" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true" android:enableOnBackInvokedCallback="true">
|
3 |
| - <activity android:name=".MainActivity" android:exported="true" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 3 | + <activity android:name=".MainActivity" |
| 4 | + android:exported="true" |
| 5 | + android:launchMode="singleTop" |
| 6 | + android:theme="@style/LaunchTheme" |
| 7 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 8 | + android:showWhenLocked="true" |
| 9 | + android:turnScreenOn="true" |
4 | 10 | android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:enableOnBackInvokedCallback="false">
|
5 | 11 | <meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
|
6 | 12 | <meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
|
|
32 | 38 | </intent-filter>
|
33 | 39 | </activity>
|
34 | 40 | <meta-data android:name="flutterEmbedding" android:value="2" />
|
| 41 | + <service |
| 42 | + android:name="com.dexterous.flutterlocalnotifications.ForegroundService" |
| 43 | + android:exported="false" |
| 44 | + android:stopWithTask="false" |
| 45 | + android:foregroundServiceType="specialUse"> |
| 46 | + <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="To demonstrate how to use foreground services to show notifications"/> |
| 47 | + </service> |
| 48 | + <receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" /> |
| 49 | + <receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver"> |
| 50 | + <intent-filter> |
| 51 | + <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 52 | + <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/> |
| 53 | + <action android:name="android.intent.action.QUICKBOOT_POWERON" /> |
| 54 | + <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/> |
| 55 | + </intent-filter> |
| 56 | + </receiver> |
35 | 57 | </application>
|
36 | 58 |
|
37 | 59 | <uses-permission android:name="android.permission.INTERNET" />
|
|
41 | 63 | <uses-permission android:name="android.permission.WAKE_LOCK" />
|
42 | 64 | <uses-permission android:name="android.permission.USE_FINGERPRINT" />
|
43 | 65 | <uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
| 66 | + <uses-permission android:minSdkVersion="34" android:name="android.permission.USE_EXACT_ALARM" /> |
| 67 | + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 68 | + <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> |
| 69 | + <uses-permission android:name="android.permission.VIBRATE" /> |
| 70 | + <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> |
| 71 | + <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> |
| 72 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 73 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
44 | 74 |
|
45 | 75 | <uses-feature android:name="android.hardware.camera.autofocus" />
|
46 | 76 | <uses-feature android:name="android.hardware.camera" />
|
|
0 commit comments