diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-06-02 23:58:56 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-06-02 23:58:56 +0530 |
| commit | 68654e9c7bdecd09d494e1919f5490c430044dfa (patch) | |
| tree | 8f9b52f95f4289182ef86e3b8ca7ac0fd98d3899 /android/app/src/main/AndroidManifest.xml | |
| parent | 3ad62745af3a23170635ace1c7e29e0df7a8ac13 (diff) | |
| download | daft-launcher-68654e9c7bdecd09d494e1919f5490c430044dfa.tar.gz daft-launcher-68654e9c7bdecd09d494e1919f5490c430044dfa.zip | |
Adds open app settings and uninstall actions
Diffstat (limited to '')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index f47f73c..3d9998a 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -4,7 +4,8 @@ calls FlutterMain.startInitialization(this); in its onCreate method. In most cases you can leave this as-is, but you if you want to provide additional functionality it is fine to subclass or reimplement - FlutterApplication and put your custom class here. --> + FlutterApplication and put your custom class here. --> + <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> <application android:name="io.flutter.app.FlutterApplication" android:label="owyn" @@ -34,10 +35,13 @@ android:resource="@drawable/launch_background" /> <intent-filter> - <action android:name="android.intent.action.MAIN"/> - <category android:name="android.intent.category.LAUNCHER"/> - <category android:name="android.intent.category.HOME" /> - <category android:name="android.intent.category.DEFAULT" /> + <action android:name="android.intent.action.MAIN"/> + <action android:name="android.intent.action.DELETE" /> + <action android:name="android.intent.action.UNINSTALL_PACKAGE" /> + <category android:name="android.intent.category.LAUNCHER"/> + <category android:name="android.intent.category.HOME" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="package" /> </intent-filter> </activity> <!-- Don't delete the meta-data below. |
