isar / isar/hive

Box are empty when you kill the App

Open
#1,219 1 comment 0 reactions 0 assignees View on GitHub
problem
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

Hello everyone,

I found a bug I can't resolve when I kill my App.
After Killing the app, the box are empty.

I tried to use Hive.close() to close all openned box or flush.

I saw old Issues talking about this specific problem but none gave me a solution.
I'm using Hive in 2.0.4 but tried with other versions and have the same problem.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the empty-box behavior with Hive 2.0.4 and compare it with the other versions mentioned. Inspect the lifecycle around Hive.close(), including whether boxes are closed or flushed before the app is killed. Done means previously stored box contents remain available after restarting the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.