• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Firebase authentication succeeds and yet doesn't work

Hello, I've ran into this problem today and it drives me nuts, any help would be appreciated.

I'm using Firebase authentication with email and password, the user is created and appears in the Firebase console, but FirebaseAuth.getCurrentUser() as well as task.getResult().getUser() returns some Default user and not the one just created.

I've checked the currentUser immediately after registering a new user, after registering and moving to a different fragment, after putting the app in the background, after killing and restarting the app, after using firebase sign in method...

Everything seemingly works otherswise, the firebase methods (sign in and register with email and password) result success and as I said the user shows up on the firebase console.

I tried deleting the Firebase project and creating a new on for the app, it didn't help.

There's nothing in the logcat whatsoever that indicates something is going wrong in the process. The only firebase related logs I see after registering\logging in are:
2021-10-01 18:48:44.409 11933-11977/com.app.app D/FirebaseAuth: Notifying id token listeners about user ( Ap5hU8qtQdcTdO4KwQbqA3xxrvV2).
2021-10-01 18:48:44.410 11933-11977/com.app.app D/FirebaseAuth:Notifying auth state listeners about user (Ap5hU8qtQdcTdO4KwQbqA3xxrvV2 ).

Loose micro USB socket

Not very relevant, but I had a port problem over some months with a Nokia 7 Plus, where I had to hold or prop the cable and USB C plug at an increasingly critical angle to get it to charge.

Turns out, after a search, this was a common problem for this and 1 or 2 other models because the metal of the port was sub standard and prone to warping or expanding.

Within the 2 year warranty Nokia were terrific and arranged DHL to collect and deliver to Hungary! from London. Overall about 7 days, but necessitating a cheap phone purchase which I struggled to afford at the time.

They replaced a whole charging board, which sits across / attaches to the bottom of the main motherboard. It also came back with a few other features so they must have flashed the whole thing.

aar api

Hi, I got a .aar with java to create my app.
The documentation says
"
This is the base class for apps that which to interface with running instances of XXX to consumer its API. The overriding class will be executed as a remote service, on which hooks will be called by the plugin host. As it is a service, the class needs to be exposed in the AndroidManifest.xml as a service with export set to true.
"

Is it possible for a second app to call the methods of the app that contains this class?
How can i expose the class in the manifest? thanks all.

Nexus 10 Auto Power-off

Hi,

I hope someone can help. I recently had to replace the battery in my Nexus 10. I followed a YouTube video and successfully replaced the battery, charged it up and switch on the Nexus 10, OK so far.

Trouble is, the system auto powered-odd when the battery was still at about 65%. It only took around 3 hours to fully recharge, and the same thing happened again, at about 65%.

Does any know how or where the level at which the system auto powers-off can be reset to a lower value. The "settings" pages are of no help, and neither is the manual. Any help would be appreciated.

Regards,

Mike042

Hmmm...

I get the security massively of protecting my mug and others around me, but almost every time I live stream on FB, makes my entire house distorted in pixels, could be my wide screen monitor hahaaa :) Makes everything super huge :) So just wondering if there was a way how to expand on the pixels...

Why Fastboot boot Twrprecovery.img hangs loads after 3-4 tries?

Question :- Why Fastboot boot Twrprecovery.img hangs loads after 3-4 tries?

I want original backup of Nandroid system userdata boot recovery partitions from twrp recovery from PC computers I load twrp recovery image in bootloader fastboot mode through command fastboot boot twrprexovery.img but as I run command the mobile white screen ( which came after adb boot bootloader) goes to blank black and in pc continuously prompts multiple drives a dialogue box to format multiple drives loaded created on twrp mtp (e,f,g,h,j,k) mounted after fastboot boot twrprecovery command. What I think happened twrp crating multiple mtp drives and closing I am have cancel multiple dialogue boxes in computer windows 10.

Other commands used in sequence


Code:
Adb devices
Adb reboot bootloader
Fastboot devices
Fastboot boot twrprecovery.img


But after rebooting reconnecting to different usb sockets mobile and trying 2-3 times this fastboot boot twrprecovery.img it finally display and load twrp image and display twrp menu.. and I took backup and recovery all went succesful....it means twrp image is right and not corrupted and working fine...and for same device


The problem is why it's loading after 2-3 attempt on same usb port same drivers same cable it happened many time not one time.


Now I am asking as I want to install flash twrprexovery.img to recovery partition and wooried that is it problem to image or any thing with it don't create problem after installing flashing .. how should I install twrp recovery which command is safe (fastboot flash recovery twrp.img)
Should I install as twrp recovery can be loaded and used with pc without installing but will not run through mobile.

Xz1 - will only boot up to the 3 dots then shuts down

What state is it in when you connect to the PC? File transfer via MTP requires that the Android operating system is running, so if it won't boot I'd not expect you to be able to see the filesystem.

I don't know what the procedure and tools for flashing a Sony are (each manufacturer has its own way of doing this), but I'd guess you would have to boot it into fastboot or download mode (some tools would connect to the phone when it is running Android and tell it to boot into the correct mode, but that sounds unlikely to work in this state). Which raises the question of whether the phone will boot into those modes, or recovery mode? If it is stable in one of those modes there's a chance something can be done.

If it was bootlooping (constantly restarts part way through the boot up) I'd suggest going into recovery mode and trying a factory reset, but this sounds a bit worse than that. You could still try, but I'm not optimistic (of course you'd lose any data that aren't backed up, so if there is anything important there I'd keep this as a last resort).
Ok thanks very much for your advice, cheers

National Suicide/Mental Health: Dial 988

Thank you for posting this, @rootabaga. It most definitely is a crisis, and getting this new number out there and known is very important, because no one knows when they may need it. We all need to commit it to memory, to know it by rote, teach it to our children, just like 911 for other emergencies.

Just to drive home what a crisis it is, both my brother and a dear friend killed themselves. They were both veterans, both had depression and substance abuse problems, and both gave up. I don't know whether this number could've helped versus the things that were tried, but I still wish it had existed then.

Filter

Back
Top Bottom