This commit is contained in:
Hamza-Ayed
2024-06-22 13:12:35 +03:00
parent 1cc0156cfd
commit 3c5321f70b
67 changed files with 91 additions and 740 deletions

View File

@@ -218,10 +218,6 @@ class LoginCaptin extends StatelessWidget {
User? user = await authController
.signInWithApple();
if (user != null) {
print(
"Successfully signed in: ${user.email}");
print(
"Successfully signed in: ${user.uid}");
box.write(BoxName.driverID, user.uid);
box.write(
BoxName.emailDriver, user.email);
@@ -233,9 +229,7 @@ class LoginCaptin extends StatelessWidget {
.toString(),
);
// Navigate to another screen or perform other actions
} else {
print("Sign-in failed");
}
} else {}
},
kolor: AppColor.primaryColor,
)
@@ -243,9 +237,6 @@ class LoginCaptin extends StatelessWidget {
// MyElevatedButton(
// title: 'Sign In by Google'.tr,
// onPressed: () async {
// print(box.read(BoxName.emailDriver));
// print(box.read(BoxName.phoneDriver));
// print(box.read(BoxName.phoneVerified));
// },
// kolor: AppColor.redColor,
// ),
@@ -277,16 +268,13 @@ class LoginCaptin extends StatelessWidget {
// String apiKey = AK.payMobApikey;
// String convertedStringN = credentials.c(
// credentials.c(credentials.c(apiKey, cs), cC), cn);
// print('Converted v: $convertedStringN');
//
// String retrievedStringS = credentials.r(
// credentials.r(
// credentials.r(convertedStringN, cn), cC),
// cs);
// print('Retrieved String: $retrievedStringS');
// //
// if (retrievedStringS == apiKey) {
// print('same');
// }
// },
// icon: const Icon(