Firebase Crash produces ANR during launch

前端 未结 4 1379
甜味超标
甜味超标 2020-12-15 05:34

Recently I got feedback and also I was able to reproduce it easily on my Nexus 5 with cleared app data. Simply, when adding compile \'com.google.firebase:firebase-crash:

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-15 05:57

    Just for the record:

    We solved the DynamiteModulesC NPE and 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)

提交回复
热议问题