[Bug]: preferSameSideOfRoad property in Waypoint ignored on Android SDK
Les mainteneurs répondent en général sous 5 jours
@illuminati1911 y travaille déjà.
Depuis le 23/7/2025.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
Android SDK consistently ignores the preferSameSideOfRoad: true setting in Waypoint objects, causing navigation to route to the wrong side of the road.
React Native version
0.73.10
React version
18.2.0
Package version
0.9.3
Native SDK versions
- I haven't changed the version of the native SDKs
React Native Doctor Output
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
Common
✓ Node.js - Required to execute JavaScript code
✓ yarn - Required to install NPM dependencies
✓ npm - Required to install NPM dependencies
✓ Watchman - Used for watching changes in the filesystem when in development mode
● Metro - Metro Bundler is not running
Android
✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device.
✓ JDK - Required to compile Java code
✓ Android Studio - Required for building and installing your app on Android
✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
✓ Gradlew - Build tool required for Android builds
✖ Android SDK - Required for building and installing your app on Android
- Versions found: N/A
- Version supported: 34.0.0
iOS
✓ Xcode - Required for building and installing your app on iOS
✓ Ruby - Required for installing iOS dependencies
✓ CocoaPods - Required for installing iOS dependencies
● ios-deploy - Required for installing your app on a physical device with the CLI
✓ .xcode.env - File to customize Xcode environment
Errors: 2
Warnings: 2
Steps to reproduce
- Create a Waypoint with preferSameSideOfRoad: true
- Call navigationController.setDestination(waypoint)
- Retrieve the route segment via getCurrentRouteSegment()
- Observe that destinationWaypoint.preferSameSideOfRoad is false
Expected vs Actual Behavior
When the waypoint's preferSameSideOfRoad property is set to true, we expect it to remain true for the entire cycle of the navigation.
Code Sample
const waypoint: Waypoint = {
position: {
lat: 39.9450234,
lng: -86.101762
},
title: "Destination",
preferSameSideOfRoad: true // ✅ WE SET THIS TO TRUE
}
await navigationController.setDestination(waypoint, routingOptions, displayOptions)
Additional Context
// Retrieved via getCurrentRouteSegment()
{ "destinationWaypoint": {
"title": "Destination",
"preferSameSideOfRoad": false, // ❌ SDK CONVERTED TO FALSE
"position": {
"lng": -86.101762, "lat": 39.9450234
}
}
}
- Langage dominant
- TypeScript
- Étoiles
- 226
- Forks
- 39
- Merge moyen
- 1 j 20 h
- PR mergées (30 j)
- 7
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de googlemaps/react-native-navigation-sdk
-
[Support Request]: Status of Expo config plugin release (prebuild fails on 0.19.0)Peut-être pris @jokerttu l’a pris il y a 1 jour. Ouverte
googlemaps/react-native-navigation-sdk#711 · 1 personne assignée ·
Les mainteneurs répondent en général sous 5 jours
-
[Bug]: In-navigation notification can't be stoppedPeut-être pris @jokerttu l’a pris il y a 8 jours. Ouvertetriage me type: bug
googlemaps/react-native-navigation-sdk#696 · 1 personne assignée ·
Les mainteneurs répondent en général sous 5 jours
-
[Bug]: [iOS] Navigation SDK init/quota retry loop pins the main thread; React Native's Settings module and addMarker's temporary GMSMarker add to the costPeut-être pris @illuminati1911 l’a pris il y a 14 jours. Ouvertetriage me type: bug
googlemaps/react-native-navigation-sdk#687 · 1 personne assignée ·
Les mainteneurs répondent en général sous 5 jours
-
[Bug]: iOS crash in GMSObjectDataCache Core Data save (fatal optimistic locking failure)Peut-être à nouveau libre @illuminati1911 l’a pris il y a 60 jours, et aucune pull request n’est ouverte. Ouvertenative sdk issue
googlemaps/react-native-navigation-sdk#647 · 1 commentaire · 1 personne assignée ·
Les mainteneurs répondent en général sous 5 jours
-
[Bug]: CarPlay map view never sets GMSMapViewOptions.screen, so the navigation header and footer are sized for the phonePeut-être à nouveau libre @jokerttu l’a pris il y a 74 jours, et aucune pull request n’est ouverte. Ouverte
googlemaps/react-native-navigation-sdk#640 · 4 commentaires · 1 réaction · 1 personne assignée ·
Les mainteneurs répondent en général sous 5 jours
Toutes les issues de googlemaps/react-native-navigation-sdk
Issues similaires
-
[Bug]: t3 connect status reports "Exposure: enabled" for publish-only links without a tunnelOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
awslabs/visual-asset-management-system#1278 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
mifi/lossless-cut#3213 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 83/100
plasma-umass/scalene#1123 ·
Les mainteneurs répondent en général sous 1 jour