build.gradle file:
onCreate() method of your Application class:environmentName) and app variant name (appVariantName). The appVariantName specifies which application variant generates the data. For more configuration options, see Advanced Configuration.fc-sdk-android-okhttp library dependency to your module-level build.gradle file:DatadogInterceptor as an interceptor, every request handled by OkHttpClient is automatically recorded as a resource, with related information (URL, method, status code, error) automatically populated. Note: Only network requests initiated when a view is active will be tracked. To track requests when the app is in the background, see Track Background Events.DatadogInterceptor as a network interceptor:DatadogInterceptor as the first interceptorEventListener to your OkHttpClient to automatically track resource timing for third-party providers and network requests.DatadogInterceptor, configure a custom EventMapper in the RumConfiguration:getAssetAsRumResource extension method:getRawResAsRumResource extension method:webView: The WebView instance to trackallowedHosts: List of allowed domains for tracking, supports wildcardsproguard-rules.pro file:# Flashcat SDK
-keep class cloud.flashcat.android.** { *; }
-dontwarn cloud.flashcat.android.**