I’m encountering this error on my app’s splash screen. The splash screen code is only shown in the image below. I wasn’t receiving any errors before. I’m curious if the same error occurs on other pages.
Hi Nivex,
I think there’s simply an error in the blocks, could you show us the Screen.Initialize?
From this error, I can tell you’re trying to run a FirebaseAuth.getCurrentUser on a null value .
I had set up something simple and never developed it again, and this was the first time I received such an error.
I don’t think the error is here, it’s related to the FirebaseAuth.getCurrentUser block.
Is it possible that you’re calling this command without being logged in?
Edit:
Confirmed

Register a user before performing a getCurrentUser.
It doesn’t work exactly.
Do you have a sample login system? I only did this because I wanted my login system to remember the information after it was entered once.
Yes, I saw that too, but I couldn’t think of anything I could do about it. Could you elaborate more, if it wouldn’t be a burden for you?
Is there anyone who can help me? I need to publish my app now.
I’m having the same problem, and it’s with the “IS SIGNED IN” block. But how else can we tell if the person has logged in or not?
Is the error in Companion or in the APK?
Firebase authentication works only in APK.
This error appears in both versions, both in the APK and the companion version.
This appears when you open the application.
It has the same block to test if the session is started.
Have you tried adding a timer to give Firebase time to initialize?
On Android 14 I have no issues, it works correctly even without the timer.
That’s strange, since I have it on a timer. I have Android 15, could that be the problem? It shouldn’t be. What’s the minimum SDK?
21
And how much time passes before IsSignedIn is called?
5 seconds, i have a splash screen. And i consult if the user is signed or not.
But is it a splash screen inside a screen1 or in a virtual screen?
I think you need to wait one second in the screen where the Firebase component is present.
in screen 1, i have a clock and firebase in screen 1.



