I have problem with firebase and boolean

I am getting 2 errors. The first one is " invoke: unable to invoke method GetValue in object of type boolean. Irritants: ()
Note: You will not see another error reported for 5 seconds. " error, the second one is " Error from Companion: error: undefined variable (irritants:yail/com.google.appinventor.components.runtime.FirebaseDB) " . Can you please help?

are you testing in iOS?

If yes then see here https://doesappinventorrunonios.com/