Uncaught exception in Firebase runloop (3.0.0)

前端 未结 7 1637
攒了一身酷
攒了一身酷 2020-11-28 08:43

I\'m using the latest firebase(9.0.2): build.gradle:

dependencies {
     ...
     compile \"com.google.firebase:firebase-database:9.0.2\"
     c         


        
7条回答
  •  我在风中等你
    2020-11-28 09:14

    Just for the record:

    We solved the Uncaught exception in Firebase runloop (3.0.0) by removing following line

    //remove this "feature" if you should use it
    FirebaseApp.setAutomaticResourceManagmentEnabled(true)
    

    API description:

    If set to true it indicates that Firebase should close database connections automatically when the app is in the background. Disabled by default.

    (Might be, that we missed some configurations for correct usage of this feature, but App is working as expected after not enabling the ResourceManagment)

提交回复
热议问题