I have created an admin panel and I have registered the users. Now I want to connect those users to database so that i will send data to those users which be accessed by users later...
Can I send data to users database by using their email address? Please this is my main logic.
public void onClick(View view) {
email=userEmail.getText().toString();
password=UserPassword.getText().toString();
mAuth.createUserWithEmailAndPassword(email,password).addOnCompleteListener(AddUsers.this, new OnCompleteListener<AuthResult>() {
@Override
public void onComplete(@NonNull Task<AuthResult> task) {
if (task.isSuccessful()){
Toast.makeText(AddUsers.this, "User is Added", Toast.LENGTH_SHORT).show();
}
}
});
}
});
}
Ok i will explain it .....i want an admin application from which i will send tasks or data to users that are registered on firebase... e.g [email protected] is a user. and user have his own application which will show the data that admin sends..Now from admin app i want to send data to above email user...so when the user open the application the data is rereived to his app.. enter image description here Here is admin front end image
send data to users database? You want to send emails to your users? - Alex Mamo