Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

chore: replace local_auth_ios with local_auth_darwin

Prateek Sunal076084553657
diff --git a/auth/lib/utils/auth_util.dart b/auth/lib/utils/auth_util.dart
index b543b4c73b..c2d2f5afa0 100644
--- a/auth/lib/utils/auth_util.dart
+++ b/auth/lib/utils/auth_util.dart
@@ -5,7 +5,7 @@ import 'package:flutter/cupertino.dart';
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_ios/types/auth_messages_ios.dart';
+import 'package:local_auth_darwin/types/auth_messages_ios.dart';
import 'package:logging/logging.dart';
Future<bool> requestAuthentication(BuildContext context, String reason) async {
diff --git a/auth/pubspec.lock b/auth/pubspec.lock
index e2002a506a..1472c808c2 100644
--- a/auth/pubspec.lock
+++ b/auth/pubspec.lock
@@ -858,21 +858,13 @@ packages:
source: hosted
version: "1.0.37"
local_auth_darwin:
- dependency: transitive
+ dependency: "direct main"
description:
name: local_auth_darwin
sha256: "33381a15b0de2279523eca694089393bb146baebdce72a404555d03174ebc1e9"
url: "https://pub.dev"
source: hosted
version: "1.2.2"
- local_auth_ios:
- dependency: "direct main"
- description:
- name: local_auth_ios
- sha256: "6dde47dc852bc0c8343cb58e66a46efb16b62eddf389ce103d4dacb0c6c40c71"
- url: "https://pub.dev"
- source: hosted
- version: "1.1.7"
local_auth_platform_interface:
dependency: transitive
description:
diff --git a/auth/pubspec.yaml b/auth/pubspec.yaml
index f49a34843b..0f01ce364b 100644
--- a/auth/pubspec.yaml
+++ b/auth/pubspec.yaml
@@ -63,9 +63,9 @@ dependencies:
http: ^1.1.0
intl: ^0.18.0
json_annotation: ^4.5.0
- local_auth: ^2.1.7
- local_auth_android: ^1.0.31
- local_auth_ios: ^1.1.3
+ local_auth: ^2.2.0
+ local_auth_android: ^1.0.37
+ local_auth_darwin: ^1.2.2
logging: ^1.0.1
modal_bottom_sheet: ^3.0.0-pre
move_to_background: ^1.0.2