flipt-io / flipt-client-sdks

Flipt Client-Side Evaluation SDKs
https://www.flipt.io/docs/integration/client
MIT License
16 stars 7 forks source link

kotlin android #471

Open mubasi29 opened 3 weeks ago

mubasi29 commented 3 weeks ago

Language

kotlin android

FFI Support

Additional Context

i'm already implement java lib on my project android but so many file not found. Screenshot 2024-10-28 101948

Willing to Implement

Willing to Review

Additional Notes

No response

markphelps commented 3 weeks ago

i'm already implement java lib on my project android but so many file not found.

@mubasi29 Amazing! Would it be possible to share the source for this? we can collab in a separate repo if you want, or in a branch off of this repo. We could help fix the file not found/library lookup issues

mubasi29 commented 3 weeks ago

@markphelps Sure. I'm interested in this.

In this case I implemented it in build.gradle with version 0.8.0 "https://github.com/flipt-io/flipt-client-sdks/tree/flipt-client-java-v0.8.0" with gradle version 7.2 and an error not found appears as in the attached image. I only got 2 files, namely:

  1. libflipengine.so
  2. libjnidispatch.so

for the file "libgcc_s.so1" it didn't work. after this file I don't know if there are other files that weren't found

there is additional code in gradle.propertes namely "android.jetifier.ignorelist = jackson-core" because of a conflict with the library "Jackson Java 8 Modules"