You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create the sqlite file on iOS in the application group directory so it can be shared between the main app and the today notification center widget. I've created sqlite files and shared it successfully this way in the past, just not using sqldelight.
Uncaught Kotlin exception: kotlin.IllegalArgumentException: File
/Users/username/Library/Developer/CoreSimulator/Devices/63D82DB4-4A53-4931-906C-BB63480D651C/data/Containers/Shared/AppGroup/23F1DE03-88A2-4840-BB83-037915A442B9/db contains a path separator
It seems in DatabaseConfiguration there is a hard requirement that the sqlite file doesn't contain path separators:
if (name.contains("/")) {
throw IllegalArgumentException(
"File $name contains a path separator"
)
}
Putting the sqlite file in the application group directory is a pretty common scenario to share data with extensions - is there any way to do this? Can this path check be removed? Thanks
The text was updated successfully, but these errors were encountered:
I'm trying to create the sqlite file on iOS in the application group directory so it can be shared between the main app and the today notification center widget. I've created sqlite files and shared it successfully this way in the past, just not using sqldelight.
Runtime Environment
SQLDelight version: 1.3.0
Application OS: iOS
Describe the bug
Exception:
It seems in DatabaseConfiguration there is a hard requirement that the sqlite file doesn't contain path separators:
Putting the sqlite file in the application group directory is a pretty common scenario to share data with extensions - is there any way to do this? Can this path check be removed? Thanks
The text was updated successfully, but these errors were encountered: