hive
hive copied to clipboard
Access database from native code
Question Hi, i'm currently trying to create an autofill service for my app. My problem is that all the data i need is stored in the Hive database. Is there a way to access the file and read it from Kotlin or Swift? I know that I can use a MethodChannel to communicate with Flutter but it doesn't work when the app is closed.
Thank you
Version
- Platform: iOS, Android, Mac, Windows
- Flutter version: 2.2.3
- Hive version: 2.0.4
Up
I also have a project that I need to access data inside android through method channel. I'm using shared preferences to do it but I would like to know if I can save a value/key in Flutter and get it in Android like in SharedPreferences inside an receiver like BroadcastReceiver (without opening flutter page)
Up
Up
Have a similar usecase where my app needs access to the data stored in hive db from the native code to do some alarm based work. I am wondering if there is a way to read the file using the path in native code.
Up
up