File tree 4 files changed +13
-13
lines changed
4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ class ShareButton extends MessageActionSheetMenuItemButton {
205
205
// https://pub.dev/packages/share_plus#ipad
206
206
// Perhaps a wart in the API; discussion:
207
207
// https://github.com/zulip/zulip-flutter/pull/12#discussion_r1130146231
208
- final result = await Share .shareWithResult (rawContent);
208
+ final result = await Share .share (rawContent);
209
209
210
210
switch (result.status) {
211
211
// The plugin isn't very helpful: "The status can not be determined".
Original file line number Diff line number Diff line change @@ -752,18 +752,18 @@ packages:
752
752
dependency: "direct main"
753
753
description:
754
754
name: package_info_plus
755
- sha256: cb44f49b6e690fa766f023d5b22cac6b9affe741dd792b6ac7ad4fabe0d7b097
755
+ sha256: b93d8b4d624b4ea19b0a5a208b2d6eff06004bc3ce74c06040b120eeadd00ce0
756
756
url: "https://pub.dev"
757
757
source: hosted
758
- version: "6 .0.0"
758
+ version: "8 .0.0"
759
759
package_info_plus_platform_interface:
760
760
dependency: transitive
761
761
description:
762
762
name: package_info_plus_platform_interface
763
- sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6"
763
+ sha256: f49918f3433a3146047372f9d4f1f847511f2acd5cd030e1f44fe5a50036b70e
764
764
url: "https://pub.dev"
765
765
source: hosted
766
- version: "2 .0.1 "
766
+ version: "3 .0.0 "
767
767
path:
768
768
dependency: "direct main"
769
769
description:
@@ -904,18 +904,18 @@ packages:
904
904
dependency: "direct main"
905
905
description:
906
906
name: share_plus
907
- sha256: fb5319f3aab4c5dda5ebb92dca978179ba21f8c783ee4380910ef4c1c6824f51
907
+ sha256: ef3489a969683c4f3d0239010cc8b7a2a46543a8d139e111c06c558875083544
908
908
url: "https://pub.dev"
909
909
source: hosted
910
- version: "8 .0.3 "
910
+ version: "9 .0.0 "
911
911
share_plus_platform_interface:
912
912
dependency: "direct main"
913
913
description:
914
914
name: share_plus_platform_interface
915
- sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496 "
915
+ sha256: "0f9e4418835d1b2c3ae78fdb918251959106cefdbc4dd43526e182f80e82f6d4 "
916
916
url: "https://pub.dev"
917
917
source: hosted
918
- version: "3.4 .0"
918
+ version: "4.0 .0"
919
919
shelf:
920
920
dependency: transitive
921
921
description:
Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ dependencies:
56
56
image_picker : ^1.0.0
57
57
intl : ^0.19.0
58
58
json_annotation : ^4.8.1
59
- package_info_plus : ^6 .0.0
59
+ package_info_plus : ^8 .0.0
60
60
path : ^1.8.3
61
61
path_provider : ^2.0.13
62
- share_plus : ^8 .0.2
63
- share_plus_platform_interface : ^3.3.1
62
+ share_plus : ^9 .0.0
63
+ share_plus_platform_interface : ^4.0.0
64
64
sqlite3 : ^2.4.0
65
65
sqlite3_flutter_libs : ^0.5.13
66
66
url_launcher : ^6.1.11
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class MockSharePlus {
12
12
13
13
Future <Object ?> handleMethodCall (MethodCall methodCall) async {
14
14
switch (methodCall.method) {
15
- case 'shareWithResult ' :
15
+ case 'share ' :
16
16
// The method channel doesn't preserve Map<String, dynamic> as
17
17
// `arguments`'s type; logging runtimeType gives _Map<Object?, Object?>.
18
18
final arguments = methodCall.arguments as Map ;
You can’t perform that action at this time.
0 commit comments