objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence
https://docs.objectbox.io/getting-started
Apache License 2.0
927 stars 115 forks source link

[Flutter] ObjectBox Admin web app is not working #541

Closed luanmvieira closed 11 months ago

luanmvieira commented 11 months ago

I/Box ( 6534): [SvHttp] Running in single-store mode with an already opened store I/Box ( 6534): [SvHttp] Listening on http://127.0.0.1:8090 I/Box ( 6534): [SvHttp] User management: disabled I/Box ( 6534): [SvHttp] HttpServer listening on 127.0.0.1, port 8090

Admin web app is not working when opening URL http://127.0.0.1:8090/

Log

image

Gradle

image

Manifest

image

Initialize

image

App Browser

image

Web Browser in PC

image

I used "adb forward tcp:8090 tcp:8090" but it still doesn't work. what can I do?

greenrobot-team commented 11 months ago

Thanks for reporting. I tried using Admin with our example and it works as expected.

Is it possible that your app has been closed while trying to open Admin? Also check that the Admin instance does not get garbage collected.

In any case, maybe double-check you followed the instructions exactly as documented.

luanmvieira commented 11 months ago

I configured it again like this in the documentation and ran the app debugging the code snippet of the admin instantiation and it still doesn't work. I will wait for future updates to certify that Admin works.

luanmvieira commented 11 months ago

I was able to identify the error, the way the store is implemented it keeps restarting with each store call, I solved the problem. Thank you very much!