Skip to content

Commit 8820dc4

Browse files
committed
Upgrade flutter_image_compress to 2.4.0
`flutter_image_compress` require a version bump Xfile, forcing to specify a non null payload
1 parent 2ba499b commit 8820dc4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/services/notification_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Future<void> initLocalNotifications() async {
2727
Future<void> onSelectNotification(NotificationResponse response) async {
2828
debugPrint("Notification payload: ${response.payload}");
2929
if (response.payload == null) return;
30-
OpenResult result = await OpenFilex.open(response.payload);
30+
OpenResult result = await OpenFilex.open(response.payload!);
3131
debugPrint(result.message);
3232
}
3333

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ dependencies:
5858
mime_type: ^1.0.0 # Check mime type of files (differentiate photos from videos)
5959
video_player: ^2.4.7 # Read video files in fullscreen mode
6060
chewie: ^1.8.1 # Video player with options
61-
flutter_image_compress: ^1.1.3 # Remove metadata
61+
flutter_image_compress: ^2.4.0 # Remove metadata
6262
permission_handler: ^10.2.0 # Check and asks for permissions
6363
share_plus: ^10.1.4 # Share files
6464
flutter_cache_manager: ^3.3.0 # Handles network image cache

0 commit comments

Comments
 (0)