Keeps loading the dashboard forever
Opened this issue · 12 comments
The application is already in the Apple store using TestFlight
When installing and running for the first time the application works normally, but when it is closed and opened again it keeps loading the dashboard forever. Even after closing the session the problem persists
Environment
- Thingsbord Cloud
- Iphone 12 Mini
- iOS 17.4.1
- XCode 15.3
- Flutter 3.19.6
- Build in Code Magic
Problem: keeps loading the dashboard forever
Hello @leorenan,
Thank you for reporting this issue. We are aware of it and are actively working on a fix.
Hello @leorenan,
Thank you for reporting this issue. We are aware of it and are actively working on a fix.
Hello @ybeshkarov
I am available for testing and validating the problem
Thank you very much
Hello @ybeshkarov ,
I updated to the new version 1.2.0 of the Things Board APP PE application, but I still have the same problem.
Another important point is that we are getting the same Android problem with Samsung smartphones like S24, A53, and Xaomi
Would it be possible to prioritize the resolution of this problem, or some direction?
Hello @leorenan,
Since the dashboard is merely a web view and the mobile device does not directly control its loading, I suggest you hide the loading indicator to see what's truly occurring.
To do so you need to comment on 484 - 504 code lines here lib/modules/dashboard/dashboard.dart
if (!UniversalPlatform.isWeb)
TwoValueListenableBuilder(
firstValueListenable: dashboardLoading,
secondValueListenable: dashboardActive,
builder: (context, loading, active, child) {
if (!loading && active) {
return const SizedBox.shrink();
} else {
var data = MediaQuery.of(context);
var bottomPadding = data.padding.top;
if (widget._home != true) {
bottomPadding += kToolbarHeight;
}
return Container(
padding: EdgeInsets.only(bottom: bottomPadding),
alignment: Alignment.center,
color: Colors.white,
child: TbProgressIndicator(tbContext, size: 50.0),
);
}
},
),
I am experiencing a similar issue with the latest version of Thingsboard PE platform (3.7.0PE) and the latest release of the Flutter code (1.2.0). Despite modifying the code as suggested by @ybeshkarov, the behavior remains the same. The dashboard loads the first time but then gets stuck with the loading animation (three moving dots).
https://apps.apple.com/es/app/ingeniatic-plataforma-iot/id6502765600
https://play.google.com/store/apps/details?id=iot.ingeniatic.es&pli=1
user: demo@aviot.com
pass: demo2022
In the Flutter debug console, I see the following messages when connecting my iPad via USB:
[quic] quic_crypto_queue_append not enqueuing more packets (max 5 reached)
[quic] quic_conn_process_inbound [C5.1.1.1:2] [=e223d0faf946470b] unable to parse packet
[quic] quic_crypto_queue_append not enqueuing more packets (max 5 reached)
[quic] quic_conn_process_inbound [C7.1.1.1:2] [=edb92f6aaaef7ad] unable to parse packet
[ProcessSuspension] 0x14633d7e0 - TimedActivity:activityTimedOut:
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Could you provide any guidance or solutions for this issue?
@ybeshkarov Is there any forecast for releasing the new version with the correction of this problem?
Are these fixes in the dev branch? I can help validate
These fixes are in the dev branch, and the platform fix is available here: PR #11326. You'll need to build ThingsBoard locally as well to verify.
Additionally, make sure that thingsboard_client also points to the dev branch to build the app.
Hello @leorenan,
please recheck this issue with the 1.3.0 release.
Hello @ybeshkarov
I tested it, but it presented another problem of incompatibility with PaaS.
How can I solve this problem?
Hello @leorenan,
Regarding why you see this message I answered there #167
For PaaS you can download our mobile app https://apps.apple.com/us/app/thingsboard-cloud/id6499209395 and check it there.
Is it still actual?