Developers
Kotlin Multiplatform: quickstart
Install and first-use steps for sending events to Feralin with Kotlin Multiplatform. Code samples come from the SDK's own README and statuses from the capability record.
Install
There is no package published on Maven Central yet. The package is downloaded from feralin.com; the commands first verify the SHA-256 digest of feralin-kmp-0.1.0.tar.gz and stop if verification fails.
mkdir -p feralin-sdk
curl -fsSL https://feralin.com/sdk/packages/feralin-kmp-0.1.0.tar.gz -o feralin-sdk/feralin-kmp-0.1.0.tar.gz
echo "618a7844a51bb5f78be2f09f09aab2f9dd14eb6f52bda564ff59ea4336b62f0e feralin-sdk/feralin-kmp-0.1.0.tar.gz" | sha256sum -c -
tar -xzf feralin-sdk/feralin-kmp-0.1.0.tar.gz -C feralin-sdkAfter extracting the archive, follow the Installation section in feralin-sdk/feralin-kmp-0.1.0/README.md.
First use
val client = FeralinClient(
FeralinConfig(
projectKey = "pk_live_...",
collectUrl = "https://collect.example.com",
consent = Consent(analytics = true),
),
)
client.track("order_completed", mapOf("order_id" to "ord_1", "amount" to 249.9), userId = "user_42")
val sonuc = client.flush() // suspend; ağ hatasında fırlatmaz, sonuç sonuc.error içinde
client.close() // suspend; kalan olayları en fazla 5 sn içinde gönderirCode samples are taken as they are from sdks/kmp/README.md; comments inside may be in Turkish. You create the project key in the dashboard.
Capabilities
| Capability | Status |
|---|---|
| Event sending | Partial |
| Batch sending | Partial |
| Consent handling | Partial |
| Identity | Partial |
| Attribution | Planned |
| Deep links | Planned |
| Revenue | Partial |
| Error capture | Partial |
| Session replay | Not applicable |
| Tracing | Planned |
Verification chain
| Link | Status |
|---|---|
| Source | Partial |
| Build | Partial |
| Test | Partial |
| Registry publication | Waiting for external access |
| Clean install | Partial |
| Event receipt | Partial |
| Documentation | Passed |
| Super Admin proof | Not started |
Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.