thingsboard / flutter_thingsboard_pe_app

ThingsBoard PE Mobile Application
https://thingsboard.io/products/mobile-pe/
BSD 3-Clause "New" or "Revised" License
90 stars 78 forks source link

flutter_thingsboard_app works on IOS17.6 but flutter_thingsboard_pe_app doesn't #119

Closed PhilipRai closed 3 months ago

PhilipRai commented 3 months ago

There seems to be a difference between these to master versions.

With the PE_APP im get a infinity waiting loop upon pressing a dashboard and I the interface becomes unresponsive.

The PE_APP works great on the simulator with IOS17.5

ybeshkarov commented 3 months ago

Hello,

As far as I understand mobile app it's ThingsBoard Cloud downloaded from a store and PE_APP is an app you've created from the source code. Am I right?

PhilipRai commented 3 months ago

flutter_thingsboard_pe_app

and

flutter_thingsboard_app

ybeshkarov commented 3 months ago

You build your app from the master branch on this repository and your dashboards are not loading?

PhilipRai commented 3 months ago

Yup! not working on IOS 17.6 public Beta

ybeshkarov commented 3 months ago

For your app did you use the PE backend?

PhilipRai commented 3 months ago

Haven't changed anything except for the things that were needed. (bundleID, version, images etc)

I can see it's not only on that specific IOS version, but also other lower versions which can't open the dashboard via TestFlight.

But still, it works great on the simulator.

ybeshkarov commented 3 months ago

I may suggest implementing a change mentioned in the comment there https://github.com/thingsboard/flutter_thingsboard_pe_app/issues/113#issuecomment-2245037727 But you still may have some issues with dashboards on IOS.

Or just wait until this issue is fixed, it must be the next release.

PhilipRai commented 3 months ago

I just tried with a IOS device connected via USB and it has no problem launching/building and working on that same device

PhilipRai commented 3 months ago

If it's launched as flutter run (in debug mode) then the dashboard works

But

If use flutter run --release then it doesn't

ybeshkarov commented 3 months ago

Yeap, I know :) That's why I refer you to a specific comment in my message above. There is described the same what's you found.

PhilipRai commented 3 months ago

Voila! That did the trick for now. Thanks