diff options
Diffstat (limited to '')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 14 | ||||
| -rw-r--r-- | android/settings_aar.gradle | 1 |
2 files changed, 10 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. diff --git a/android/settings_aar.gradle b/android/settings_aar.gradle new file mode 100644 index 0000000..e7b4def --- /dev/null +++ b/android/settings_aar.gradle @@ -0,0 +1 @@ +include ':app' |
