stadiamaps / stadiamaps/ferrostar
Enable changing route providers after initializing a FerrostarCore instance
- Dominant language
- Kotlin
- Stars
- 419
- Forks
- 81
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
Discussing with a developer using Ferrostar, they expressed frustration that they had to create a new instance of `FerrostarCore` for every mode of travel their app supported.
A possible solution for this is to have an overload to `startNavigation` which lets you set a new profile / route adapter. We cannot make this a settable property at any other point in the flow safely though, because this would create very bad surprises during recalculation.
Contributor guide
Research direction
Start by reading the FerrostarCore lifecycle and the startNavigation entry point mentioned in the issue. Determine how a profile or route adapter can be selected when navigation starts without allowing unsafe changes during recalculation; done means one initialized core can support different travel modes safely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100