In my Flutter app I'm using sqflite to talk to a local database. I need to peek into JSON data. The JSON1 extension would be ideal for this. However, I can't load the extension in a Flutter app to make it available in my queries since the documentation is for C, not Dart.
- Should I compile in different architectures for iOS and Android?
- Where should the compiled file(s) be placed? I assume it's not added as an asset.
- How to access/load the C extension in my Flutter/Dart code?
Suggestions for other well supported local databases (document databases or databases that support JSON queries) for Flutter are also welcome. I looked into Couchbase Lite, but the plugins (Fluttercouch, couchbase-lite-flutter) are still under development.