Bad performance on iOS
The app general UX feels very laggy and the app stutters when scrolling (in particular when changing scroll direction). There is also an input lag, the scrolling and taps doesn't usually follow my finger but delays a bit. I tried to record the screen but it isn't very clear from it (the video is 48fps, while the iPhone panel is 60hz), it's also impossible to see the delay from the actual taps
I'm using an iPhone 13 with iOS 18.1 (22B83)
https://github.com/user-attachments/assets/cc1b622e-4394-4dbb-bc69-cacca241ab6f
Edit: i had to compress the video to upload it on GH, the video quality is compromised, but the framerate is the same, which is the only important thing here
Edit 2: can someone else confirm the problem? So we can exclude that this is only a problem of mine
I can reproduce this issue, and I’m fairly certain I understand what’s behind it.
@theperu, if you’d assign it to me and let me know who to contact about the iOS build process (whoever handles the builds submitted to the App Store), I’d be happy to dive in, sort it out, and propose a solution 👍
@xDefcon Absolutely love this confidence! 😆 you're assigned. Our builder man is @lucaantonelli 👷🏻♂️
I do not have any noticeable lagging, maybe it depends on the combination HW/OS. I am using the transactions populated by the developer option, on the following devices:
- iPhone 15 Pro iOS 18.3.2
- MacBook M1 Pro
Can you profile the app, so we have an objective measure of the problem? and of the fix too, later on?
@lucaantonelli Could you share details about the build environment used for the App Store release? Specifically, I’d like to know the Flutter version, Xcode version, and whether any modifications were made to the default Flutter Impeller settings (I’m trying to determine if the app utilizes Impeller or not).
I do not have any noticeable lagging, maybe it depends on the combination HW/OS. I am using the transactions populated by the developer option, on the following devices:
- iPhone 15 Pro iOS 18.3.2
- MacBook M1 Pro
Can you profile the app, so we have an objective measure of the problem? and of the fix too, later on?
I've been facing the issue using the app from the store. It's difficult to profile the app since apple doesn't give an option to install a developer build on my iPhone (I use windows as my desktop environment)
@lucaantonelli are you available to respond to the earlier message I tagged you in? Appreciate it!
@lucaantonelli are you available to respond to the earlier message I tagged you in? Appreciate it!
Hi, i'm not at home this days. Anyway i have rebuilt and published the app with the new 3.29.2 and the problem should now be fixed. Let me now!
The problem has been fixed on iOS. I can no longer replicate it on my test devices running the latest App Store release. @theperu I think we should close this.
Yeah the app doesn't lag anymore. We still have the problem that the scrolling (and taps I think) is not very responsive and there is still some delay between the moment I start scroll and when the app actually respond. It might be a flutter problem, but I think this is a minor issue, the app is usable and the delay is not so impacting for the UX
What @simo498 is saying might be connected to this Flutter issue https://github.com/flutter/flutter/issues/110431. However, it should be hardly noticeable on 60Hz screens and nearly imperceptible on ProMotion displays.