"Remove from Set" with Firestore "Doc Reference" silently fails on iOS after June 2025 update #5985
Open
1 of 2 tasks
Labels
status: can't reproduce
Following the reported steps did not reproduce the bug.
Can we access your project?
Current Behavior
`
🧩 Description:
After the recent FlutterFlow update in early June 2025, the
Remove from Set
Firestore action (used to remove aDocumentReference
from an array field) no longer works on iOS/TestFlight builds, though it still works perfectly on Android and Web.This was working fine across all platforms prior to the update, but now the removal action silently fails on iOS only, with no error logs or Firebase crash reports.
✅ Expected Behavior
When using:
Update Document
Remove from Set
on a field likeGuidance_Verses
(an array ofDoc Reference (Verses_Collection)
)…the selected document reference should be removed from the list on all platforms, including iOS.
❌ Actual Behavior
On Android & Web: item is correctly removed.
On iOS (TestFlight): nothing happens. The Firestore array field remains unchanged.
No crash, no error — just silent failure.
🔁 Reproduction Steps
In FlutterFlow, create a loop over a list of
Doc Reference (Verses_Collection)
.Inside the loop, add
Update Document
action to:Remove from Set
→Guidance_Verses
Value: current loop item (typed as
Doc Reference
)Run on:
Android: ✅ Works
Web: ✅ Works
iOS (TestFlight): ❌ Fails silently
🧪 Tests Attempted
To isolate the issue, I also tested:
✅ Using
Set Variable
to rebind loop item as a newDoc Reference
✅ Reading document and using
.reference
in update✅ Disabling batched writes
✅ Adding delay between actions
None of these solved the iOS failure.
🛠 Temporary Workaround
I can work around this issue by:
Using a custom backend call with raw Firestore
arrayRemove
Or migrating to using a subcollection instead of a
Doc Reference
list field…but ideally, the built-in
Remove from Set
logic should be cross-platform stable.🖥 Platform & Environment
Expected Behavior
The Remove from Set action should successfully remove a DocumentReference from a Firestore array field (e.g. Guidance_Verses) on all platforms, including iOS. This behavior worked prior to the June 2025 FlutterFlow update and continues to work on Android and Web. iOS should behave the same.
Steps to Reproduce
`In FlutterFlow, create a loop over a list of Doc Reference (Verses_Collection).
Inside the loop, add Update Document action to:
Remove from Set → Guidance_Verses
Value: current loop item (typed as Doc Reference)
Run on:
Android: ✅ Works
Web: ✅ Works
iOS (TestFlight): ❌ Fails silently`
Reproducible from Blank
Bug Report Code (Required)
ITFXk8nfsJVNssRE1bXiYPl4mWEwFjsFUOdEl9dTaEobfJysB4kqeer+VG9DXOnnegl6PFejrE8EptL3keDlJMAEGweVeINozLlyegHMfF+5RaqqC5C/dWh6J/tYf3Kx4Ji32B14D7JiL05kw2z/cq3qNleeY8aSfxBlZ7vfcPo=
Visual documentation
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: