AdobeDocs / AdobeDocs/aep-mobile-sdkdocs

Update Lifecycle direct extension's configuraiton keys to include the data type required

Open Beginner friendly
#797 0 comments 0 reactions 0 assignees View on GitHub
edgesquad
Dominant language
JavaScript
Stars
6
Forks
54
Avg merge
1d 18h
Merged PRs (30d)
10

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### 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:

```swift
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)
}
```

Contributor guide

Open the contributing guide

Research direction

Start with the Lifecycle configuration keys page linked in the issue and review how the session timeout key is documented. Update the documentation to state that its value must be an integer, and clarify the value expected by the Lifecycle extension. Done when users can identify the required data type from the page.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.