4

Can someone please explain how to open the .hive files generated by Flutter Hive when you create a Box and add to it?

Within my application, the files are stored as name.hive files.

I have tried opening them as JSON/XML/plain text but nothing seems to work, the contents are showing incorrectly

I am using Android Studio on Ubuntu

Just want to know how I can open the file and view the contents properly?

mav91
  • 165
  • 2
  • 14

2 Answers2

1

The easier way would be to copy .hive file to your computer and drag it into Hive Studio window.

I wrote an app and a tutorial using Hive DB, where I describe this.

lomza
  • 9,412
  • 15
  • 70
  • 85
0

An issue was opened for this and the answer is:

Hive uses a custom binary format for storing data which isn't supported by any existing editors or tools.

so you cannot actually open a box .hive file like you could do with JSON, XML...

Gwhyyy
  • 7,554
  • 3
  • 8
  • 35