flipt-io / flipt-client-sdks

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

[FLI-987] Swift SDK #263

Open markphelps opened 5 months ago

markphelps commented 5 months ago

Language

Swift

FFI Support

Additional Context

Since the client-side evaluation SDKs are particularly useful for mobile usecases, I think it makes sense to start working on some mobile-specific languages such as Swift, Kotlin (Android), and Flutter (#32)

@GeorgeMac turned me on to https://mozilla.github.io/uniffi-rs/Overview.html which looks to be able to generate FFI bindings in host languages such as Swift and Kotlin and is used by the Mozilla team for their mobile Firefox browsers

It would be great if we could get an implementation of flipt-client-swift which could use these bindings to call our existing flipt-engine-ffi library.

Willing to Implement

Willing to Review

Additional Notes

I can help with generating the bindings, creating the releases, setting up tests, etc, however, I will need help with the Swift wrapper code so that it is idiomatic Swift

FLI-987

markphelps commented 3 weeks ago

Blocked by #354