Flurry. ExerciseDevice
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user