Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Database corrupted and cleared from android device

オープン
#571 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, angular, sqlite

調査の方向性

まず、Ionicアプリとネイティブコードで共有されているAndroidネイティブバックグラウンドサービスとデータベースアクセスを確認します。OneSignal通知または定期的なバックグラウンド呼び出しの実行中に、報告されたエラー「database disk image is malformed」と「database not open」を再現します。完了条件は、破損の原因が特定され、検証済みの修正または予防策が文書化されていることです。

索引モデルが issue の本文から書いたものです。

説明

bug/fix needs: triage

I have an ionic angular capacitor app currently available for android and web platforms.

The issue has been generated in live env. In dev env, I have tried to regenerate the case but it hasn't happened yet.

I have used onesignal library for push notifications and in android to receive notifications & to call apis in the background, I have added code from native. So I am using a database from both the ionic and native end.

Also, I have added periodic call for background service after certain amount of time at android native part.

For some users, in my app suddenly they got some error and the database has been cleared. I tried to get some logs which are mentioned below.

Error: Query: in selectSQL cursor database disk image is malformed
Error: Query: in selectSQL cursor database not open

主要言語
Swift
スター
661
フォーク
158
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

capacitor-community/sqlite のほかの issue

capacitor-community/sqlite の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。