Remove Google auth: drop google_sign_in, google-services.json, gradle plugin; keep email+password+fingerprint

This commit is contained in:
cania
2026-08-13 09:06:28 +02:00
parent 8e96141d73
commit 0fd595d8a6
6 changed files with 0 additions and 177 deletions

View File

@@ -24,20 +24,10 @@ class AuthService {
key: AppConstants.secureKeyAppPassword, value: appPassword);
}
Future<void> registerWithGoogle(String email) async {
await _storage.write(key: AppConstants.secureKeyEmail, value: email);
final existing = await getAppPassword();
if (existing == null) {
await _storage.write(
key: AppConstants.secureKeyAppPassword, value: '__google__');
}
}
/// Verify the entered app password against the stored one.
Future<bool> verifyPassword(String password) async {
final stored = await getAppPassword();
if (stored == null) return false;
if (stored == '__google__') return true; // google users: any pass ok
return stored == password;
}