Flurry. ExerciseDevice

This commit is contained in:
Bossanyi Tibor
2020-11-23 18:36:41 +01:00
parent ed8760f8e8
commit 82513fb03e
8 changed files with 81 additions and 42 deletions
+2 -6
View File
@@ -66,10 +66,6 @@ class FirebaseApi {
print('The account already exists for that email.');
rc = REGISTER_EMAIL_IN_USE;
throw Exception("The email address has been registered already");
/* userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(email: email, password: password);
if (rc != null) {
rc = SIGN_IN_OK;
} */
}
} catch (e) {
print(e);
@@ -78,7 +74,7 @@ class FirebaseApi {
return rc;
}
Future<UserCredential> signInWithFacebook() async {
/*Future<UserCredential> signInWithFacebook() async {
// Trigger the sign-in flow
final LoginResult result = await FacebookAuth.instance.login();
@@ -87,7 +83,7 @@ class FirebaseApi {
// Once signed in, return the UserCredential
return await FirebaseAuth.instance.signInWithCredential(facebookAuthCredential);
}
}*/
Future<void> signOut() async {
await FirebaseAuth.instance.signOut();