This commit is contained in:
Hamza-Ayed
2025-02-04 23:11:40 +03:00
parent b11c999bcc
commit a09bfbd646
4 changed files with 17 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ import 'package:url_launcher/url_launcher.dart';
import '../../constant/links.dart';
import '../../onbording_page.dart';
import '../../print.dart';
import '../functions/crud.dart';
class GoogleSignInHelper {
@@ -164,6 +165,8 @@ class GoogleSignInHelper {
// Method to handle sign-up process
static Future<void> _handleSignUp(GoogleSignInAccount user) async {
// Store driver information
Log.print('email is ${user.email}');
box.write(BoxName.passengerID, user.id);
box.write(BoxName.email, encryptionHelper.encryptData(user.email));
box.write(BoxName.name,