rust-server-sdk icon indicating copy to clipboard operation
rust-server-sdk copied to clipboard

Expose mobile_side_only flags through the Server SDK

Open 0xarvin opened this issue 1 year ago • 2 comments

Describe the solution you'd like When fetching all_flags_details, I noticed that FlagDetailConfig includes a field for client_side_only but it doesn't include one for mobile_side_only. We'd like to fetch the mobile only flags from our server. Our target architecture is to have the server drive a lot of the interactions with external vendors and for the client to require as few external dependencies as possible.

Describe alternatives you've considered There are no additional pieces of information to discern flags from the returned values in all_flag_details. Otherwise, I would look through each of the flags and filter on whether it was a mobile only flag.

Additional context Add any other context about the feature request here.

0xarvin avatar Mar 14 '24 16:03 0xarvin

Hi @0xarvin , this sounds like a reasonable use-case - would you mind expanding a bit on:

Our target architecture is to have the server drive a lot of the interactions with external vendors and for the client to require as few external dependencies as possible.

And how that relates to your request?

Filed internally as 236815.

cwaldren-ld avatar Mar 15 '24 19:03 cwaldren-ld

So we don't want to use the LaunchDarkly iOS and Android SDKs. Rather, we want our server backend to retrieve the relevant mobile flags and return them to the client.

Right now, that isn't possible through any of the SDK endpoints.

0xarvin avatar Mar 15 '24 21:03 0xarvin