Update Lifecycle direct extension's configuraiton keys to include the data type required
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- swift
- Domain
- documentation
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.
Description
Is there an existing issue for this?
- 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:
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)
}
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 54
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AdobeDocs/aep-mobile-sdkdocs
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
AdobeDocs/aep-mobile-sdkdocs#869 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
AdobeDocs/aep-mobile-sdkdocs#867 · 1 comment · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
AdobeDocs/aep-mobile-sdkdocs#854 · 1 comment ·
-
edgesquad
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
AdobeDocs/aep-mobile-sdkdocs#798 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
AdobeDocs/aep-mobile-sdkdocs#784 ·
All issues in AdobeDocs/aep-mobile-sdkdocs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·