Splitting `IndexedDB` table when migrating from `CRA` to `vite`
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- android, typescript, vite
- 領域
- databases, mobile-dev
調査の方向性
このissueでは、リポジトリのファイル、エントリーポイント、テストが何も指定されていません。まずAndroidデバイスでCRA-to-Vite移行を再現し、アップグレード前後のIndexedDBストアを調査してください。別々のストアが作成されるかどうかを特定し、検証済みの移行パスを文書化または実装できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hello, we encountered the problem when we tried to migrate our ionic v6.0 (CRA) project to ionic v7.0 (vite). Withing this migration we removed CRA specific files and added vite specific files, while not touching the code for working with @ionic/storage, the same drivers are used there (IndexedDB + localStorage), the name is the same.
After the migration, we started testing the update on an Android smartphone and found that changing the version meant that the app no longer saw data from storage. However, if you reinstall the previous version, the data is restored.
This behavior is specific only to mobile devices, on the web under desktop or mobile the error is not reproduced.
I checked IndexedDB via the Android debugger in Chrome and saw that ``IndexedDB` and the data in the Storage section in DevTools are indeed erased, while the amount of memory in the Storage section of the device settings shows that the memory required for the application has not decreased.
It looks to me like after switching from CRA to vite we now have 2 IndexedDBs in the phone's memory, but for some reason CRA can only connect to its own, and vite can only connect to its own in the app itself.
Can you suggest any solutions to this problem?
- 主要言語
- TypeScript
- スター
- 456
- フォーク
- 97
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ionic-team/ionic-storage のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
ionic-team/ionic-storage#326 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
ionic-team/ionic-storage#325 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
ionic-team/ionic-storage#324 · コメント 4 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ionic-team/ionic-storage#322 · コメント 1 件 · リアクション 8 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
ionic-team/ionic-storage#320 ·
ionic-team/ionic-storage の issue をすべて見る
似ている issue
-
A hung CI job runs for 6 hours before it is cancelled対応中かも @Olanetsoft が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Olanetsoft/agent-lookout#110 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
thedotmack/claude-mem#4757 ·
メンテナーはふだん 1 日以内に返信
-
🐛 bug 🗺️ MCP OAuth
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
LibreChat-AI/LibreChat#17077 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100