hive icon indicating copy to clipboard operation
hive copied to clipboard

please consider deprecating this project

Open j3g opened this issue 8 months ago • 4 comments

@simc and other project maintainers congrats on this amazing project. I genuinely appreciate your efforts and obviously you are a talented dev. May I make suggestion? For anyone new to flutter and local storage this project looks perfect, but then after digging deeper there are warning signs, for example no updates in 1.5 years and 500+ open issues. I started a new project and I asked copilot AI to add hive to my data class. It did it, but I immediately noticed it didn't look like your examples. Then I asked grok to do the same thing and it produced different code also. So that sent me down the rabbit hole of seeing if I should be using ver 2.x or ver 4.x of hive. And after considerable research I came to the conclusion that neither should be used because v2.x needs maintenance and v4.x is incomplete.

As an example of more project deteriorating The quick start linked is broken: https://docs.hivedb.dev/

Will you please consider changing the readme to put this project into deprecated state. And please point to the community edition project? Your project lives and the community are here to support it. People are still using your code, just from the community edition (https://onlyflutter.com/how-to-add-a-local-database-using-hive-in-flutter/).

Thank you.

j3g avatar Apr 02 '25 23:04 j3g

Flutter official document for Local caching also reference it as Hive, a non-relational database: [hive package](https://pub.dev/packages/hive)

https://docs.flutter.dev/get-started/fundamentals/local-caching

That is even more missleading to the community for an unmaintained package.

anderson-oki avatar Jun 21 '25 12:06 anderson-oki

The fact this project's github.io page is pointing to some kind of spam site, I'd really recommend people report this package as potentially malicious.

It is clear the original developer(s) are not willing to do the bare minimum of deprecating the project and ensuring that their official listings aren't redirecting to a gambling spam site. They do not take security seriously, and they are sitting on top of a package listing that could very well be sold off or exploited at any moment.

Avoid and report.

TDuffinNTU avatar Jul 26 '25 14:07 TDuffinNTU

Hi all,

Thanks for your information. I am looking for a good Local caching mechanism and end up here. I wonder what good alternatives you have found?

Best

RequieMa avatar Aug 10 '25 13:08 RequieMa

Hi all,

Thanks for your information. I am looking for a good Local caching mechanism and end up here. I wonder what good alternatives you have found?

Best

For smaller pieces of data, I recommend: flutter_secure_storage. It's easy to set up, and I personally use it to store sensitive information on the device. I stumbled upon a blog article with an interesting chart; I might take a look. https://dinkomarinac.dev/best-local-database-for-flutter-apps-a-complete-guide#heading-when-not-to-use-a-local-database

Image

skiunke avatar Sep 26 '25 21:09 skiunke