[Bug]: cmd+s or a save in vscode/cursor loses the route overview from state after showRouteOverview
メンテナーはふだん 5 日以内に返信
@jokerttu がすでに取り組んでいます。
2026年5月12日 から。
評価
この issue はまだ評価されていません。
説明
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
When developing, after I have created a route, setDestination and called showRouteOverview() it successfully animates the camera and does work.
However, when I make changes to the code in my editor and I press cmd + s the route dissapears and is not recoverable without restarting the app to load the state from scratch
React Native version
0.82
React version
19.2.0
Package version
0.15.2
Native SDK versions
- I haven't changed the version of the native SDKs
React Native Doctor Output
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 - Required for bundling the JavaScript code
Android
✓ Adb - Required to verify if the android device is attached correctly
✓ 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
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: 0
Warnings: 0
Steps to reproduce
- Create a NavigationView
- With the controller add a destination and ensure the map is initialized
- Invoke showRouteOverview() to expect the map to show a top view of the map and fit to coordinates
- Press cmd + s or conduct a state change from a button within the same component as the NavigationView
- The blue route will disappear along with the suggested routes
Expected vs Actual Behavior
Expected behaviour is for the route to remain in state
Actual behaviour is that its lost is state and one needs to restart the app or start again
Code Sample
const createRouteOverview = useCallback(
async (dest: Coordinate) => {
try {
await withRetry(async () => {
await ensureInitialized();
await setDestinationAndCache(dest);
});
navigationViewController?.showRouteOverview();
} catch (err: any) {
onErrorRef.current?.(toNavigationError(err));
}
},
[ensureInitialized, setDestinationAndCache, navigationViewController],
);
the above is not really related, because it doesnt really matter. The issue is the route is lost after one is created from saving the code. The re-render of the dev server is enough for it to lose state
Additional Context
No response
- 主要言語
- TypeScript
- スター
- 226
- フォーク
- 39
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googlemaps/react-native-navigation-sdk のほかの issue
-
[Support Request]: Status of Expo config plugin release (prebuild fails on 0.19.0)対応中かも @jokerttu が 1 日前に担当しました。 オープン
googlemaps/react-native-navigation-sdk#711 · 担当者 1 名 ·
メンテナーはふだん 5 日以内に返信
-
[Bug]: In-navigation notification can't be stopped対応中かも @jokerttu が 8 日前に担当しました。 オープンtriage me type: bug
googlemaps/react-native-navigation-sdk#696 · 担当者 1 名 ·
メンテナーはふだん 5 日以内に返信
-
[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 cost対応中かも @illuminati1911 が 14 日前に担当しました。 オープンtriage me type: bug
googlemaps/react-native-navigation-sdk#687 · 担当者 1 名 ·
メンテナーはふだん 5 日以内に返信
-
[Bug]: iOS crash in GMSObjectDataCache Core Data save (fatal optimistic locking failure)再び着手できるかも @illuminati1911 が 60 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンnative sdk issue
googlemaps/react-native-navigation-sdk#647 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 5 日以内に返信
-
[Bug]: CarPlay map view never sets GMSMapViewOptions.screen, so the navigation header and footer are sized for the phone再び着手できるかも @jokerttu が 73 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googlemaps/react-native-navigation-sdk#640 · コメント 4 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 5 日以内に返信
googlemaps/react-native-navigation-sdk の issue をすべて見る
似ている issue
-
pending close triaging
難易度 1/5 1〜3時間 初心者へのやさしさ 74/100
anomalyco/opencode#63090 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
linagora/twake-mail-admin#609 ·
メンテナーはふだん 1 日以内に返信