OneSignal/react-native-onesignal

[Bug]: com.onesignal.common.modeling.Model.getOptAnyProperty Input dispatching timed out

edvansts opened this issue · 1 comments

What happened?

Input dispatching timed out ANR.

Affected Android Versions

Android 13 (SDK 33)
Device: samsung a32

Project Details:

// Android
minSdkVersion = 23
targetSdkVersion = 34

Steps to reproduce?

I don't know

What did you expect to happen?

I expect this ANR is not produced

React Native OneSignal SDK version

v5.2.3

Which platform(s) are affected?

  • Android
  • iOS

Relevant log output

at com.onesignal.common.modeling.ModelStore.add (ModelStore.kt:45)
  at com.onesignal.common.modeling.IModelStore$DefaultImpls.add$default (IModelStore.kt:36)
  at com.onesignal.core.internal.operations.impl.OperationRepo.internalEnqueue (OperationRepo.kt:153)
  at com.onesignal.core.internal.operations.impl.OperationRepo.internalEnqueue$default (OperationRepo.kt:133)
  at com.onesignal.core.internal.operations.impl.OperationRepo.enqueue (OperationRepo.kt:112)
  at com.onesignal.core.internal.operations.IOperationRepo$DefaultImpls.enqueue$default (IOperationRepo.kt:18)
  at com.onesignal.session.internal.session.impl.SessionListener.onSessionStarted (SessionListener.kt:43)
  at com.onesignal.session.internal.session.impl.SessionService$onFocus$1.invoke (SessionService.kt:87)
  at com.onesignal.session.internal.session.impl.SessionService$onFocus$1.invoke (SessionService.kt:87)
  at com.onesignal.common.events.EventProducer.fire (EventProducer.kt:50)
  at com.onesignal.session.internal.session.impl.SessionService.onFocus (SessionService.kt:87)
  at com.onesignal.core.internal.application.impl.ApplicationService$handleFocus$1.invoke (ApplicationService.kt:395)
  at com.onesignal.core.internal.application.impl.ApplicationService$handleFocus$1.invoke (ApplicationService.kt:395)
  at com.onesignal.common.events.EventProducer.fire (EventProducer.kt:50)
  at com.onesignal.core.internal.application.impl.ApplicationService.handleFocus (ApplicationService.kt:395)
  at com.onesignal.core.internal.application.impl.ApplicationService.onActivityResumed (ApplicationService.kt:183)
  at android.app.Application.dispatchActivityResumed (Application.java:450)
  at android.app.Activity.dispatchActivityResumed (Activity.java:1482)
  at android.app.Activity.onResume (Activity.java:2043)
  at androidx.fragment.app.FragmentActivity.onResume (FragmentActivity.java:434)
  at com.facebook.react.ReactActivity.onResume (ReactActivity.java:57)
  at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1531)
  at android.app.Activity.performResume (Activity.java:8734)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5351)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5444)
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:54)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2574)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8757)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hello @edvansts apologies for the delay. Are you still facing this issue? Can you also please confirm that you are using the latest version of our SDK? Thanks!