objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence

Home Page:https://docs.objectbox.io/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Flutter] ObjectBox Admin web app is not working

luanmvieira opened this issue · comments

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/

  • ObjectBox version: [2.0.0]
  • Dart SDK version: 2.19.4
  • Flutter 3.7.7
  • Reproducible: [always]
  • Build OS: [Windows 10]
  • Deployment device or OS: [Emulator in API 32 and 31 ]

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?

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.

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.

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!