https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Jiri Bruchanov

03/21/2024, 11:30 AM
Hi, has anyone tried to interchange sqlite dbs (using sqldelight) between ios / android ? Assuming in theory it should just work, but android for example creates an
android_metadata
table so wondering if anyone has some real experience with it. Wondering if it really works simply as is or it needs some tweaks here and there because simple
db
file copy just isn't enough...
d

Darron Schall

03/21/2024, 2:03 PM
Should "just work". Per https://sqlite.org/appfileformat.html section 5:
Cross-Platform. SQLite database files are portable between 32-bit and 64-bit machines and between big-endian and little-endian architectures and between any of the various flavors of Windows and Unix-like operating systems.
2 Views