aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-03 23:38:07 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-03 23:38:07 +0530
commitcee800d5105b359d38681251fd2c997e1f84220d (patch)
tree20b2fab137af5df95a381231539a66edf57e0cc0
parent191186a0e3a315ca3755ed91c336fe6119f4d7d7 (diff)
downloaddaft-launcher-cee800d5105b359d38681251fd2c997e1f84220d.tar.gz
daft-launcher-cee800d5105b359d38681251fd2c997e1f84220d.zip
Fixes build issue for shared preferences
Diffstat (limited to '')
-rw-r--r--.flutter-plugins-dependencies2
-rw-r--r--TODO.md3
-rw-r--r--android/app/src/main/AndroidManifest.xml8
-rw-r--r--pubspec.lock28
-rw-r--r--pubspec.yaml4
5 files changed, 36 insertions, 9 deletions
diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies
index dc53c64..ff3074a 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":[{"name":"shared_preferences","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.3/","dependencies":[]}],"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":[]},{"name":"shared_preferences","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.3/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"android_intent","dependencies":[]},{"name":"device_apps","dependencies":[]},{"name":"shared_preferences","dependencies":[]}],"date_created":"2020-06-03 23:16:12.347212","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":[{"name":"shared_preferences","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/","dependencies":[]}],"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":[]},{"name":"shared_preferences","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.7+3/","dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+10/","dependencies":[]}],"linux":[],"windows":[],"web":[{"name":"shared_preferences_web","path":"/home/akshayn/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+7/","dependencies":[]}]},"dependencyGraph":[{"name":"android_intent","dependencies":[]},{"name":"device_apps","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]}],"date_created":"2020-06-03 23:34:53.607416","version":"1.19.0-2.0.pre.214"} \ No newline at end of file
diff --git a/TODO.md b/TODO.md
index 3ad9ce6..12482a1 100644
--- a/TODO.md
+++ b/TODO.md
@@ -9,7 +9,7 @@
## Issues
- [ ] Fix scroll/fling conflict (snap)
- [ ] Fix uninstall action issue
- - [ ] Fix build issue
+ - [X] Fix build issue
## HomePage
- [X] Create statusbar
@@ -24,6 +24,7 @@
- [X] Add uninstall action
- [X] Add goto app settings action
- [X] Add "add to favorites" action
+ - [ ] Use getStringList for favorites list you dipshit
- [ ] Sort the list according to frequently used
- [ ] 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 fcffffb..3eb3424 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -5,10 +5,10 @@
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. -->
- <!--<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />-->
+ <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
<application
android:name="io.flutter.app.FlutterApplication"
- android:label="owyn"
+ android:label="Owyn launcher"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
@@ -36,8 +36,8 @@
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
- <!--<action android:name="android.intent.action.DELETE" />-->
- <!--<action android:name="android.intent.action.UNINSTALL_PACKAGE" />-->
+ <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" />
diff --git a/pubspec.lock b/pubspec.lock
index f73fff8..5e65493 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -67,6 +67,11 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
+ flutter_web_plugins:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.0"
intl:
dependency: "direct main"
description:
@@ -108,7 +113,28 @@ packages:
name: shared_preferences
url: "https://pub.dartlang.org"
source: hosted
- version: "0.4.3"
+ version: "0.5.7+3"
+ shared_preferences_macos:
+ dependency: transitive
+ description:
+ name: shared_preferences_macos
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.0.1+10"
+ shared_preferences_platform_interface:
+ dependency: transitive
+ description:
+ name: shared_preferences_platform_interface
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ shared_preferences_web:
+ dependency: transitive
+ description:
+ name: shared_preferences_web
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.1.2+7"
sky_engine:
dependency: transitive
description: flutter
diff --git a/pubspec.yaml b/pubspec.yaml
index 0fdeb79..99a259b 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
-version: 1.0.0+1
+version: 0.0.1+1
environment:
sdk: ">=2.7.0 <3.0.0"
@@ -26,7 +26,7 @@ dependencies:
intl: ^0.16.1
device_apps: ^1.0.9
android_intent: ^0.3.7
- shared_preferences: ^0.4.3
+ shared_preferences: ^0.5.7+1
dev_dependencies:
flutter_test: