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

Crash for MRAID ads #735

Closed
YuriyVelichkoPI opened this issue Jan 14, 2024 · 0 comments · Fixed by #736
Closed

Crash for MRAID ads #735

YuriyVelichkoPI opened this issue Jan 14, 2024 · 0 comments · Fixed by #736
Assignees

Comments

@YuriyVelichkoPI
Copy link
Contributor

Describe the bug
The bug was reported in the Slack channel:

I just noticed that the JavaScriptInterface method getCurrentPosition inhence the UI related method View.getGlobalVisibleRect is called in JavaBridge thread, which is a background thread. And this causes a lot of native crashes in our app.

https://github.com/prebid/prebid-mobile-android/blob/master/PrebidMobile/PrebidMobile-core/src/main/java/org/prebid/mobile/rendering/views/webview/mraid/BaseJSInterface.java#L175

To Reproduce

No steps. Prod crash.

Expected behavior

No crash.

Screenshots

image

image

Smartphone (please complete the following information):

  • Android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants