π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update common lockscreen
vishnukvmd1f100566ad37
diff --git a/mobile/packages/lock_screen/lib/auth_util.dart b/mobile/packages/lock_screen/lib/auth_util.dartindex e1574ab8db..396be4f809 100644--- a/mobile/packages/lock_screen/lib/auth_util.dart+++ b/mobile/packages/lock_screen/lib/auth_util.dart@@ -6,8 +6,8 @@ import 'package:flutter_local_authentication/flutter_local_authentication.dart';import 'package:local_auth/local_auth.dart';import 'package:local_auth_android/local_auth_android.dart';import 'package:local_auth_darwin/types/auth_messages_ios.dart';-import 'package:lock_screen/local_authentication_service.dart';-import 'package:lock_screen/lock_screen_settings.dart';+import 'package:ente_lock_screen/local_authentication_service.dart';+import 'package:ente_lock_screen/lock_screen_settings.dart';import 'package:logging/logging.dart';Future<bool> requestAuthentication(diff --git a/mobile/packages/lock_screen/lib/local_authentication_service.dart b/mobile/packages/lock_screen/lib/local_authentication_service.dartindex 2ff4b0b673..6ae795c61e 100644--- a/mobile/packages/lock_screen/lib/local_authentication_service.dart+++ b/mobile/packages/lock_screen/lib/local_authentication_service.dart@@ -7,11 +7,11 @@ import 'package:flutter/material.dart';import 'package:flutter/services.dart';import 'package:flutter_local_authentication/flutter_local_authentication.dart';import 'package:local_auth/local_auth.dart';-import 'package:lock_screen/auth_util.dart';-import 'package:lock_screen/lock_screen_settings.dart';-import 'package:lock_screen/ui/app_lock.dart';-import 'package:lock_screen/ui/lock_screen_password.dart';-import 'package:lock_screen/ui/lock_screen_pin.dart';+import 'package:ente_lock_screen/auth_util.dart';+import 'package:ente_lock_screen/lock_screen_settings.dart';+import 'package:ente_lock_screen/ui/app_lock.dart';+import 'package:ente_lock_screen/ui/lock_screen_password.dart';+import 'package:ente_lock_screen/ui/lock_screen_pin.dart';import 'package:logging/logging.dart';class LocalAuthenticationService {diff --git a/mobile/packages/lock_screen/lib/ui/app_lock.dart b/mobile/packages/lock_screen/lib/ui/app_lock.dartindex 4e93ce5ec1..f72fa1e8a5 100644--- a/mobile/packages/lock_screen/lib/ui/app_lock.dart+++ b/mobile/packages/lock_screen/lib/ui/app_lock.dart@@ -1,7 +1,7 @@import 'dart:async';import 'package:flutter/material.dart';-import 'package:lock_screen/lock_screen_settings.dart';+import 'package:ente_lock_screen/lock_screen_settings.dart';/// A widget which handles app lifecycle events for showing and hiding a lock screen./// This should wrap around a `MyApp` widget (or equivalent).diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen.dart b/mobile/packages/lock_screen/lib/ui/lock_screen.dartindex 74cbcfc554..e89869b740 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen.dart@@ -9,9 +9,9 @@ import 'package:ente_ui/utils/dialog_util.dart';import 'package:flutter/material.dart';import 'package:flutter/scheduler.dart';import 'package:flutter_animate/flutter_animate.dart';-import 'package:lock_screen/auth_util.dart';-import 'package:lock_screen/lock_screen_settings.dart';-import 'package:lock_screen/ui/app_lock.dart';+import 'package:ente_lock_screen/auth_util.dart';+import 'package:ente_lock_screen/lock_screen_settings.dart';+import 'package:ente_lock_screen/ui/app_lock.dart';import 'package:logging/logging.dart';class LockScreen extends StatefulWidget {diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_auto_lock.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_auto_lock.dartindex dfdc11b8f5..1f0901ed50 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen_auto_lock.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_auto_lock.dart@@ -7,7 +7,7 @@ import 'package:ente_ui/components/title_bar_title_widget.dart';import 'package:ente_ui/components/title_bar_widget.dart';import 'package:ente_ui/theme/ente_theme.dart';import 'package:flutter/material.dart';-import 'package:lock_screen/lock_screen_settings.dart';+import 'package:ente_lock_screen/lock_screen_settings.dart';class LockScreenAutoLock extends StatefulWidget {const LockScreenAutoLock({super.key});diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_password.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_password.dartindex e6f8bc0ae2..716a1ad7da 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_password.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_password.dart@@ -5,7 +5,7 @@ import "package:ente_ui/components/text_input_widget.dart";import "package:ente_ui/theme/ente_theme.dart";import "package:flutter/material.dart";import "package:flutter/services.dart";-import "package:lock_screen/lock_screen_settings.dart";+import "package:ente_lock_screen/lock_screen_settings.dart";class LockScreenConfirmPassword extends StatefulWidget {const LockScreenConfirmPassword({diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_pin.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_pin.dartindex 3f97324092..33ce921012 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_pin.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_confirm_pin.dart@@ -4,8 +4,8 @@ import "package:ente_strings/ente_strings.dart";import "package:ente_ui/theme/ente_theme.dart";import "package:flutter/material.dart";import "package:flutter/services.dart";-import "package:lock_screen/lock_screen_settings.dart";-import "package:lock_screen/ui/custom_pin_keypad.dart";+import "package:ente_lock_screen/lock_screen_settings.dart";+import "package:ente_lock_screen/ui/custom_pin_keypad.dart";import "package:pinput/pinput.dart";class LockScreenConfirmPin extends StatefulWidget {diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_options.dartindex 190e4c971f..2bf9d21131 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart@@ -14,12 +14,12 @@ import "package:ente_ui/components/toggle_switch_widget.dart";import "package:ente_ui/theme/ente_theme.dart";import "package:ente_utils/platform_util.dart";import "package:flutter/material.dart";-import "package:lock_screen/local_authentication_service.dart";-import "package:lock_screen/lock_screen_settings.dart";-import "package:lock_screen/ui/app_lock.dart";-import "package:lock_screen/ui/lock_screen_auto_lock.dart";-import "package:lock_screen/ui/lock_screen_password.dart";-import "package:lock_screen/ui/lock_screen_pin.dart";+import "package:ente_lock_screen/local_authentication_service.dart";+import "package:ente_lock_screen/lock_screen_settings.dart";+import "package:ente_lock_screen/ui/app_lock.dart";+import "package:ente_lock_screen/ui/lock_screen_auto_lock.dart";+import "package:ente_lock_screen/ui/lock_screen_password.dart";+import "package:ente_lock_screen/ui/lock_screen_pin.dart";class LockScreenOptions extends StatefulWidget {const LockScreenOptions({super.key});diff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_password.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_password.dartindex a010a327e6..93a1c4d636 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen_password.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_password.dart@@ -8,9 +8,9 @@ import "package:ente_ui/theme/ente_theme.dart";import "package:ente_crypto_dart/ente_crypto_dart.dart";import "package:flutter/material.dart";import "package:flutter/services.dart";-import "package:lock_screen/lock_screen_settings.dart";-import "package:lock_screen/ui/lock_screen_confirm_password.dart";-import "package:lock_screen/ui/lock_screen_options.dart";+import "package:ente_lock_screen/lock_screen_settings.dart";+import "package:ente_lock_screen/ui/lock_screen_confirm_password.dart";+import "package:ente_lock_screen/ui/lock_screen_options.dart";/// [isChangingLockScreenSettings] Authentication required for changing lock screen settings./// Set to true when the app requires the user to authenticate before allowingdiff --git a/mobile/packages/lock_screen/lib/ui/lock_screen_pin.dart b/mobile/packages/lock_screen/lib/ui/lock_screen_pin.dartindex 6a2b6a858b..2001cae468 100644--- a/mobile/packages/lock_screen/lib/ui/lock_screen_pin.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_pin.dart@@ -8,10 +8,10 @@ import "package:ente_ui/theme/text_style.dart";import "package:ente_crypto_dart/ente_crypto_dart.dart";import "package:flutter/material.dart";import "package:flutter/services.dart";-import "package:lock_screen/lock_screen_settings.dart";-import "package:lock_screen/ui/custom_pin_keypad.dart";-import "package:lock_screen/ui/lock_screen_confirm_pin.dart";-import "package:lock_screen/ui/lock_screen_options.dart";+import "package:ente_lock_screen/lock_screen_settings.dart";+import "package:ente_lock_screen/ui/custom_pin_keypad.dart";+import "package:ente_lock_screen/ui/lock_screen_confirm_pin.dart";+import "package:ente_lock_screen/ui/lock_screen_options.dart";import 'package:pinput/pinput.dart';/// [isChangingLockScreenSettings] Authentication required for changing lock screen settings.diff --git a/mobile/packages/lock_screen/pubspec.yaml b/mobile/packages/lock_screen/pubspec.yamlindex cd611a61f4..02b553a96f 100644--- a/mobile/packages/lock_screen/pubspec.yaml+++ b/mobile/packages/lock_screen/pubspec.yaml@@ -1,4 +1,4 @@-name: lock_screen+name: ente_lock_screendescription: A Flutter package containing lock screen UI components and services for Ente appsversion: 1.0.0publish_to: none