Giter Club home page Giter Club logo

Comments (5)

maxep avatar maxep commented on June 3, 2024

Hi @asetiyadi-MLB 👋

This code path is invoked when a user touches the screen and the warning appears to be from the previousImplementation. The previousImplementation is calling the implementation of UIApplication.sendEvent, so I suspect that something is blocking the main thread there.

Do you override the UIApplication.sendEvent yourself? if not, do you use any other third-party library that could be swizzling the UIApplication.sendEvent method?

Do you have by any chance a sample project that reproduces the issue? it could be helpful to validate that the problem is coming from the Datadog SDK.

Thanks for your help!

from dd-sdk-ios.

asetiyadi-MLB avatar asetiyadi-MLB commented on June 3, 2024

@maxep We did not override UIApplication.sendEvent and does not look like any other third party library use it from the global search as shown below.

Screenshot 2024-04-08 at 4 15 26 PM

from dd-sdk-ios.

maxep avatar maxep commented on June 3, 2024

Hi @asetiyadi-MLB 👋

I'm unable to reproduce the runtime warning, I have tested with multiple sample projects. Do you have one that reproduces this that you could share with us?

Thank you for your help on this!

from dd-sdk-ios.

asetiyadi-MLB avatar asetiyadi-MLB commented on June 3, 2024

@maxep Sorry for the delay in responding.
I have also tried to create a new sample project and use 2.7.1 and not able to reproduce the issue. Certainly is still happening on my main project. Based on your observation, what are the possible causes for this that I can pursue and dig deeper into?

FYI .. we use other third party SPMs like Firebase and OneSignal. I did check your initial suggestion if any other third party is using UIApplication.sendEvent and none other than Datadog.

from dd-sdk-ios.

maxep avatar maxep commented on June 3, 2024

Hey @asetiyadi-MLB

It's hard to tell, but it might be something on a Button or gesture callback that perform I/O operation in sync, such as reading or writing a file.

I'm closing this ticket since it doesn't seem to be related to our SDK, but feel free to add any finding.

from dd-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.