Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: prevent location from being accessed continuously on Windows (#8110)

Lucas7599c1902d55
diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lock
index 481cc1482b..f1da287467 100644
--- a/frontend/appflowy_flutter/pubspec.lock
+++ b/frontend/appflowy_flutter/pubspec.lock
@@ -1605,27 +1605,28 @@ packages:
permission_handler:
dependency: "direct main"
description:
- name: permission_handler
- sha256: "18bf33f7fefbd812f37e72091a15575e72d5318854877e0e4035a24ac1113ecb"
- url: "https://pub.dev"
- source: hosted
- version: "11.3.1"
+ path: permission_handler
+ ref: faef1c9
+ resolved-ref: faef1c97970de29995642bfae61b884591798684
+ url: "https://github.com/LucasXu0/flutter-permission-handler.git"
+ source: git
+ version: "12.0.1"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
- sha256: "71bbecfee799e65aff7c744761a57e817e73b738fedf62ab7afd5593da21f9f1"
+ sha256: "1e3bc410ca1bf84662104b100eb126e066cb55791b7451307f9708d4007350e6"
url: "https://pub.dev"
source: hosted
- version: "12.0.13"
+ version: "13.0.1"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
- sha256: e6f6d73b12438ef13e648c4ae56bd106ec60d17e90a59c4545db6781229082a0
+ sha256: f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023
url: "https://pub.dev"
source: hosted
- version: "9.4.5"
+ version: "9.4.7"
permission_handler_html:
dependency: transitive
description:
@@ -1638,10 +1639,10 @@ packages:
dependency: transitive
description:
name: permission_handler_platform_interface
- sha256: e9c8eadee926c4532d0305dff94b85bf961f16759c3af791486613152af4b4f9
+ sha256: eb99b295153abce5d683cac8c02e22faab63e50679b937fa1bf67d58bb282878
url: "https://pub.dev"
source: hosted
- version: "4.2.3"
+ version: "4.3.0"
permission_handler_windows:
dependency: transitive
description:
diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yaml
index cfe9ffe56d..75a190530f 100644
--- a/frontend/appflowy_flutter/pubspec.yaml
+++ b/frontend/appflowy_flutter/pubspec.yaml
@@ -109,7 +109,6 @@ dependencies:
mime: ^2.0.0
nanoid: ^1.0.0
numerus: ^2.1.2
-
# Used to open local files on Mobile
open_filex: ^4.5.0
package_info_plus: ^8.0.2
@@ -246,14 +245,13 @@ dependency_overrides:
url: https://github.com/LucasXu0/unsplash_client.git
ref: a8411fc
- # auto_updater:
- # path: /Users/lucas.xu/Desktop/auto_updater/packages/auto_updater
-
- # auto_updater_macos:
- # path: /Users/lucas.xu/Desktop/auto_updater/packages/auto_updater_macos
-
- # auto_updater_platform_interface:
- # path: /Users/lucas.xu/Desktop/auto_updater/packages/auto_updater_platform_interface
+ # https://github.com/LucasXu0/flutter-permission-handler/commit/faef1c97970de29995642bfae61b884591798684
+ # Prevent the location from being accessed continuously on Windows
+ permission_handler:
+ git:
+ url: https://github.com/LucasXu0/flutter-permission-handler.git
+ path: permission_handler
+ ref: faef1c9
flutter:
generate: true