thingsboard / flutter_thingsboard_app

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

App version 1.3.0 says ThingsBoard 3.7.0.15PAAS not supported #140

Closed whiskyplausible closed 2 weeks ago

whiskyplausible commented 1 month ago

I've successfully built the app versions 1.1.0, 1.2.0 and 1.3.0, but when I run any of them on an Android device I receive the Fatal Error:

"Fatal application error occurred: Unsupported ThingsBoard platform vesion: 3.7.0.15PAAS"

Is any version of the app compatible with the cloud hosted ThingsBoard at thingsboard.cloud?

ybeshkarov commented 1 month ago

Hello,

You can find the compatibility matrix here: https://thingsboard.io/docs/mobile/getting-started/. Additionally, we have the ThingsBoard Cloud app, which works normally with the current PaaS version.

Based on the issue you opened in the CE repository, I believe you are trying to connect to a PE ThingsBoard instance from the CE mobile app. You need to use the PE mobile version for PE ThingsBoard, which can be found here: https://github.com/thingsboard/flutter_thingsboard_pe_app.

whiskyplausible commented 1 month ago

Thanks so much for the quick response @ybeshkarov I had a go at the PE mobile version as linked, and tried both the 1.3.0 and the 1.1.0 releases, both of them appeared with the same message, "Unsupported ThingsBoard platform vesion: 3.7.0.15PAAS".

It looks like 1.3.0 supports TB 3.8, so I assume that's why doesn't work, release 1.1.0 says it supports 3.6.3PE+, however still has the same message. Do you know if there's any release version of the flutter pp that does support the version of ThingsBoard running on thingsboard.cloud?

ybeshkarov commented 1 month ago

Which version thingsboard_pe_client did you use?

whiskyplausible commented 1 month ago

I used the default ones in the pubspec.yaml for the respective versions - so client v1.3.1 when I tried the 1.3.0 app, and client v1.1.0 when I tried the 1.1.0 app.

ybeshkarov commented 1 month ago

Got it. The cloud is scheduled to be updated tomorrow. Please wait until it’s upgraded to version 3.8.0 and try again.

whiskyplausible commented 1 month ago

OK, that's great - will try later in the week. Thank you for looking into it.