I'm creating a user in firebase but everytime I call the createUser it has an error message - Projects created at console.firebase.google.com must use the new Firebase Authentication SDKs available from firebase.google.com/docs/auth/
Firebase ref = new Firebase("https://<APP-NAME>.firebaseio.com");
ref.createUser("[email protected]", "123", new Firebase.ValueResultHandler<Map<String, Object>>() {
@Override
public void onSuccess(Map<String, Object> result) {
Log.d(TAG, "create successful " + result.get("uid"));
}
@Override
public void onError(FirebaseError firebaseError) {
Log.d(TAG, "create error " + firebaseError.getMessage());
}
});
here's my dependencies used:
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.firebase:firebase-client-android:2.5.2+'
compile 'com.google.firebase:firebase-auth:9.4.0'
compile 'com.google.firebase:firebase-database:9.4.0'
And I already updated my Google play services and google repository to the latest version.