From 176ca02df16f5f5b79457a52fae92a656bd97f6f Mon Sep 17 00:00:00 2001 From: sjaanus Date: Tue, 8 Oct 2024 13:24:25 +0300 Subject: [PATCH] feat: android/swift slow metric info --- frontend/src/component/onboarding/dialog/snippets/android.md | 1 + frontend/src/component/onboarding/dialog/snippets/swift.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/onboarding/dialog/snippets/android.md b/frontend/src/component/onboarding/dialog/snippets/android.md index f538914d3c..0d1d51ed0f 100644 --- a/frontend/src/component/onboarding/dialog/snippets/android.md +++ b/frontend/src/component/onboarding/dialog/snippets/android.md @@ -58,6 +58,7 @@ class MainActivity : ComponentActivity() { } } ``` +ℹ️ **Info:** The Android SDK takes at least 60 seconds to post metrics to Unleash. --- --- diff --git a/frontend/src/component/onboarding/dialog/snippets/swift.md b/frontend/src/component/onboarding/dialog/snippets/swift.md index 79824a296f..fb83e805eb 100644 --- a/frontend/src/component/onboarding/dialog/snippets/swift.md +++ b/frontend/src/component/onboarding/dialog/snippets/swift.md @@ -12,7 +12,6 @@ import UnleashProxyClientSwift var unleash = UnleashProxyClientSwift.UnleashClient( unleashUrl: "", clientKey: "", // in production use environment variable - refreshInterval: 5, // in production remove this or increase to >=5 appName: "unleash-onboarding-swift", context: [:]) @@ -22,3 +21,4 @@ Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in print("Is enabled", unleash.isEnabled(name: "")) } ``` +ℹ️ **Info:** The Swift SDK takes at least 60 seconds to post metrics to Unleash.