Skip to content

Cloud Firestore FieldValue.increment in quick succession crashes app on Android #35269

@creativecreatorormaybenot

Description

Flutter version: Channel master, v1.7.6-pre.48
cloud_firestore: 0.12.5+2

I am trying to update a document using FieldValue.increment and the code can be executed multiple times in a row:

await Firestore.instance
  .collection('cakes')
  .document('green')
  .updateData({'mass': FieldValue.increment(7)});

Basically, simply using FieldValue.increment in quick succession (< 1s) will not produce an error but crash the whole app on Android devices, i.e. force stop: https://gist.github.com/creativecreatorormaybenot/dd394363bb0a8dde27a5f3f33b9a9043

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions