Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

chore: bump dependencies

Prateek Sunal51d02177ad28
diff --git a/mobile/lib/db/device_files_db.dart b/mobile/lib/db/device_files_db.dart
index ec1074eae8..94e5ac8e57 100644
--- a/mobile/lib/db/device_files_db.dart
+++ b/mobile/lib/db/device_files_db.dart
@@ -190,11 +190,11 @@ extension DeviceFiles on FilesDB {
[
pathEntity.name,
localID,
- pathEntity.assetCount,
+ await pathEntity.assetCountAsync,
pathEntity.id,
pathEntity.name,
localID,
- pathEntity.assetCount,
+ await pathEntity.assetCountAsync,
],
);
if (rowUpdated > 0) {
@@ -208,7 +208,7 @@ extension DeviceFiles on FilesDB {
{
"id": pathEntity.id,
"name": pathEntity.name,
- "count": pathEntity.assetCount,
+ "count": await pathEntity.assetCountAsync,
"cover_id": localID,
"should_backup": shouldBackup ? _sqlBoolTrue : _sqlBoolFalse,
},
@@ -339,7 +339,7 @@ extension DeviceFiles on FilesDB {
int ownerID,
) async {
final db = await database;
- const String rawQuery = '''
+ const String rawQuery = '''
SELECT ${FilesDB.columnLocalID}, ${FilesDB.columnUploadedFileID},
${FilesDB.columnFileSize}
FROM ${FilesDB.filesTable}
diff --git a/mobile/lib/generated/intl/messages_zh.dart b/mobile/lib/generated/intl/messages_zh.dart
index 65e2af71f4..73d2ae0f5e 100644
--- a/mobile/lib/generated/intl/messages_zh.dart
+++ b/mobile/lib/generated/intl/messages_zh.dart
@@ -1026,7 +1026,7 @@ class MessageLookup extends MessageLookupByLibrary {
"selectedFilesAreNotOnEnte":
MessageLookupByLibrary.simpleMessage("所选文件不在 Ente 上"),
"selectedFoldersWillBeEncryptedAndBackedUp":
- MessageLookupByLibrary.simpleMessage("所选文件夹将被加密和备份"),
+ MessageLookupByLibrary.simpleMessage("所选文件夹将被加密并备份"),
"selectedItemsWillBeDeletedFromAllAlbumsAndMoved":
MessageLookupByLibrary.simpleMessage("所选项目将从所有相册中删除并移动到回收站。"),
"selectedPhotos": m46,
diff --git a/mobile/lib/services/notification_service.dart b/mobile/lib/services/notification_service.dart
index ca9be19b54..c860f427f8 100644
--- a/mobile/lib/services/notification_service.dart
+++ b/mobile/lib/services/notification_service.dart
@@ -23,9 +23,8 @@ class NotificationService {
Future<void> init(
void Function(
NotificationResponse notificationResponse,
- )
- onNotificationTapped,
- SharedPreferences preferences,
+ ) onNotificationTapped,
+ SharedPreferences preferences,
) async {
_preferences = preferences;
const androidSettings = AndroidInitializationSettings('notification_icon');
@@ -72,7 +71,7 @@ class NotificationService {
result = await _notificationsPlugin
.resolvePlatformSpecificImplementation<
AndroidFlutterLocalNotificationsPlugin>()
- ?.requestPermission();
+ ?.requestNotificationsPermission();
}
if (result != null) {
await _preferences.setBool(keyGrantedNotificationPermission, result);
diff --git a/mobile/pubspec.lock b/mobile/pubspec.lock
index a53c6b680a..c7aa74259c 100644
--- a/mobile/pubspec.lock
+++ b/mobile/pubspec.lock
@@ -269,10 +269,10 @@ packages:
dependency: "direct main"
description:
name: collection
- sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
+ sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
- version: "1.17.2"
+ version: "1.18.0"
computer:
dependency: "direct main"
description:
@@ -311,10 +311,10 @@ packages:
dependency: transitive
description:
name: coverage
- sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097"
+ sha256: "8acabb8306b57a409bf4c83522065672ee13179297a6bb0cb9ead73948df7c76"
url: "https://pub.dev"
source: hosted
- version: "1.6.3"
+ version: "1.7.2"
cross_file:
dependency: "direct main"
description:
@@ -535,10 +535,10 @@ packages:
dependency: transitive
description:
name: file
- sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
+ sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
url: "https://pub.dev"
source: hosted
- version: "6.1.4"
+ version: "7.0.0"
file_saver:
dependency: "direct main"
description:
@@ -706,26 +706,26 @@ packages:
dependency: "direct main"
description:
name: flutter_local_notifications
- sha256: f222919a34545931e47b06000836b5101baeffb0e6eb5a4691d2d42851740dd9
+ sha256: a701df4866f9a38bb8e4450a54c143bbeeb0ce2381e7df5a36e1006f3b43bb28
url: "https://pub.dev"
source: hosted
- version: "12.0.4"
+ version: "17.0.1"
flutter_local_notifications_linux:
dependency: transitive
description:
name: flutter_local_notifications_linux
- sha256: "3c6d6db334f609a92be0c0915f40871ec56f5d2adf01e77ae364162c587c0ca8"
+ sha256: "33f741ef47b5f63cc7f78fe75eeeac7e19f171ff3c3df054d84c1e38bedb6a03"
url: "https://pub.dev"
source: hosted
- version: "2.0.0"
+ version: "4.0.0+1"
flutter_local_notifications_platform_interface:
dependency: transitive
description:
name: flutter_local_notifications_platform_interface
- sha256: "5ec1feac5f7f7d9266759488bc5f76416152baba9aa1b26fe572246caa00d1ab"
+ sha256: "7cf643d6d5022f3baed0be777b0662cce5919c0a7b86e700299f22dc4ae660ef"
url: "https://pub.dev"
source: hosted
- version: "6.0.0"
+ version: "7.0.0+1"
flutter_localizations:
dependency: "direct main"
description: flutter
@@ -1127,6 +1127,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.9.0"
+ leak_tracker:
+ dependency: transitive
+ description:
+ name: leak_tracker
+ sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
+ url: "https://pub.dev"
+ source: hosted
+ version: "10.0.0"
+ leak_tracker_flutter_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_flutter_testing
+ sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ leak_tracker_testing:
+ dependency: transitive
+ description:
+ name: leak_tracker_testing
+ sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
like_button:
dependency: "direct main"
description:
@@ -1219,18 +1243,18 @@ packages:
dependency: transitive
description:
name: matcher
- sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
+ sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
- version: "0.12.16"
+ version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev"
source: hosted
- version: "0.5.0"
+ version: "0.8.0"
media_extension:
dependency: "direct main"
description:
@@ -1315,10 +1339,10 @@ packages:
dependency: transitive
description:
name: meta
- sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
+ sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
url: "https://pub.dev"
source: hosted
- version: "1.9.1"
+ version: "1.11.0"
mgrs_dart:
dependency: transitive
description:
@@ -1462,10 +1486,10 @@ packages:
dependency: "direct main"
description:
name: path
- sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
+ sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
- version: "1.8.3"
+ version: "1.9.0"
path_drawing:
dependency: transitive
description:
@@ -1590,10 +1614,18 @@ packages:
dependency: "direct main"
description:
name: photo_manager
- sha256: "2d698826421ebd045ecc0df60422e9dd24bd22b178310b68444385f783735b55"
+ sha256: df594f989f0c31cdb3ed48f3d49cb9ffadf11cc3700d2c3460b1912c93432621
+ url: "https://pub.dev"
+ source: hosted
+ version: "3.0.0"
+ photo_manager_image_provider:
+ dependency: transitive
+ description:
+ name: photo_manager_image_provider
+ sha256: "38ef1023dc11de3a8669f16e7c981673b3c5cfee715d17120f4b87daa2cdd0af"
url: "https://pub.dev"
source: hosted
- version: "2.8.1"
+ version: "2.1.1"
photo_view:
dependency: "direct main"
description:
@@ -1614,10 +1646,10 @@ packages:
dependency: transitive
description:
name: platform
- sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76"
+ sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
url: "https://pub.dev"
source: hosted
- version: "3.1.0"
+ version: "3.1.4"
plugin_platform_interface:
dependency: transitive
description:
@@ -1654,10 +1686,10 @@ packages:
dependency: transitive
description:
name: process
- sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09"
+ sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32"
url: "https://pub.dev"
source: hosted
- version: "4.2.4"
+ version: "5.0.2"
proj4dart:
dependency: transitive
description:
@@ -1798,26 +1830,10 @@ packages:
dependency: "direct main"
description:
name: share_plus
- sha256: f582d5741930f3ad1bf0211d358eddc0508cc346e5b4b248bd1e569c995ebb7a
- url: "https://pub.dev"
- source: hosted
- version: "4.5.3"
- share_plus_linux:
- dependency: transitive
- description:
- name: share_plus_linux
- sha256: dc32bf9f1151b9864bb86a997c61a487967a08f2e0b4feaa9a10538712224da4
+ sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900"
url: "https://pub.dev"
source: hosted
- version: "3.0.1"
- share_plus_macos:
- dependency: transitive
- description:
- name: share_plus_macos
- sha256: "44daa946f2845045ecd7abb3569b61cd9a55ae9cc4cbec9895b2067b270697ae"
- url: "https://pub.dev"
- source: hosted
- version: "3.0.1"
+ version: "7.2.2"
share_plus_platform_interface:
dependency: transitive
description:
@@ -1826,22 +1842,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.3.1"
- share_plus_web:
- dependency: transitive
- description:
- name: share_plus_web
- sha256: eaef05fa8548b372253e772837dd1fbe4ce3aca30ea330765c945d7d4f7c9935
- url: "https://pub.dev"
- source: hosted
- version: "3.1.0"
- share_plus_windows:
- dependency: transitive
- description:
- name: share_plus_windows
- sha256: "3a21515ae7d46988d42130cd53294849e280a5de6ace24bae6912a1bffd757d4"
- url: "https://pub.dev"
- source: hosted
- version: "3.0.1"
shared_preferences:
dependency: "direct main"
description:
@@ -2035,10 +2035,10 @@ packages:
dependency: transitive
description:
name: stack_trace
- sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
+ sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
- version: "1.11.0"
+ version: "1.11.1"
step_progress_indicator:
dependency: "direct main"
description:
@@ -2051,10 +2051,10 @@ packages:
dependency: transitive
description:
name: stream_channel
- sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
+ sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
stream_transform:
dependency: transitive
description:
@@ -2123,26 +2123,26 @@ packages:
dependency: "direct dev"
description:
name: test
- sha256: "13b41f318e2a5751c3169137103b60c584297353d4b1761b66029bae6411fe46"
+ sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f
url: "https://pub.dev"
source: hosted
- version: "1.24.3"
+ version: "1.24.9"
test_api:
dependency: transitive
description:
name: test_api
- sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
+ sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
- version: "0.6.0"
+ version: "0.6.1"
test_core:
dependency: transitive
description:
name: test_core
- sha256: "99806e9e6d95c7b059b7a0fc08f07fc53fabe54a829497f0d9676299f1e8637e"
+ sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a
url: "https://pub.dev"
source: hosted
- version: "0.5.3"
+ version: "0.5.9"
time:
dependency: transitive
description:
@@ -2380,10 +2380,10 @@ packages:
dependency: transitive
description:
name: vm_service
- sha256: c620a6f783fa22436da68e42db7ebbf18b8c44b9a46ab911f666ff09ffd9153f
+ sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
url: "https://pub.dev"
source: hosted
- version: "11.7.1"
+ version: "13.0.0"
volume_controller:
dependency: transitive
description:
@@ -2424,14 +2424,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
- web:
- dependency: transitive
- description:
- name: web
- sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
- url: "https://pub.dev"
- source: hosted
- version: "0.1.4-beta"
web_socket_channel:
dependency: transitive
description:
@@ -2444,10 +2436,10 @@ packages:
dependency: transitive
description:
name: webdriver
- sha256: "3c923e918918feeb90c4c9fdf1fe39220fa4c0e8e2c0fffaded174498ef86c49"
+ sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e"
url: "https://pub.dev"
source: hosted
- version: "3.0.2"
+ version: "3.0.3"
webkit_inspection_protocol:
dependency: transitive
description:
@@ -2460,10 +2452,10 @@ packages:
dependency: "direct main"
description:
name: wechat_assets_picker
- sha256: f78c7797dc88e3c9170d318acc9f535ca104ab648cc69ab3b7745f1ceac29910
+ sha256: "9934724a45fdb2b12e332d8190c58713e6675c37c630d53608e0f50167215c9f"
url: "https://pub.dev"
source: hosted
- version: "8.8.1+1"
+ version: "8.9.0-dev.1"
widgets_to_image:
dependency: "direct main"
description:
@@ -2500,10 +2492,10 @@ packages:
dependency: transitive
description:
name: xdg_directories
- sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86
+ sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d
url: "https://pub.dev"
source: hosted
- version: "0.2.0+3"
+ version: "1.0.4"
xml:
dependency: "direct main"
description:
@@ -2537,5 +2529,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
- dart: ">=3.1.0 <4.0.0"
- flutter: ">=3.13.0"
+ dart: ">=3.2.0 <4.0.0"
+ flutter: ">=3.16.0"
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index a3b821a814..0a87700ddb 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -78,7 +78,7 @@ dependencies:
flutter_image_compress: ^1.1.0
flutter_inappwebview: ^5.8.0
flutter_launcher_icons: ^0.13.1
- flutter_local_notifications: ^12.0.4
+ flutter_local_notifications: ^17.0.0
flutter_localizations:
sdk: flutter
flutter_map: ^5.0.0
@@ -131,7 +131,7 @@ dependencies:
path_provider: ^2.1.1
pedantic: ^1.9.2
permission_handler: ^11.0.1
- photo_manager: ^2.8.1
+ photo_manager: ^3.0.0
photo_view: ^0.14.0
pinput: ^1.2.2
pointycastle: ^3.7.3
@@ -141,7 +141,7 @@ dependencies:
scrollable_positioned_list: ^0.3.5
sentry: ^7.9.0
sentry_flutter: ^7.9.0
- share_plus: ^4.0.10
+ share_plus: ^7.2.2
shared_preferences: ^2.0.5
sqflite: ^2.3.0
sqflite_migration: ^0.3.0