stadiamaps / stadiamaps/ferrostar

Enable changing route providers after initializing a FerrostarCore instance

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
android good first issue iOS
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.