Skip to content

Can we allow customers to provide their own URLSessionConfiguration class #94

@gazreese

Description

@gazreese

The Android SDK has the following, which simplifies things somewhat: https://github.com/Flagsmith/flagsmith-kotlin-android-client/blob/main/FlagsmithClient/src/main/java/com/flagsmith/FlagsmithCacheConfig.kt

The iOS SDK has similar here:

public final class CacheConfig {

I'm sure these are similar by intention. Is there a way to expose or inject a URLSessionConfiguration class? Specifically the customer was asking to reduce the request timeout from 60s to 1s. 60s does seem excessive.

Maybe if the URLSessionConfiguration class injection could be problematic we could expose the request timeout (and anything else that's useful) on both.

Metadata

Metadata

Assignees

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