.live() issue in ios-navigation tutorial
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- HTML
- Sterne
- 8
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
This gives an error Enum case 'live' has no associated values and indeed the documentation https://docs.mapbox.com/ios/navigation/api/3.12.0/navigation/documentation/mapboxnavigationcore/locationsource specifies the value as .live and the tutorial shows it as .live https://docs.mapbox.com/help/tutorials/ios-navigation/?step=4
However even changing this to .live is problematic, doing so on the original code here the map loads but seems to be stuck with the rest of the navigation UI. It seems to be sporadic though, simply restarting the app the UI loads fine...
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit ios-navigation/ios-navigation/NavigationLoader.swift in Zeile 11 und reproduziere Tutorial-Schritt 4 mit dem dokumentierten LocationSource-Wert. Vergleiche den Tutorial-Code mit der verlinkten Mapbox iOS Navigation API-Dokumentation und überprüfe anschließend, dass die Karte und die verbleibende Navigations-UI konsistent geladen werden. Erledigt ist die Aufgabe, wenn das Tutorial ohne den enum-Fehler erstellt wird und die Navigations-UI nicht mehr gelegentlich hängen bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- swift
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100