π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Unify more mobile dependency versions, migrating call sites
Manav Rathi96662b63bd62
diff --git a/mobile/apps/auth/lib/onboarding/view/onboarding_page.dart b/mobile/apps/auth/lib/onboarding/view/onboarding_page.dartindex a1d6619c29..8b630771aa 100644--- a/mobile/apps/auth/lib/onboarding/view/onboarding_page.dart+++ b/mobile/apps/auth/lib/onboarding/view/onboarding_page.dart@@ -386,7 +386,7 @@ class _OnboardingPageState extends State<OnboardingPage> {Widget _buildDotsIndicator() {return DotsIndicator(dotsCount: _featureCount,- position: _activeDotIndex,+ position: _activeDotIndex.toDouble(),decorator: DotsDecorator(activeColor: Colors.white,color: Colors.white.withValues(alpha: 0.32),diff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lockindex c67da3f418..56a72d5127 100644--- a/mobile/apps/auth/pubspec.lock+++ b/mobile/apps/auth/pubspec.lock@@ -276,10 +276,10 @@ packages:dependency: "direct main"description:name: dots_indicator- sha256: "2a53e0321a3f0d87e38ef30f6e9ff1deb5d6c0e2c5708e057d26cdaa94a95f10"+ sha256: c070af5058a084ba7b354df4b4c26c719595d70a3531eea6edd8af8716684ba3url: "https://pub.dev"source: hosted- version: "3.1.0"+ version: "4.0.1"dotted_border:dependency: "direct main"description:@@ -888,7 +888,7 @@ packages:source: hostedversion: "2.0.3"local_auth_linux:- dependency: transitive+ dependency: "direct overridden"description:path: "../../packages/local_auth_linux"relative: true@@ -1011,10 +1011,10 @@ packages:dependency: "direct main"description:name: otp- sha256: fcb7f21e30c4cd80a0a982c27a9b75151cc1fe3d8f7ee680673c090171b1ad55+ sha256: "998e73b5cd831a13fa654cf2cbb169d027f74b4928853ff26aa9311ead66ed7c"url: "https://pub.dev"source: hosted- version: "3.1.4"+ version: "3.2.0"package_config:dependency: transitivedescription:@@ -1544,10 +1544,10 @@ packages:dependency: transitivedescription:name: timezone- sha256: "2236ec079a174ce07434e89fcd3fcda430025eb7692244139a9cf54fdcf1fc7d"+ sha256: dd14a3b83cfd7cb19e7888f1cbc20f258b8d71b54c06f79ac585f14093a287d1url: "https://pub.dev"source: hosted- version: "0.9.4"+ version: "0.10.1"tray_manager:dependency: "direct main"description:diff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yamlindex 575f2b80ff..0582e228ed 100644--- a/mobile/apps/auth/pubspec.yaml+++ b/mobile/apps/auth/pubspec.yaml@@ -21,7 +21,7 @@ dependencies:convert: 3.1.2device_info_plus: 11.5.0dio: 5.9.2- dots_indicator: 3.1.0+ dots_indicator: 4.0.1dotted_border: 3.1.0dropdown_button2: 2.3.9email_validator: 3.0.0@@ -100,7 +100,7 @@ dependencies:url: https://github.com/ente-io/move_to_background.gitref: 0cdfeed654d79636eff0c57110f3f6ad5801ba2fnative_dio_adapter: 1.5.1- otp: 3.1.4+ otp: 3.2.0package_info_plus: 8.3.1password_strength: 0.2.0path: 1.9.1diff --git a/mobile/apps/locker/lib/ui/pages/onboarding_page.dart b/mobile/apps/locker/lib/ui/pages/onboarding_page.dartindex f80a95332c..27bd2e3309 100644--- a/mobile/apps/locker/lib/ui/pages/onboarding_page.dart+++ b/mobile/apps/locker/lib/ui/pages/onboarding_page.dart@@ -172,7 +172,7 @@ class _OnboardingPageState extends State<OnboardingPage> {const SizedBox(height: 12),DotsIndicator(dotsCount: _featureCount,- position: _activeDotIndex,+ position: _activeDotIndex.toDouble(),animate: true,animationDuration: const Duration(milliseconds: 300,diff --git a/mobile/apps/locker/pubspec.lock b/mobile/apps/locker/pubspec.lockindex 0827161ced..b5bcd36f80 100644--- a/mobile/apps/locker/pubspec.lock+++ b/mobile/apps/locker/pubspec.lock@@ -253,10 +253,10 @@ packages:dependency: "direct main"description:name: dots_indicator- sha256: "2a53e0321a3f0d87e38ef30f6e9ff1deb5d6c0e2c5708e057d26cdaa94a95f10"+ sha256: c070af5058a084ba7b354df4b4c26c719595d70a3531eea6edd8af8716684ba3url: "https://pub.dev"source: hosted- version: "3.1.0"+ version: "4.0.1"dotted_border:dependency: "direct main"description:@@ -828,7 +828,7 @@ packages:source: hostedversion: "2.0.3"local_auth_linux:- dependency: transitive+ dependency: "direct overridden"description:path: "../../packages/local_auth_linux"relative: truediff --git a/mobile/apps/locker/pubspec.yaml b/mobile/apps/locker/pubspec.yamlindex 28e8a379fd..d91b14ba8a 100644--- a/mobile/apps/locker/pubspec.yaml+++ b/mobile/apps/locker/pubspec.yaml@@ -13,7 +13,7 @@ dependencies:convert: 3.1.2crypto: 3.0.7dio: 5.9.2- dots_indicator: 3.1.0+ dots_indicator: 4.0.1dotted_border: 3.1.0email_validator: 3.0.0ente_accounts:diff --git a/mobile/apps/photos/lib/ui/growth/code_success_screen.dart b/mobile/apps/photos/lib/ui/growth/code_success_screen.dartindex 969aa6d1cf..66e803eddb 100644--- a/mobile/apps/photos/lib/ui/growth/code_success_screen.dart+++ b/mobile/apps/photos/lib/ui/growth/code_success_screen.dart@@ -146,11 +146,12 @@ class CodeSuccessScreen extends StatelessWidget {const SizedBox(height: 12),// Referral code with dotted borderDottedBorder(- color: greenColor,- strokeWidth: 1,- dashPattern: const [6, 6],- borderType: BorderType.RRect,- radius: const Radius.circular(16),+ options: const RoundedRectDottedBorderOptions(+ color: greenColor,+ strokeWidth: 1,+ dashPattern: [6, 6],+ radius: Radius.circular(16),+ ),child: Container(decoration: BoxDecoration(color: cardColor,diff --git a/mobile/apps/photos/lib/ui/growth/referral_code_widget.dart b/mobile/apps/photos/lib/ui/growth/referral_code_widget.dartindex 27fabd4a4e..dd9c0f1e46 100644--- a/mobile/apps/photos/lib/ui/growth/referral_code_widget.dart+++ b/mobile/apps/photos/lib/ui/growth/referral_code_widget.dart@@ -48,11 +48,12 @@ class ReferralCodeWidget extends StatelessWidget {right: shouldShowEdit ? overlapAmount + tapPadding : 0,),child: DottedBorder(- color: greenColor,- strokeWidth: 1,- dashPattern: const [6, 6],- borderType: BorderType.RRect,- radius: const Radius.circular(16),+ options: const RoundedRectDottedBorderOptions(+ color: greenColor,+ strokeWidth: 1,+ dashPattern: [6, 6],+ radius: Radius.circular(16),+ ),child: Container(decoration: BoxDecoration(color: cardColor,diff --git a/mobile/apps/photos/lib/ui/rituals/start_new_ritual_card.dart b/mobile/apps/photos/lib/ui/rituals/start_new_ritual_card.dartindex 51df940dd0..d3bb40387d 100644--- a/mobile/apps/photos/lib/ui/rituals/start_new_ritual_card.dart+++ b/mobile/apps/photos/lib/ui/rituals/start_new_ritual_card.dart@@ -45,12 +45,13 @@ class StartNewRitualCard extends StatelessWidget {: null,height: _cardHeight,child: DottedBorder(- borderType: BorderType.RRect,- radius: const Radius.circular(_cardRadius),- dashPattern: const [3.75, 3.75],- strokeWidth: 1.5,- borderPadding: const EdgeInsets.all(0.75),- color: dottedBorderColor,+ options: RoundedRectDottedBorderOptions(+ radius: const Radius.circular(_cardRadius),+ dashPattern: const [3.75, 3.75],+ strokeWidth: 1.5,+ borderPadding: const EdgeInsets.all(0.75),+ color: dottedBorderColor,+ ),child: ClipRRect(borderRadius: BorderRadius.circular(_cardRadius),child: Material(diff --git a/mobile/apps/photos/lib/ui/sharing/verify_identity_dialog.dart b/mobile/apps/photos/lib/ui/sharing/verify_identity_dialog.dartindex 2d1f4c6cb5..086eb34b39 100644--- a/mobile/apps/photos/lib/ui/sharing/verify_identity_dialog.dart+++ b/mobile/apps/photos/lib/ui/sharing/verify_identity_dialog.dart@@ -149,13 +149,13 @@ class _VerifyIdentifyDialogState extends State<VerifyIdentifyDialog> {final textStyle = getEnteTextTheme(context);final String verificationID = _generateVerificationID(publicKey);return DottedBorder(- color: colorScheme.strokeMuted,- //color of dotted/dash line- strokeWidth: 1,-- dashPattern: const [12, 6],- radius: const Radius.circular(8),- //dash patterns, 10 is dash width, 6 is space width+ options: RectDottedBorderOptions(+ color: colorScheme.strokeMuted,+ //color of dotted/dash line+ strokeWidth: 1,+ dashPattern: const [12, 6],+ //dash patterns, 10 is dash width, 6 is space width+ ),child: Column(children: [GestureDetector(diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/file_info_faces_item_widget.dart b/mobile/apps/photos/lib/ui/viewer/file_details/file_info_faces_item_widget.dartindex cbf1a42433..37fa652959 100644--- a/mobile/apps/photos/lib/ui/viewer/file_details/file_info_faces_item_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/file_details/file_info_faces_item_widget.dart@@ -233,11 +233,13 @@ class _FacesItemWidgetState extends State<FacesItemWidget> {return GestureDetector(onTap: _openAddFilesToPersonPage,child: DottedBorder(- color: colorScheme.strokeMuted,- strokeWidth: strokeWidth,- dashPattern: const [4, 4],- padding: EdgeInsets.zero,- customPath: faceThumbnailSquircleOuterPath,+ options: CustomPathDottedBorderOptions(+ customPath: faceThumbnailSquircleOuterPath,+ color: colorScheme.strokeMuted,+ strokeWidth: strokeWidth,+ dashPattern: const [4, 4],+ padding: EdgeInsets.zero,+ ),child: SizedBox(height: innerSize,width: innerSize,diff --git a/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart b/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dartindex 67d79efeb7..10f29169c4 100644--- a/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart+++ b/mobile/apps/photos/lib/ui/viewer/people/merge_clusters_to_person_sheet.dart@@ -673,11 +673,13 @@ class _AddNewPersonGridTile extends StatelessWidget {mainAxisAlignment: MainAxisAlignment.center,children: [DottedBorder(- color: colorScheme.strokeMuted,- strokeWidth: strokeWidth,- dashPattern: const [4, 4],- padding: EdgeInsets.zero,- customPath: faceThumbnailSquircleOuterPath,+ options: CustomPathDottedBorderOptions(+ customPath: faceThumbnailSquircleOuterPath,+ color: colorScheme.strokeMuted,+ strokeWidth: strokeWidth,+ dashPattern: const [4, 4],+ padding: EdgeInsets.zero,+ ),child: SizedBox(height: innerSize,width: innerSize,diff --git a/mobile/apps/photos/lib/ui/viewer/search/search_section_cta.dart b/mobile/apps/photos/lib/ui/viewer/search/search_section_cta.dartindex 48fb7bd054..de170cee71 100644--- a/mobile/apps/photos/lib/ui/viewer/search/search_section_cta.dart+++ b/mobile/apps/photos/lib/ui/viewer/search/search_section_cta.dart@@ -25,11 +25,11 @@ class SearchSectionCTAIcon extends StatelessWidget {mainAxisSize: MainAxisSize.min,children: [DottedBorder(- color: colorScheme.strokeFaint,- dashPattern: const [3.875, 3.875],- borderType: BorderType.Circle,- strokeWidth: 1.5,- radius: const Radius.circular(33.25),+ options: CircularDottedBorderOptions(+ color: colorScheme.strokeFaint,+ dashPattern: const [3.875, 3.875],+ strokeWidth: 1.5,+ ),child: SizedBox(width: 62.5,height: 62.5,@@ -74,11 +74,11 @@ class SearchSectionEmptyCTAIcon extends StatelessWidget {child: Column(children: [DottedBorder(- color: colorScheme.strokeFaint,- dashPattern: const [3.875, 3.875],- borderType: BorderType.Circle,- strokeWidth: 1.5,- radius: const Radius.circular(33.25),+ options: CircularDottedBorderOptions(+ color: colorScheme.strokeFaint,+ dashPattern: const [3.875, 3.875],+ strokeWidth: 1.5,+ ),child: SizedBox(width: 62.5,height: 62.5,diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dartindex 71c6323b32..2914b40e8f 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart@@ -299,13 +299,13 @@ class ContactCTA extends StatelessWidget {crossAxisAlignment: CrossAxisAlignment.center,children: [DottedBorder(- borderType: BorderType.Circle,- strokeWidth: 1.5,- borderPadding: const EdgeInsets.all(0.75),- dashPattern: const [4, 4],- radius: const Radius.circular(2.35),- padding: EdgeInsets.zero,- color: enteColorScheme.strokeFaint,+ options: CircularDottedBorderOptions(+ strokeWidth: 1.5,+ borderPadding: const EdgeInsets.all(0.75),+ dashPattern: const [4, 4],+ padding: EdgeInsets.zero,+ color: enteColorScheme.strokeFaint,+ ),child: SizedBox(height: 67.75,width: 67.75,diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dartindex aecb2cff17..e0095c7337 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart@@ -575,12 +575,13 @@ class LocationCTA extends StatelessWidget {mainAxisAlignment: MainAxisAlignment.center,children: [DottedBorder(- dashPattern: const [2, 2],- color: enteColorScheme.strokeFaint,- strokeWidth: 1,- padding: const EdgeInsets.all(0),- borderType: BorderType.RRect,- radius: const Radius.circular(4.5),+ options: RoundedRectDottedBorderOptions(+ dashPattern: const [2, 2],+ color: enteColorScheme.strokeFaint,+ strokeWidth: 1,+ padding: const EdgeInsets.all(0),+ radius: const Radius.circular(4.5),+ ),child: SizedBox(width: 90,height: 84,diff --git a/mobile/apps/photos/lib/utils/email_util.dart b/mobile/apps/photos/lib/utils/email_util.dartindex d546052893..c198a78a94 100644--- a/mobile/apps/photos/lib/utils/email_util.dart+++ b/mobile/apps/photos/lib/utils/email_util.dart@@ -236,7 +236,7 @@ Future<void> exportLogs(BuildContext context, String zipFilePath) async {name: logFileName,filePath: zipFilePath,mimeType: MimeType.zip,- ext: 'zip',+ fileExtension: 'zip',);} else {await SharePlus.instance.share(diff --git a/mobile/apps/photos/pubspec.lock b/mobile/apps/photos/pubspec.lockindex ed2e3279f9..a868095ad4 100644--- a/mobile/apps/photos/pubspec.lock+++ b/mobile/apps/photos/pubspec.lock@@ -551,10 +551,10 @@ packages:dependency: "direct main"description:name: dotted_border- sha256: "108837e11848ca776c53b30bc870086f84b62ed6e01c503ed976e8f8c7df9c04"+ sha256: "99b091ec6891ba0c5331fdc2b502993c7c108f898995739a73c6845d71dad70c"url: "https://pub.dev"source: hosted- version: "2.1.0"+ version: "3.1.0"dropdown_button2:dependency: "direct main"description:@@ -782,10 +782,10 @@ packages:dependency: "direct main"description:name: file_saver- sha256: "017a127de686af2d2fbbd64afea97052d95f2a0f87d19d25b87e097407bf9c1e"+ sha256: "9d93db09bd4da9e43238f9dd485360fc51a5c138eea5ef5f407ec56e58079ac0"url: "https://pub.dev"source: hosted- version: "0.2.14"+ version: "0.3.1"firebase_core:dependency: "direct main"description:@@ -2003,14 +2003,6 @@ packages:url: "https://pub.dev"source: hostedversion: "1.9.1"- path_drawing:- dependency: transitive- description:- name: path_drawing- sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977- url: "https://pub.dev"- source: hosted- version: "1.0.1"path_parsing:dependency: transitivedescription:@@ -2671,10 +2663,10 @@ packages:dependency: "direct main"description:name: synchronized- sha256: "0669c70faae6270521ee4f05bffd2919892d42d1276e6c495be80174b6bc0ef6"+ sha256: c254ade258ec8282947a0acbbc90b9575b4f19673533ee46f2f6e9b3aeefd7c0url: "https://pub.dev"source: hosted- version: "3.3.1"+ version: "3.4.0"system_info_plus:dependency: "direct main"description:diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yamlindex f87a1ba4c6..1951378f06 100644--- a/mobile/apps/photos/pubspec.yaml+++ b/mobile/apps/photos/pubspec.yaml@@ -50,7 +50,7 @@ dependencies:dio: 5.9.2dio_http2_adapter: 2.7.1dots_indicator: 4.0.1- dotted_border: 2.1.0+ dotted_border: 3.1.0dropdown_button2: 2.3.9email_validator: 3.0.0encrypt: 5.0.3@@ -90,7 +90,7 @@ dependencies:path: flutter/flutterref: 15afc08775a75fe9c12de3366fa99e39bf171cccfigma_squircle: 0.6.3- file_saver: 0.2.14+ file_saver: 0.3.1firebase_core: 3.15.1firebase_messaging: 15.2.9fixnum: 1.1.1@@ -218,7 +218,7 @@ dependencies:sqlite3_flutter_libs: 0.5.41sqlite_async: 0.11.7styled_text: 8.1.0- synchronized: 3.3.1+ synchronized: 3.4.0system_info_plus: 0.0.6thermal: 1.1.11timezone: 0.10.1diff --git a/mobile/packages/accounts/pubspec.lock b/mobile/packages/accounts/pubspec.lockindex d7abe6352d..653257d06e 100644--- a/mobile/packages/accounts/pubspec.lock+++ b/mobile/packages/accounts/pubspec.lock@@ -165,10 +165,10 @@ packages:dependency: "direct main"description:name: dots_indicator- sha256: "2a53e0321a3f0d87e38ef30f6e9ff1deb5d6c0e2c5708e057d26cdaa94a95f10"+ sha256: c070af5058a084ba7b354df4b4c26c719595d70a3531eea6edd8af8716684ba3url: "https://pub.dev"source: hosted- version: "3.1.0"+ version: "4.0.1"email_validator:dependency: "direct main"description:@@ -587,7 +587,7 @@ packages:source: hostedversion: "2.0.3"local_auth_linux:- dependency: transitive+ dependency: "direct overridden"description:path: "../local_auth_linux"relative: truediff --git a/mobile/packages/accounts/pubspec.yaml b/mobile/packages/accounts/pubspec.yamlindex cfaef8490a..ada4c9769b 100644--- a/mobile/packages/accounts/pubspec.yaml+++ b/mobile/packages/accounts/pubspec.yaml@@ -11,7 +11,7 @@ dependencies:bip39: 1.0.6collection: 1.19.1dio: 5.9.2- dots_indicator: 3.1.0+ dots_indicator: 4.0.1email_validator: 3.0.0ente_base:path: ../basediff --git a/mobile/packages/legacy/pubspec.lock b/mobile/packages/legacy/pubspec.lockindex 164d0ffba0..abf83a9f11 100644--- a/mobile/packages/legacy/pubspec.lock+++ b/mobile/packages/legacy/pubspec.lock@@ -189,10 +189,10 @@ packages:dependency: transitivedescription:name: dots_indicator- sha256: "2a53e0321a3f0d87e38ef30f6e9ff1deb5d6c0e2c5708e057d26cdaa94a95f10"+ sha256: c070af5058a084ba7b354df4b4c26c719595d70a3531eea6edd8af8716684ba3url: "https://pub.dev"source: hosted- version: "3.1.0"+ version: "4.0.1"dotted_border:dependency: transitivedescription:@@ -671,7 +671,7 @@ packages:source: hostedversion: "2.0.3"local_auth_linux:- dependency: transitive+ dependency: "direct overridden"description:path: "../local_auth_linux"relative: truediff --git a/mobile/packages/lock_screen/pubspec.lock b/mobile/packages/lock_screen/pubspec.lockindex 8e98e7bb99..988363ddc2 100644--- a/mobile/packages/lock_screen/pubspec.lock+++ b/mobile/packages/lock_screen/pubspec.lock@@ -165,10 +165,10 @@ packages:dependency: transitivedescription:name: dots_indicator- sha256: "2a53e0321a3f0d87e38ef30f6e9ff1deb5d6c0e2c5708e057d26cdaa94a95f10"+ sha256: c070af5058a084ba7b354df4b4c26c719595d70a3531eea6edd8af8716684ba3url: "https://pub.dev"source: hosted- version: "3.1.0"+ version: "4.0.1"email_validator:dependency: transitivedescription:diff --git a/mobile/packages/sharing/pubspec.lock b/mobile/packages/sharing/pubspec.lockindex 5cb5917785..443cade134 100644--- a/mobile/packages/sharing/pubspec.lock+++ b/mobile/packages/sharing/pubspec.lock@@ -173,10 +173,10 @@ packages:dependency: transitivedescription:name: dots_indicator- sha256: "2a53e0321a3f0d87e38ef30f6e9ff1deb5d6c0e2c5708e057d26cdaa94a95f10"+ sha256: c070af5058a084ba7b354df4b4c26c719595d70a3531eea6edd8af8716684ba3url: "https://pub.dev"source: hosted- version: "3.1.0"+ version: "4.0.1"dotted_border:dependency: "direct main"description:@@ -640,7 +640,7 @@ packages:source: hostedversion: "2.0.3"local_auth_linux:- dependency: transitive+ dependency: "direct overridden"description:path: "../local_auth_linux"relative: true