Skip to main content

Strings Not Loading

Ensure your API token is correct and corresponds to the right environment.
If the device is offline and the cache is empty, strings will return the fallback format ??key??.
Enable debug logging to see what’s happening under the hood.
#if DEBUG
StringbootLogger.isLoggingEnabled = true
StringbootLogger.logLevel = .debug
#endif

Cache Issues

Ensure you are initializing the SDK before accessing any strings. In SwiftUI, use the init() method of your App struct.
If the system is under heavy memory pressure, the SDK might evict strings from the memory cache. They will be re-fetched from the disk cache or network when needed.

Certificate Pinning

The SDK enables SSL certificate pinning by default in Release builds. If you are using a proxy (like Charles or Proxyman) to debug network traffic, requests will fail.Solution: Test network calls in a Debug build, where pinning is disabled.