无法在firebase身份验证中创建帐户

时间:2017-05-19 06:48:38

标签: android firebase firebase-authentication

我正在我的firebase聊天应用程序中试验firebase电子邮件身份验证。但我不能注册。它显示帐户注册失败等错误。

protected void onActivityResult(int requestCode, int resultCode,
                                Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if(requestCode == SIGN_IN_REQUEST_CODE) {
        if(resultCode == RESULT_OK) {
            Toast.makeText(this,
                    "Successfully signed in. Welcome!",
                    Toast.LENGTH_LONG)
                    .show();
            displayChatMessages();
        } else {
            Toast.makeText(this,
                    "We couldn't sign you in. Please try again later.",
                    Toast.LENGTH_LONG)
                    .show();

            // Close the app
            finish();
        }
    }

}

Relevant code image

0 个答案:

没有答案