MobileNativeFoundation / MobileNativeFoundation/Kronos
Is it possible to use multiple NTP hosts?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 699
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
Hello Lyft ๐๐
I'm stepping across this project, as we're looking for NTP library. It looks great and does what we need with minimum code ๐. Although, I'm wondering if it's possible to specify multiple NTP hosts?
Kronos Android supports it:
val NTP_HOSTS = listOf("0.pool.ntp.org", "1.pool.ntp.org", "2.pool.ntp.org", "3.pool.ntp.org")
// ..
ntpHosts: List<String> = NTP_HOSTS
but the iOS version seems to only accept single host:
pool: String = "time.apple.com"
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.
Research direction
Start by locating the Swift API that currently accepts the single pool: String = "time.apple.com" value, and compare its behavior with kronos-java/src/main/java/com/lyft/kronos/DefaultParam.kt. Determine how multiple NTP hosts should be represented and used, then verify that the Swift API supports the equivalent host-list configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, swift
- Domain
- mobile-dev, networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100