open-feature / kotlin-sdk

Kotlin implementation of the OpenFeature SDK for Android clients
https://openfeature.dev
Apache License 2.0
12 stars 4 forks source link

[FEATURE] Implement Tracking in Kotlin #110

Open beeme1mr opened 1 week ago

beeme1mr commented 1 week ago

Requirements

Implement tracking as per spec: https://github.com/open-feature/spec/commit/cd99c3560a68c1810971be19b87ea803fb9b0b3a

Functional requirements:

Non functional requirements:

README addition (be careful to correctly link to #hooks and #providers and update the code snippet for the language in question

### Tracking

The tracking API allows you to use OpenFeature abstractions and objects to associate user actions with feature flag evaluations.
This is essential for robust experimentation powered by feature flags.
For example, a flag enhancing the appearance of a UI component might drive user engagement to a new feature; to test this hypothesis, telemetry collected by a hook(#hooks) or provider(#providers) can be associated with telemetry reported in the client's `track` function.

{example-language-in-question}

Note that some providers may not support tracking; check the documentation for your provider for more information.