-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
SDK FY21-Q3.
-
3180
Goals
Create a new realm object in a realm stored in an app group. It worked for RealmJS 6.0.3, but it no longer works for Realm JS 6.1.0. I believe this may be caused by the following update in 6.1.0:
> Holding a shared lock while being suspended on iOS would cause the app to be terminated. (6671)(realm/realm-cocoa#6671)
Expected Results
The object should be added no issue.
Actual Results
I get the error: Continuous transaction through SharedGroup object without history information.
Full error log
Steps to Reproduce
- Create a Realm in a shared app group.
- Try to create a new object:
Code Sample
Can't provide the source of the code, but any creation in a shared app group should have similar results.
realm.write(() => {
realm.create('MyItem', item, UpdateMode.All);
});
Version of Realm and Tooling
- Realm JS SDK Version: 6.1.0
- Node or React Native: 0.63.3
- Client OS & Version: iOS 13.4 iPhone 11 Pro Simulator
- Which debugger for React Native: None