6/22/1
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user