Skip to content
Advertisement

Tag: firebase

My app is gets back to previous page without updating data to database. (Using Android studio + Firebase)

My app is gets back to previous page without updating data to database. (Using Android studio + Firebase) This is the java code for the activity This is the log at that time, I had already tried to debug but couldn’t get any solution…………………………………………………………………………….. Answer You should initialize your storage reference before you call its child, so inside your uploadImage(),

Firebase email+password authentication in Java

I’m trying to use Firebase email and password authentication in Java using their REST API, as their Admin SDK doesn’t provide the needed methods to log in etc., only user management methods. With help from this answer, I’ve managed to put together the following code, which works for correct credentials but when trying to handle errors e.g. USER_NOT_FOUND or INVALID_PASSWORD,

Advertisement