Is there an existing issue for this?
What's missing?
Current docs don't explain that the data type should be an int:
https://developer.adobe.com/client-sdks/home/base/mobile-core/lifecycle/configuration-keys/
and since a lot of config keys are strings, and the casting failure is silent, it's not obvious what value is being used:
private func getSessionTimeoutLength(configurationSharedState: [String: Any]?) -> TimeInterval {
guard let sessionTimeoutInt = configurationSharedState?[LifecycleConstants.EventDataKeys.CONFIG_SESSION_TIMEOUT] as? Int else {
return TimeInterval(LifecycleConstants.DEFAULT_LIFECYCLE_TIMEOUT)
}
return TimeInterval(sessionTimeoutInt)
}
Is there an existing issue for this?
What's missing?
Current docs don't explain that the data type should be an int:
https://developer.adobe.com/client-sdks/home/base/mobile-core/lifecycle/configuration-keys/
and since a lot of config keys are strings, and the casting failure is silent, it's not obvious what value is being used: