realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.

Results 329 realm-kotlin issues
Sort by recently updated
recently updated
newest added

In all our integration tests we set up a TestApp for testing App Services functionality. If this test app is not torn down, it will leak dispatchers, which can potentially...

### Problem How to check if a Realm is empty or not? ### Solution Add `isEmpty` property like in other SDKs. ### Alternatives _No response_ ### How important is this...

O-Community
SDK-Use:Sync
Importance:Major

With https://github.com/realm/realm-kotlin/issues/1097 being fixed, we should revisit the `hashCode` and `equals` implementations of `RealmDictionary` and their associated `KeySet` implementations. They are only returning true for identical instances, which is too...

E.g this test: ``` fun deleteFile_exceptionInsideMutableRealm() = runBlocking { try { realm.subscriptions.update { throw RuntimeException("Boom!") } } catch (ex: RuntimeException) { if (ex.message == "Boom!") { realm.close() Realm.deleteRealm(config) } }...

It is quite easy to try to update frozen objects in a `write` block by: ``` val realm = Realm.open(...) realm.write { val obj = realm.query(...).find().first() obj.id = "newid" }...

### How frequently does the bug occur? Sometimes ### Description We have two users who are currently experiencing a crash [RLM_ERR_INVALID_DATABASE]: Failed to open Realm file at path '/data/user/0/*******/files/********.realm': file...

O-Community
T-Bug
SDK-Use:Local
Encryption:Off
Frequency:Sometimes
Repro:No

Saw this code in one of our sample apps: ``` e.message?.startsWith("[Service][Unknown(4351)]") != true ``` That indicates that throwing a specific exception like `UnknownAppServiceException` would be valuable, it also seems like...

### Problem As mentioned by [your documentation](https://www.mongodb.com/docs/realm/sdk/kotlin/users/custom-user-data), the Kotlin SDK currently only supports reading custom user data. Create, update or delete operations are unsupported. Since your documentation mentions that this...

O-Community
Importance:Workaround
SDK-Use:Sync

Currently, we only support `RealmAny.asRealmObject()` for dynamic realms. This makes it problematic to retrieve RealmAny values where the type might be uncertain. Obviously, the workaround could be to have a...