stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
88 stars 9 forks source link

Extract credential placeholders from source code #20

Open ianthetechie opened 7 months ago

ianthetechie commented 7 months ago

@Archdoog mentioned that maplibre-navigation-android has a pretty good solution on this for Android (see screenshot).

image

For SPM we can look at having a PLIST file that's gitignored, which would let us have previews using non-trivial commercial or self-hosted maps (ex: Stadia, Mapbox, etc.). In both cases, I think we can store not only the API key but also things like tile URLs to use for previews.

ianthetechie commented 3 months ago

I think this is done on iOS but not Android