sossoldi icon indicating copy to clipboard operation
sossoldi copied to clipboard

Bad performance on iOS

Open simo498 opened this issue 9 months ago • 3 comments

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

simo498 avatar Mar 17 '25 13:03 simo498

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

simo498 avatar Mar 17 '25 14:03 simo498

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 avatar Mar 17 '25 22:03 xDefcon

@xDefcon Absolutely love this confidence! 😆 you're assigned. Our builder man is @lucaantonelli 👷🏻‍♂️

mikev-cw avatar Mar 17 '25 22:03 mikev-cw

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?

mpodroid avatar Mar 18 '25 13:03 mpodroid

@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).

xDefcon avatar Mar 18 '25 18:03 xDefcon

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)

simo498 avatar Mar 19 '25 01:03 simo498

@lucaantonelli are you available to respond to the earlier message I tagged you in? Appreciate it!

xDefcon avatar Mar 27 '25 17:03 xDefcon

@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!

lucaantonelli avatar Mar 27 '25 17:03 lucaantonelli

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.

xDefcon avatar Mar 27 '25 17:03 xDefcon

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

simo498 avatar Mar 27 '25 20:03 simo498

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.

xDefcon avatar Mar 28 '25 09:03 xDefcon