11/10/2023 0 Comments Where is android sdkThe following explains how to use this SDK. Val client: SplitClient = splitFactory.client() Using the SDK SplitFactoryBuilder.build(sdkKey, key, config, applicationContext) This could also be a cookie you generate for anonymous users key represents your internal user id, or the account id that Val config: SplitClientConfig = SplitClientConfig.builder().build() This is a special type of API token with limited privileges that is used for the untrustable browsers or mobile clients. The API key is available on your Admin Settings page, on the APIs keys tab. Include the API key for the environment that you are setting up the SDK for. We recommend instantiating the SDK once as a singleton and reusing it throughout your application. Further initializations fetch data from that cache and the configuration is immediately available. In this circumstance, the SDK does not fail, rather, it returns the control treatment.Īfter the first initialization, the fetched data is stored. If the SDK is asked to evaluate which treatment to show to a customer for a specific feature flag while it is in this intermediate state, it may not have the data necessary to run the evaluation. This process can take up to a few hundred milliseconds, depending on the size of the data. The first time the SDK is instantiated, it starts background tasks to update an in-memory cache and in-storage cache with small amounts of data fetched from Split servers. Instantiate the SDK and create a new Split client Implementation 'io.split.client:android-client:3.3.0' 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |