You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the plugin does listen for individual deletions/additions/changes etc. if there are mass deletions and/or additions, the plugin may end up in a state where it list previously deleted objects.
Steps to reproduce:
Open Legacy Tester on testApp on iOS.
Open "Deliver" tab on the desktop flipper plugin.
Click "Delete + Create parcel test data" on the device.
You will now have 14 objects instead of 10 even though this function deletes all (10) deliveries and creates new (10) deliveries.
Refreshing would bring it to the correct state.
This is likely caused by the delay between the listeners and the deletions/additions. We may want to simply refresh the entire realm if we receive too many changes from the device at once.
The text was updated successfully, but these errors were encountered:
gagik
changed the title
Mass addition and deletion is error-prone
Plugin live listeners during mass addition and deletion of objects is error-prone
Jan 6, 2023
While the plugin does listen for individual deletions/additions/changes etc. if there are mass deletions and/or additions, the plugin may end up in a state where it list previously deleted objects.
Steps to reproduce:
testApp
on iOS.This is likely caused by the delay between the listeners and the deletions/additions. We may want to simply refresh the entire realm if we receive too many changes from the device at once.
The text was updated successfully, but these errors were encountered: