AppsFlyerSDK / appsflyer-android-sdk

AppsFlyer Android SDK
Other
10 stars 2 forks source link

Why appsflyer calls `Thread.getAllStackTraces`? #72

Open Edison0716 opened 1 month ago

Edison0716 commented 1 month ago

image

Thread.getAllStackTraces() may suspend all threads when app code launch, may crash by thread suspend timeout.

image

please let me know whether can not call it inner sdk?

Dani-Koza-AF commented 1 month ago

Hey @Edison0716,

Thank you for bringing your concerns to our attention. We understand your apprehensions regarding the use of Thread.getAllStackTraces() within our SDK.

I would like to assure you that this method is indeed used only for internal anti-fraud verification purposes. It's important for us to employ rigorous security measures to protect both our users and partners from fraudulent activities. The implementation of this function is designed to be triggered only under specific conditions that typically indicate potential fraudulent behavior.

To mitigate any impact on application performance:

While this operation can be resource-intensive when it occurs, it has been optimized to be as non-intrusive as possible. We have thoroughly tested this feature, and there have been no indications of it affecting the performance for regular app operations. We continuously monitor this functionality for any signs of unexpected behavior.

That said, we take your experience with our SDK very seriously. If you are experiencing unusual behavior or performance degradation that you believe may be linked to this call, please do not hesitate to reach out to our support team. We are committed to addressing any such issues promptly to ensure that your experience with our SDK is seamless and positive.

Please provide as much detail as you can about the issues you're experiencing when reaching out. This will help us to quickly identify and resolve any potential problems.

We appreciate your cooperation and understanding in helping us maintain a secure and trustworthy environment for all users.

Best regards, Dani K.

Edison0716 commented 1 month ago

I used 6.13.0 version now, you said sdk has enhanced performance, so should I upgrade version?

6.13.0 version usually lead to Thread Suspend Timeout crash when the app code launch by deeplink.

@Dani-Koza-AF

Edison0716 commented 1 month ago

Can I understand once call Thread.getAllStackTraces by appsflyer that means have some unsafe behaviors happen in our app? @Dani-Koza-AF

github-actions[bot] commented 1 month ago

👋 Hi @Edison0716 and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify: