@Sujith008 wrote:
var ref = new Firebase("https://MY-APP.firebaseio.com/");
ref.auth().createUserWithEmailAndPassword(email, password).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// ...
});ionic.bundle.js:26794 Error: Firebase.auth failed: Was called with 0 arguments. Expects at least 1.
Is this piece of code correct?? Sorry for my bad english. Thanks in advance
Posts: 1
Participants: 1