Hi, I’m creating an app with firebase integration.
when I create a new user the account are correctly created but the function return null and so I cant get the user uid.
import { FirebaseAuthentication } from '@ionic-native/firebase-authentication/ngx';
return new Promise<any>((resolve, reject) => {
this.firebaseAuthentication.createUserWithEmailAndPassword(value.email, value.password).then(
res => {
console.log("User id after reigstration = "+res.user.uid);
resolve(res);
}, err => {
reject(err);
}
)
})