uxcam / flutter-plugin

BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

It'll cause scroll jerky on Android devices #23

Open kimlet opened 1 year ago

kimlet commented 1 year ago

When I enabled this SDK in my project and run on an Android device, I found it was jerky in any scrollable view when I scrolled slowly. Everything is perfect when I remove this plugin. SDK Version The UXCam Flutter SDK version is 2.2.2

How I use it FlutterUxcam.optIntoSchematicRecordings(); FlutterUxcam.startWithKey('xxxxxxxxx');

Here is the flutter version: [✓] Flutter (Channel stable, 3.3.10, on macOS 13.0 , locale en-CN) • Flutter version 3.3.10 on channel stable at /Users/kim/fvm/versions/3.3.10 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 135454af32 (5 weeks ago), 2022-12-15 07:36:55 -0800 • Engine revision 3316dd8728 • Dart version 2.18.6 • DevTools version 2.15.0 [✓] Connected device • moto g51 5G (mobile) • android-arm64 • Android 12 (API 31)

Here are two videos, the first one integrates with the UXCam SDK, and the second one without integrates the SDK

https://user-images.githubusercontent.com/1001783/213317697-9851b83b-a68b-4ba5-8f09-cf70e2774d82.mp4

https://user-images.githubusercontent.com/1001783/213317727-ad437356-bbf7-4720-9561-3b8b0512e351.mp4

gabrieluxcam commented 1 year ago

Hello @kimlet thanks for bringing this up, the information provided will be extremely helpful.

As a side note, it would be ideal if you could change the startup method to the updated one shown here.

We will keep you posted on any updates. Thanks!

kimlet commented 1 year ago

Hi @gabrieluxcam There are nothing changes when I change the startup method to FlutterUxcam.optIntoSchematicRecordings(); FlutterUxConfig config = FlutterUxConfig( userAppKey: "xxxxxxxxxxx", enableAutomaticScreenNameTagging: true, ); FlutterUxcam.startWithConfiguration(config);

mahmoudatef955 commented 1 year ago

I have the same problem, once I enabled this SDK in my project I noticed stutter in scrolling and a huge impact on app performance, and it is more noticeable on android devices.

justincbeck commented 1 year ago

I am also seeing this behavior. I think I'll need to switch to a different screen recording library.

justincbeck commented 1 year ago

This isn't just an Android issue. Is someone looking into this?

DFDIEGOH commented 10 months ago

Hi everyone! First of all I just wanted to apologize for the delay in this regard. But would it be possible to use the latest version of the Flutter SDK which is 2.4.6? This should be fixed already in this version.

OgunwoleOluwatobi commented 4 months ago

Hello @DFDIEGOH This issue still persists on the latest version. Scroll stutters still appears when scrolling quickly.

SamerOrfali22 commented 1 month ago

the issue still for now