Internal error in Firestore (0.6.6-dev) when trying to update document

后端 未结 2 817
南旧
南旧 2020-12-20 14:32

The following error is giving me a hard time. I\'m trying to update a single field in a document stored in my Firestore project.

    E/AndroidRuntime: FATA         


        
2条回答
  •  忘掉有多难
    2020-12-20 14:41

    This problem occurs when your are initializing the Firestore object multiple times in many processes. So instead of declaring it again and again, declare it globally and use accordingly..

提交回复
热议问题