Going through the Code Lab for Firebase Android Friendly Chat - at https://codelabs.developers.google.com/codelabs/firebase-android/ - I have a problem when none of the callbacks reach / call for step 7: Reading messages
By executing the / android -start project, I can go through the first steps 2-6:
- Overview
- Get sample code
- Import Starter App
- Create a Firebase Console Project
- Launch the starter app
- Enable authentication (Android application added with package name and SHA1 through project console, etc.)
However, when I go to step 7, none of the calling calls are called. I run the application and the login / logout steps work.
I imported initial_messages.json as indicated there, and copied the code exactly for step 7 (several attempts to make sure that maybe I did not miss something along the way), and then even tried to finish / android. There is also the same question when callbacks never start, and so the spinner just hangs there.
Since there is so much code, I will post sections in which I expect the callback to be executed. Can someone please advise what I am missing here? And no problem - if that helps add more code that I have. thank you for reading
source share