Skip to content

Implement Database interface on iOS #5417

@westnordost

Description

@westnordost

Requires #5412.

Implement the Database.kt interface for iOS using libsqlite3, analogous to android-specific implementation in AndroidDatabase

Currently, the code that creates the database file if it does not exist yet and opens the database in a thread-safe way is done StreetCompleteSQLiteOpenHelper (that inherits functionality from the Android class SQLiteOpenHelper. This functionality either needs to be reimplemented in platform-independent code or be reimplemented on iOS side.

Metadata

Metadata

Assignees

Labels

iOSnecessary for iOS port

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions