Good afternoon everybody, such a question, there is an application, when you first start the application, the first activation is not loaded yet, and the phone weighs a white screen, does some operations, in the logs there is nothing at all at this point where to dig ???? I use Android Studio, the file is attached to the firebase project.

  • Did you use multithreading for firebase and database operations? Or did you throw everything into the main thread and do everything in it? - Silento
  • I do not use multithreading, this happens even before the onCreate event, I have not connected to the firebase yet. I now assume that this may be due to the attached file? He can do some hidden requests in the firebase, so if so how can we separate him into a separate question too? - Valera Vovnov
  • I think you do not understand the work of your application, hence all the problems, throw off the code that affects this file and firebase - nobody here is a telepath. - Silento
  • One way or another, without multithreading, it will constantly behave inhibited and with lags. - Silento
  • Faced such a problem, it was decided to turn off Instant Run in Android Studio. - Andrey Kasyanov

1 answer 1

Voobshchem I googled and found some kind of info, I had this bla bla bla bla 07-27 21: 41: 47.834 30750-30750 / com.vvv.logicpix D / FirebaseAuth: Notifying listeners about user bla bla bla as I and assumed that the file we generated to add to the project, he himself connects to the firebase without our vedam. I have a lot of Google problem and stumbled upon the fact that there is such a problem now everyone is talking about it. This is a problem on the side of the Google Base. for the first time since July 14, 2016, it was noticed and to this day 27 07 2016 is not fixed, the original source https://stackoverflow.com/questions/37742361/android-firebase-auth-state-listener-called-multiple-times