App Crash while doing multiple transaction Rollback #3410
Replies: 1 comment 2 replies
-
Hi @dharamhbtik, your approach (writing to realm while the transaction is open and then eventually rollback) sounds fine. Unfortunately the logs are not very helpful. Some questions:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have few functionality in which user can undo his activities and for that we are using realm transactions. So we do undo with a timer for 10 seconds. So transaction is open for 10 seconds and if in that interval user clicks on UNDO button then we are calling trans RollBack method and disposing everything if user doesn't click then we are calling commit method.
So randomly app is crashing. Sometimes, on First Undo and next activity crashes, sometimes after 3-4 UNDO and next activity crashes.
We are not able to get what exactly is causing this issue. Below is some log from the device which might get some insight
Beta Was this translation helpful? Give feedback.
All reactions