Use the AI2 Companion App: On your Chromebook, install the "MIT AI2 Companion" app from the Google Play Store. You don't need a separate emulator if your Chromebook can run Android apps.
Connect to Your Project:
In App Inventor, go to Connect -> AI Companion.
Open the companion app on your Chromebook and scan the QR code or enter the 6-character code.
Use the Extension:
Make sure you have correctly set up the Client ID and Client Secret for the Google Sign-in extension in your App Inventor project.
The sign-in process should work directly within the AI2 Companion app.
If it doesn't work:
Double-check your Client ID and Client Secret.
As a final test, build the app (APK file) and install it on your Chromebook to ensure all functionalities work as expected.
Urgent Help: Google Sign-In with Firebase Auth and MrKoder's Extension Not Working (No Sign-In Window)
Hello App Inventor Community,
I am struggling to implement the Google Sign-in functionality in my MIT App Inventor project. My current setup is not working, and clicking the button results in no action—the Google ID Selection Window does not open.
My setup details are as follows:
Firebase Auth Component: I am using the built-in Firebase Authentication component.
Google Services File: I have successfully uploaded the google-services.json file in the project's Properties.
Extension: I recently imported and added the V3 SignInWithGoogle.aix (MrKoder's Extension) to my screen (named GoogleDevAPI1).
My Blocks Code:
When the button is clicked:
when Button1.Click do
call GoogleDevAPI1.StartGoogleDeviceAuthFlow
(Note: The StartGoogleDeviceAuthFlow block has no sockets/arguments.)
On successful sign-in:
when FirebaseAuth1.GotUser do
Open another screen screenName "Screen2"
The Problem: Clicking the button does absolutely nothing. No sign-in window appears, and there are no error messages.
My Question: Is there a missing step to correctly bridge the GoogleDevAPI Extension with the Firebase Authentication component? Or should I be calling a different block? I need the correct method to use this specific Extension with Firebase Auth.