AppsFlyerSDK / appsflyer-react-native-plugin

AppsFlyer plugin for React Native
MIT License
278 stars 198 forks source link

ConcurrentModificationException in AFKeystoreWrapper #447

Closed ankitsingh08 closed 1 year ago

ankitsingh08 commented 1 year ago

Report

Plugin Version

6.9.1

On what Platform are you having the issue?

Android (multiple os versions eg 13, 12, 11 ,10 etc)

What did you do?

From our crash data, we noticed crashes related to appsflyer sdk, Below is the stack trace:

Exception java.util.ConcurrentModificationException:
  at android.util.ArrayMap.put (ArrayMap.java:599)
  at android.os.BaseBundle.putLong (BaseBundle.java:671)
  at android.content.Intent.putExtra (Intent.java:9308)
  at com.appsflyer.internal.AFa1sSDK.AFKeystoreWrapper
  at com.appsflyer.internal.AFa1sSDK.AFKeystoreWrapper
  at com.appsflyer.internal.AFb1xSDK.values
  at com.appsflyer.internal.AFb1xSDK.$r8$lambda$F1OA5WElZ75k2xzPv4A1tjzymzU
  at com.appsflyer.internal.AFb1xSDK$$ExternalSyntheticLambda0.run
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)

What did you expect to happen?

appsflyer sdk should not crash the app

What happened instead?

Application crash

Please provide any other relevant information.

Crash stacktrace:

Exception java.util.ConcurrentModificationException:
  at android.util.ArrayMap.put (ArrayMap.java:599)
  at android.os.BaseBundle.putLong (BaseBundle.java:671)
  at android.content.Intent.putExtra (Intent.java:9308)
  at com.appsflyer.internal.AFa1sSDK.AFKeystoreWrapper
  at com.appsflyer.internal.AFa1sSDK.AFKeystoreWrapper
  at com.appsflyer.internal.AFb1xSDK.values
  at com.appsflyer.internal.AFb1xSDK.$r8$lambda$F1OA5WElZ75k2xzPv4A1tjzymzU
  at com.appsflyer.internal.AFb1xSDK$$ExternalSyntheticLambda0.run
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)
github-actions[bot] commented 1 year ago

👋 Hi @ankitsingh08 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:

github-actions[bot] commented 1 year ago

This issue is closed due to inactivity. If the issue continue, please open a new one.

androideveloper commented 1 year ago

@amit-kremer93 Please reopen as this still happens