Skip to content

Kotlin Multiplatform Support #3

@idan-fido

Description

@idan-fido

In order to make the client work with kmm projects
Need to rework the following:

  1. replace usage of GSON with kotlin.serialization
  2. replace use of android Context, Handler from FlagsmithAnalytics.kt with kotlin coroutines api
  3. replace SharedPreferences in FlagsmithAnalytics.kt with multiplatform-settings
  4. seems that Fuel (net lib) support kmm, but haven't tested, can consider replacing it with Ktor

Made a POC with ktor and kotlin.serialization
have not implement Analytics support yet

https://github.com/idan-fido/flagsmith-kotlin-multiplatform

gz#199

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions