Claude Obiri Amadu

Member
Licensed User
Longtime User

asales

Expert
Licensed User
Longtime User
Hello @Claude Obiri Amadu,
Thank you very much for this project.

I changed the projectID, the API_KEY and put google-services.json file in the folder.

I run the example and send the message.
I can see the message in Firestore Database in the Firebase console, but the chat in the B4A and B4J apps is being not update (I can't see the bubbles with messages).

What could I be forgetting?
Thanks in advance for any tips.
 

Claude Obiri Amadu

Member
Licensed User
Longtime User
Hello @Claude Obiri Amadu,
Thank you very much for this project.

I changed the projectID, the API_KEY and put google-services.json file in the folder.

I run the example and send the message.
I can see the message in Firestore Database in the Firebase console, but the chat in the B4A and B4J apps is being not update (I can't see the bubbles with messages).

What could I be forgetting?
Thanks in advance for any tips.
You're welcome @asales

Have you hosted the html file in your firebase console?
First you'll need to install Firebase CLI
  1. Create a folder and open the folder in VS Code
  2. In the terminal run firebase init hosting
  3. When its done copy the index.html to the public folder
  4. Edit the paste your firebase config
  5. In the terminal run firebase deploy --only hosting
  6. Check if it works by visiting https://PROJECT_ID.web.app/?collection=[A collection here] in a browser
  7. View the browser console if you see logs of your collection as below then you're set to go
image_2024-01-02_185625776.png
 
Top