Installation

com.nomemmurrakh:documents is published on Maven Central. Add it to a KMP module's commonMain, or a plain Android module:

// build.gradle.kts
dependencies {
    implementation("com.nomemmurrakh:documents:0.1.0")
}

No setup ceremony

The library initializes MMKV for you — on Android via androidx.startup, on iOS via an internal initializeMMKV call using the in-process sandbox path on first use. You never call MMKV.initialize() and never pass a Context. Add the dependency, call Documents.document(...), and go.

Note

On Android, this works by merging a <provider android:name="androidx.startup.InitializationProvider"> entry into your app's manifest. You don't need to add anything yourself — just don't remove or override that merged entry (for example with a conflicting tools:node="remove" targeting InitializationProvider), or MMKV won't initialize and document access will fail at runtime.

Supported platforms

Android and iOS (arm64 and simulatorArm64) today — see Platform Support for the full table and how MMKV is bound on each target.

Where it's published

Maven Central, not JitPack — the standard Gradle dependency declaration above is all a consumer needs, no extra repository entries.

Continue to Quick Start →