ardera / flutter-pi

A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.
MIT License
1.49k stars 154 forks source link

NoSQL database? #366

Closed BigGitWorld closed 8 months ago

BigGitWorld commented 8 months ago

Hello. Can anyone suggest a good dart NoSQL database with support for amr64 architecture?

pieter-scholtz commented 8 months ago

https://github.com/isar/isar/issues/876 , seems one can easily make isar work with flutter-pi

BigGitWorld commented 8 months ago

isar/isar#876 , seems one can easily make isar work with flutter-pi

How? Do I have to build the isar in a Raspberry-pi?

pieter-scholtz commented 8 months ago

Well , building it on the raspberry pi is an option , but I believe there is already a way build it since the author mentions it in the issue that he can build ar linux arm64 binary. It seems to be part of the build scripts ( https://github.com/isar/isar/blob/main/tool/build_linux.sh )

pieter-scholtz commented 8 months ago

@BigGitWorld You can try this binary , I haven't tested it yet binary.zip it is for the latest stable release , isar-3.1.0-1

BigGitWorld commented 8 months ago

@BigGitWorld You can try this binary , I haven't tested it yet binary.zip it is for the latest stable release , isar-3.1.0-1

Dear @pieter-scholtz Thank you for your help. I added your libisar.so file to the Raspberry-pi (/usr/local/lib) and updated Shared Library Cache Using sudo ldconfig, but again got the same error by running my app (flutter-pi --release appName):

IsarError: Unsupported processor architecture "linux_arm64". Please open an issue on GitHub to request it.

I'm using isar_flutter_libs also in my Flutter project. Do we have to build libisar_flutter_libs_plugin.so for arm64 also?

pieter-scholtz commented 8 months ago

@BigGitWorld Are you sure that the library from /usr/local/lib is the one that is getting used ? , perhaps you can point it to the binary using https://pub.dev/documentation/isar/latest/isar/Isar/initializeIsarCore.html

pieter-scholtz commented 8 months ago

@BigGitWorld https://github.com/isar/isar/blob/6643d064abf22606b6c6a741ea873e4781115ef4/packages/isar/lib/src/native/isar_core.dart#L207 You could try adding a new line in between ln207 and 208 and put this : case Abi.linuxArm64:

BigGitWorld commented 8 months ago

@BigGitWorld https://github.com/isar/isar/blob/6643d064abf22606b6c6a741ea873e4781115ef4/packages/isar/lib/src/native/isar_core.dart#L207 You could try adding a new line in between ln207 and 208 and put this : case Abi.linuxArm64:

I did it finally. thank you so much.