Can the data be lost if the app is updated?
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have an app I am working on which uses Hive for storing local data.
The thing is the data stored locally is data required for login persistence, but it seems people are complaining that the users are required to sign in again after app updates.
**Question**
So, can the Hive database be deleted when an update is installed or should it be persistent?
I am trying to find out if the issue is related to Hive or something from the code.
**Version**
- Platform: Android/iOS
- Flutter version: 3.0.5
- Hive version: 2.1.0
- Hive Flutter version: 1.1.0
Contributor guide
No contributing guide indexed for this repository
Research direction
No project files or tests are identified. Start by reproducing the reported Android and iOS update flow with Flutter 3.0.5, Hive 2.1.0, and Hive Flutter 1.1.0, then determine whether the local database persists and whether the sign-out originates in Hive or application code. Done means documenting the cause and a reproducible finding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- authentication, databases, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100