Setup FileKit Core in your Kotlin Multiplatform project
PlatformFile
. It allows you to work with files in a platform-agnostic way. You can create, read, write, and delete files using the PlatformFile
API.
You can use PlatformFile
in your project by adding the following dependency:
appId
as app directory.
We recommend you to initialize FileKit in your main.kt
file:
%APPDATA%\your.application.id\
~/Library/Application Support/your.application.id/
~/.local/share/your.application.id/
FileKit.manualFileKitCoreInitialization(context)
in your MainActivity
or Application
class.