-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
The recenter button does nothing except disappearing. The location of the user is not followed.
(https://drive.google.com/file/d/1HLVe10ccdUU-S0zvA8Bkrqda9on_9wsI/view?usp=sharing)
React Native version
0.81.1
React version
19.1.0
Package version
0.12.0
Native SDK versions
- I haven't changed the version of the native SDKs
React Native Doctor Output
✓ 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
- Version found: N/A
- Version supported: >= 17 <= 20
✓ 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: 36.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
✓ .xcode.env - File to customize Xcode environment
Errors: 4
Warnings: 2
Steps to reproduce
- In the demo app, change the travel mode to Cycling:
const routingOptions: RoutingOptions = {
travelMode: TravelMode.CYCLING,
avoidFerries: true,
avoidTolls: false,
}; - Start a navigation
- Turn on the guidance
Expected vs Actual Behavior
Expected: The map should move to the user location and the re-center button should disappear
Actual: The map doesn't move but the recenter button disappear.
Code Sample
// Example code hereAdditional Context
This is on iOS only, it is fixed using the previous GoogleNavigation pod:
- s.dependency "GoogleNavigation", "10.6.0"
- s.dependency "GoogleNavigation", "9.4.0"