Fixing Firebase

I have a fix for the Firebase component. It's currently being reviewed, and assuming all is OK (I tested it). I should be able to deploy it in the next few days.

Keep in mind that Google, at any moment, may make an incompatible change and break it for good. As the libraries we use to access it have been officially deprecated for almost 10 years and Google no longer supports, or even mentions, how we do authentication.

-Jeff

2 Likes

P.S. The fix is completely on the server side. No new Companion is needed. If people have packaged Apps that use Firebase and they don't work, they will need to repackage them.

Note: Older packaged Apps that worked continued to work.

The problem was in the code that we had that fetches the access token from the App Inventor server when you load a project (you can see this if you include a Firebase component and look at the token property in the designer; you will see that it is not filled in).

Looks like we (likely me!) broke it when we added support to fetch the static portions of App Inventor via CloudFlare.

-Jeff

4 Likes

Is this a "stealth" update to existing release?
Is it updated on the code2 and ai2a servers, ready to use and test now ?

I'm working on it now. I'll let you know when the change is in place. It is going on code2, ai2a and ai2. code.appinventor.mit.edu will not be updated, and is scheduled to shutdown this weekend...

-Jeff

2 Likes

Firebase should work again!

I actually cannot test, I only have the one project, an old one, that has always worked!

Could this thread be moved out of Power Users so others can read it?

I would like to update the Firebase FAQ.

I moved it to the community category. I am not sure if that is precisely the right place, but what the heck!

-Jeff

2 Likes