Blank Screen While Launching App!

EcoNexus.aia (2.0 MB)

Your Firebase URL
https://abcdef-1c925-default-rtdb.asia-southeast1.firebasedatabase.app/

probably won't work with the AI2 Firebase component.

It needs a us central server.


Ive changed it but still blank screen.
vbvvb (1).aia (41.8 KB)

Firebase has a data console where you can see what's in the database.

What does it show?

If you are loading the data from a hardware sketch, show the sketch.

(removed, for sensitive info)

You need a Firebase Error event block to catch Firebase errors.


(draggable)

Also, I noticed you had a leading blank in both
text
blocks.

Thanks! But its still blank screen. :frowning:

I get the message

Error from Companion: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

I followed the steps at

for some one else who got this error, but they did not help.

I am not in a position to verify the part about the us-central server.

I suggest reading the @TIMAI2 articles in the FAQ on reading the Firebase data via its Web API.

You might need to be redirected to find them.

1 Like

I also get an error message


when I try to write to the database with my own tag.

Something is wrong with the setup for your database, and I have lost track of where to look for correct Firebase database setup instructions.