Skip to content

Commit 2569520

Browse files
committed
Dependencies bump
device_info_plus 10.1.2 -> 11.3.0 share_plus 10.1.4 -> 11.0.0 [ Share.shareXFiles -> SharePlus.instance.share(ShareParams(files: )) ]
1 parent cf1d272 commit 2569520

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/network/images.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Future<bool> share(
246246
print(filesPath);
247247
if (filesPath == null || filesPath.isEmpty) return false;
248248
try {
249-
Share.shareXFiles(filesPath);
249+
SharePlus.instance.share(ShareParams(files: filesPath));
250250
return true;
251251
} catch (e) {
252252
debugPrint("$e");

pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ packages:
181181
dependency: "direct main"
182182
description:
183183
name: device_info_plus
184-
sha256: a7fd703482b391a87d60b6061d04dfdeab07826b96f9abd8f5ed98068acc0074
184+
sha256: "72d146c6d7098689ff5c5f66bcf593ac11efc530095385356e131070333e64da"
185185
url: "https://pub.dev"
186186
source: hosted
187-
version: "10.1.2"
187+
version: "11.3.0"
188188
device_info_plus_platform_interface:
189189
dependency: transitive
190190
description:
@@ -1010,18 +1010,18 @@ packages:
10101010
dependency: "direct main"
10111011
description:
10121012
name: share_plus
1013-
sha256: fce43200aa03ea87b91ce4c3ac79f0cecd52e2a7a56c7a4185023c271fbfa6da
1013+
sha256: b2961506569e28948d75ec346c28775bb111986bb69dc6a20754a457e3d97fa0
10141014
url: "https://pub.dev"
10151015
source: hosted
1016-
version: "10.1.4"
1016+
version: "11.0.0"
10171017
share_plus_platform_interface:
10181018
dependency: transitive
10191019
description:
10201020
name: share_plus_platform_interface
1021-
sha256: cc012a23fc2d479854e6c80150696c4a5f5bb62cb89af4de1c505cf78d0a5d0b
1021+
sha256: "1032d392bc5d2095a77447a805aa3f804d2ae6a4d5eef5e6ebb3bd94c1bc19ef"
10221022
url: "https://pub.dev"
10231023
source: hosted
1024-
version: "5.0.2"
1024+
version: "6.0.0"
10251025
shared_preferences:
10261026
dependency: "direct main"
10271027
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies:
4848
file_picker: ^10.1.2 # Pick images and videos at a time for upload
4949

5050
# Device
51-
device_info_plus: ^10.1.2 # Get device info (version
51+
device_info_plus: ^11.3.0 # Get device info (version
5252
flutter_local_notifications: ^19.1.0 # Throws notifications on download or upload
5353
open_filex: ^4.4.0 # Open files with devices apps
5454
workmanager: ^0.5.2 # Background processes (auto upload)
@@ -60,7 +60,7 @@ dependencies:
6060
chewie: ^1.8.1 # Video player with options
6161
flutter_image_compress: ^2.4.0 # Remove metadata
6262
permission_handler: ^12.0.0+1 # Check and asks for permissions
63-
share_plus: ^10.1.4 # Share files
63+
share_plus: ^11.0.0 # Share files
6464
flutter_cache_manager: ^3.3.0 # Handles network image cache
6565
heif_converter: ^1.0.1 # Convert heic files to jpg
6666
provider: ^6.0.3 # Notifiers for theme and language changes

0 commit comments

Comments
 (0)