GPS attendance system not saving check-in data

GPS attendance system not saving check-in data

Description:
I’m building a GPS attendance app. The LocationSensor works, but when I click the button, data isn’t saved to Firebase.

What I did:

  1. Added LocationSensor and Firebase components.
  2. Used this code: [attach screenshot of Blocks].
  3. Enabled Firebase in console and added API keys.

Error:
"Firebase failed to initialize" appears when testing.

App Inventor version: 2.6
Phone: Android 12

Where is your firebase server?

Where are your blocks?

:question: