Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bytedance adapter crashes app with uxcam #288

Open
al-tush opened this issue Dec 18, 2024 · 0 comments
Open

bytedance adapter crashes app with uxcam #288

al-tush opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@al-tush
Copy link

al-tush commented Dec 18, 2024

MAX Plugin Version

4.0.1

Flutter Version

3.24.5

Device/Platform Info

Android 10+ (maybe earlier)

Crashes/ANRs per Day

50+

Percentage of Users Affected

0.5

First Occurrence of Crash/ANR

We integrated uxcam one week ago but the similar crash was in previous versions too.

Exception and Stack Trace

Exception java.lang.StringIndexOutOfBoundsException: begin 1, end -1, length 0
at java.lang.String.checkBoundsBeginEnd (String.java:4500)
at java.lang.String.substring (String.java:2527)
at com.uxcam.screenshot.viewocclusion.WebViewOcclusionImpl.a (SourceFile:12)
at com.bytedance.sdk.component.Anq.jeH.evaluateJavascript (SourceFile:220)
at com.uxcam.screenshot.viewocclusion.WebViewOcclusionImpl.a (SourceFile:11)
at com.uxcam.screenshot.helper.ScreenShotHelperImpl.b (SourceFile:24)
at com.uxcam.screenshot.helper.ScreenShotHelperImpl.a (SourceFile:429)
at com.uxcam.screenshot.screenshotTaker.ScreenshotTakerImpl.a (SourceFile:835)
at com.uxcam.screenshot.pixelcopyscreenshot.PixelCopyScreenshotImpl.a (SourceFile:93)
at android.view.PixelCopy$1.lambda$onCopyFinished$0 (PixelCopy.java:193)
at android.view.PixelCopy$1$$ExternalSyntheticLambda0.run (Unknown Source:4)
at android.os.Handler.handleCallback (Handler.java:996)
at android.os.Handler.dispatchMessage (Handler.java:110)
at android.os.Looper.loopOnce (Looper.java:210)
at android.os.Looper.loop (Looper.java:302)
at android.app.ActivityThread.main (ActivityThread.java:9652)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:601)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1062)

How to Reproduce

Integrate bytedance and uxcam to the app

Reproducible in the demo app?

Not Tested

Additional Info

No response

@al-tush al-tush added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant