From 68654e9c7bdecd09d494e1919f5490c430044dfa Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 2 Jun 2020 23:58:56 +0530 Subject: Adds open app settings and uninstall actions --- .flutter-plugins-dependencies | 2 +- TODO.md | 7 ++++--- android/app/src/main/AndroidManifest.xml | 14 +++++++++----- android/settings_aar.gradle | 1 + lib/pages/Apps.dart | 16 ++++++++++++++-- pubspec.lock | 16 +++++++++++++++- pubspec.yaml | 1 + 7 files changed, 45 insertions(+), 12 deletions(-) create mode 100644 android/settings_aar.gradle diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 2412e34..4e3c929 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[],"android":[{"name":"device_apps","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/device_apps-1.0.9/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"device_apps","dependencies":[]}],"date_created":"2020-06-02 22:12:46.920929","version":"1.19.0-2.0.pre.214"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[],"android":[{"name":"android_intent","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/android_intent-0.3.7+2/","dependencies":[]},{"name":"device_apps","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/device_apps-1.0.9/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"android_intent","dependencies":[]},{"name":"device_apps","dependencies":[]}],"date_created":"2020-06-02 23:56:41.767586","version":"1.19.0-2.0.pre.214"} \ No newline at end of file diff --git a/TODO.md b/TODO.md index b1c79d9..3b104df 100644 --- a/TODO.md +++ b/TODO.md @@ -16,9 +16,10 @@ ## Applications list - [X] Create app list - [X] Make app list searchable - - [ ] Create options menu on long press + - [X] Create options menu on long press - [ ] Add "add to favorites" action - - [ ] Add uninstall action - - [ ] Add goto app settings action + - [X] Add uninstall action + - [X] Add goto app settings action + - [ ] Fix uninstall action issue - [ ] Make app list load faster - [ ] Make keyboard close on swipe 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. --> + - - - - + + + + + + +