-
Type: Bug
-
Resolution: Incomplete
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
How frequently does the bug occur?
Always
Description
Hi there,
I use Realm Swift in my iOS native project and Realm Kotlin for a shared module that builds in Kotlin on multiple platforms. When trying to write data to Realm Swift I got an error (please check the screenshot below).
Here is some information.
RealmSwift (~> 10.7)
id("io.realm.kotlin") version "1.8.0"
Realm Swift configuration:
private lazy var configuration: Realm.Configuration = { var realmConfiguration = configurationBuilder() realmConfiguration.schemaVersion = USRealmManager.buildNumber realmConfiguration.fileURL = FileManager.default .containerURL(forSecurityApplicationGroupIdentifier: "group.com.myapp.stg")? .appendingPathComponent("myapp.realm") #if DEBUG realmConfiguration.encryptionKey = nil #endif return realmConfiguration }()
Realm Kotlin configuration
constructor(realmObject: RealmObject) { val config = RealmConfiguration.Builder(schema = setOf(realmObject::class)) .build() realm = Realm.open(config) }
I hope anyone can help me to sort it out. Thank you guys.
Stacktrace & log output
No response
Can you reproduce the bug?
– select –
Reproduction Steps
No response
Version
RealmSwift (~> 10.7) id("io.realm.kotlin") version "1.8.0"
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
RealmSwift (~> 10.7) and id("io.realm.kotlin") version "1.8.0"
Build environment
No response