π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Switch to older version of share_plus
Neeraj Gupta2cb08569c992
diff --git a/mobile/lib/ui/account/recovery_key_page.dart b/mobile/lib/ui/account/recovery_key_page.dartindex 6b4a116243..9ea3107096 100644--- a/mobile/lib/ui/account/recovery_key_page.dart+++ b/mobile/lib/ui/account/recovery_key_page.dart@@ -11,7 +11,7 @@ import 'package:photos/ente_theme_data.dart';import "package:photos/generated/l10n.dart";import 'package:photos/ui/common/gradient_button.dart';import 'package:photos/utils/toast_util.dart';-import 'package:share_plus/share_plus.dart';+import "package:share_plus/share_plus.dart";import 'package:step_progress_indicator/step_progress_indicator.dart';class RecoveryKeyPage extends StatefulWidget {@@ -248,7 +248,8 @@ class _RecoveryKeyPageState extends State<RecoveryKeyPage> {await _recoveryKeyFile.delete();}_recoveryKeyFile.writeAsStringSync(recoveryKey);- await Share.shareFiles([_recoveryKeyFile.path]);++ await Share.shareXFiles([XFile(_recoveryKeyFile.path)]);Future.delayed(const Duration(milliseconds: 500), () {if (mounted) {setState(() {diff --git a/mobile/pubspec.lock b/mobile/pubspec.lockindex cec1910b4e..e70e7b05ca 100644--- a/mobile/pubspec.lock+++ b/mobile/pubspec.lock@@ -1925,10 +1925,10 @@ packages:dependency: "direct main"description:name: share_plus- sha256: fb5319f3aab4c5dda5ebb92dca978179ba21f8c783ee4380910ef4c1c6824f51+ sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900"url: "https://pub.dev"source: hosted- version: "8.0.3"+ version: "7.2.2"share_plus_platform_interface:dependency: transitivedescription:diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yamlindex 435ce73daf..79dcd55638 100644--- a/mobile/pubspec.yaml+++ b/mobile/pubspec.yaml@@ -145,7 +145,7 @@ dependencies:scrollable_positioned_list: ^0.3.5sentry: ^7.9.0sentry_flutter: ^7.9.0- share_plus: ^8.0.3+ share_plus: 7.2.2shared_preferences: ^2.0.5simple_cluster: ^0.3.0sqflite: ^2.3.0