thingsboard/flutter_thingsboard_pe_app

Thingsboard buttons appear to be non-functional on dashboard after loading in

Closed this issue · 1 comments

When launching the app, this is the dashboard page that opens.

Issue : The screen does not have the white labelling logo or the TB app bar on initial loading screen after logging in and launching the app. The widget button does indeed work in the web view, however after clicking on the back button, the app loads correctly but the TB widget button (new installation) is not working. I've troubleshot with other buttons to add onto the dashboard, and it also does not work. I've used the widget inspector and understood that there is a two-page view widget it uses. I want the second page to make the screen that loads when login and to make the buttons it loads functional

after starting the app :
Screenshot_2024-05-10-13-47-21-729_org thingsboard pe app edit

after pressing back button, appbar and white labelled logo shows, however widget buttons does not work and this was the intended first screen
Screenshot_2024-05-10-13-51-20-164_org thingsboard pe app_edited

Update
The user is the lowest tier user and did not have multiple dashboard privileges
I had managed to use dashboard states as opposed to multiple dashboards and use all on one dashboard to get functional buttons and widgets.
I saw that in the flutter code that the page uses a two-page view scroller on startup soi had removed the code from the second page and made the widget return a single page. I'm curious as to why this was an issue as in the regular thingsboard cloud server it worked normally without alterations