File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/src/iosMain/kotlin/kotli/app/di/platform Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11package kotli.app.di.platform
22
3+ import kotlinx.cinterop.ExperimentalForeignApi
34import platform.Foundation.NSDocumentDirectory
45import platform.Foundation.NSFileManager
56import platform.Foundation.NSURL
67import platform.Foundation.NSUserDomainMask
78
9+ @OptIn(ExperimentalForeignApi ::class )
810actual fun createDataStorePath (fileName : String ): String {
911 val documentDirectory: NSURL ? = NSFileManager .defaultManager.URLForDirectory (
1012 directory = NSDocumentDirectory ,
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ org.jetbrains.compose.experimental.jscanvas.enabled=true
66kotlin.mpp.enableCInteropCommonization =true
77kotlin.native.ignoreDisabledTargets =true
88kotlin.native.disableCompilerDaemon =true
9- kotlin.js.yarn =true
9+ kotlin.js.yarn =true
10+ ksp.useKSP2 =true
You can’t perform that action at this time.
0 commit comments