isar / isar/hive

[Web] The "values" ​​returned in "Box" are empty

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

Description

hive: ^2.2.3

Box? box = await Hive.openBox('messageHistoryBox');
var values = box?.values.toList();

When I close the Chrome browser and re-run,the values is empty from box.
But it's normal on iOS or Android.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with Hive 2.2.3 in Chrome: open the messageHistoryBox, write MessageHistoryModel values, close the browser, and reopen it. Compare the web behavior with iOS or Android and confirm that values persist after a browser restart; the issue is done when the stored values are available again on Chrome.

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.