Widget (Cross-process) Support #357
FahadBuilds
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Hi @FahadBuilds, this is more of a general problem with SQLite databases and not directly related to this library. And while it can be tricky to share data in a SQLite database across processes/containers, there are tricks to make it work in some sense (see end of the linked article). And while it may seem that SwiftData handles this seamlessly, I'm also quite curious 1) how they accomplished it, and 2) is it really 100% full proof. After all, they do use a SQLite database under the hood, and so it subject to the same problems that any SQLite database has. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I experimented a bit with SQLiteData, and correct me if i'm wrong, but seems that there is no way to access the database from widgets (other processes) in the same app group. That's one of the biggest reasons that is stopping me from switching from SwiftData.
Beta Was this translation helpful? Give feedback.
All reactions