Closed WillieSpence closed 1 month ago
Some additional information from the debug logs. After the app has loaded, after a while the following log messages appear:
[ProcessSuspension] 0x11d1cebe0 - TimedActivity::activityTimedOut: [ProcessSuspension] 0x107094de0 - TimedActivity::activityTimedOut: [Process] 0x11d1f5e18 - [pageProxyID=15, webPageID=16, PID=1197] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=NSURLErrorDomain, code=-1001, isMainFrame=1
@ybeshkarov , I noticed that version 1.2.1 of the app is available on IOS Store and PlayStore. Can you make the release available here as well so I can build my app and see if it resolves the abovementioned issue?
Hi @WillieSpence,
There were changes to OAuth2 issues and nothing by the dashboard. It's a hotfix release, nothing changed globally.
Based on a dashboard it's just a web view I may suppose there is some issue with a platform rather than a mobile app. To check it, I may propose hiding a loading indicator for a dashboard to see what's happening under the hood. There I left a comment how https://github.com/thingsboard/flutter_thingsboard_pe_app/issues/89#issuecomment-2182839118.
@ybeshkarov , thank for the quick reply. However, my issue is not the same as reported with #89 , I don't even get the loading indicator. When I tap on a dashboard to open, nothing happens, it remains on the home page showing the dashboard options. Pls refer to my earlier comments / issue in this thread, as I'm seeing some errors in the logs related to NSURLErrorDomain?
Could you create/give me an account and text with credentials and the endpoint you use? I'll try to check it locally.
@ybeshkarov , I have sent you the information via email as requested.
Hi @WillieSpence,
I see this issue when updated to the latest Flutter, but the currently supported is 3.19.6. Could you rebuild your app with the 3.19.6 flutter version, the issue should gone.
Hi @ybeshkarov
I have downgraded flutter to 3.19.6 using fvm.app, but the issue was still there. I had to downgrade all the dependencies as well to match the 1.2.0 branch, which then seems to have resolved the issue. We are still testing to 100% confirm the issue is resolved, but so far so good. Once confirmed, I will close this issue.
Wondering if its not maybe good idea to include .fvm configs in the releases to prevent similar issues going forward where users update flutter and the dependencies that is not officially supported?
Appreciate all your help in getting to the bottom of this.
Hi @WillieSpence,
I'll consider it, thank you.
@ybeshkarov , issue resolved! Thanks for all the assistance!
@ybeshkarov We are currently trying out the new Thingsboard Cloud Mobile App and logging in via QR-Code. The Home Button does also not properly work for all iOS Users at my company. (On Android it works fine)
What do you mean? @HannesPiadeno
@ybeshkarov I am talking about this app: https://play.google.com/store/apps/details?id=org.thingsboard.cloud We have configured our own Home Dashboard for each user and on iOS devices the Home Dashboard is loading indefinitely.
Hi,
I have recently updated the Mobile App to version 1.2.0. Built the code manually and released on iOS App store and Google Playstore. I'm connecting the app to thingsboard cloud via a custom domain name.
However, the last few days, I have had complaints from several iOS users that when they open the app and click on a Dashboard, its not opening the dashboard at all. It merely remains on the dashboard screen with the dashboard options, but you clicking/tapping on it does nothing.
All the bottom navigation buttons seems to still work fine and the rest of the app works, its just the fact that the iOS users cannot open the dashboards as it just remains on the home screen. What is really strange is that it seems to be intermittent, ie, it will work for a while where users can access the dashboard and then suddenly the next day it doesn't work anymore.
On the iOS simulator everything seems to be working 100% fine, can click and open dashboards etc etc. On Android everything is also working perfectly fine, the issue seems to be just on iOS and it seems to happen regularly.
Any assistance to resolve this issue for my iOS users will be greatly appreciated.
Regards