Answered

I am facing an ANR in my app launch class

  • 17 April 2023
  • 1 reply
  • 61 views

  • New Participant
  • 0 replies

Hello ,while init intercom sdk in App.kt which is app launch class ANR is produced please find the error below

main (runnable):tid=1 systid=8183 
at io.intercom.android.sdk.identity.AppConfig.<init>(AppConfig.java:125)
at io.intercom.android.sdk.Injector.initWithAppCredentials(Injector.java:104)
at io.intercom.android.sdk.RealIntercom.create(RealIntercom.java:80)
at io.intercom.android.sdk.Intercom.initialize(Intercom.java:73)
at yourpakagename.com.manager.IntercomManager.configure(IntercomManager.java:24)
at yourpakagename.com.App.onCreate(App.kt:95)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1277)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6771)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(unavailable)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2129)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7884)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

 

I am using  10.0.0 intercom version
io.intercom.android:intercom-sdk-base:10.0.0

 

Thanks

icon

Best answer by Daniel M15 20 April 2023, 15:56

View original

1 reply

Userlevel 2

Hey @ali! Daniel from Customer Support Engineering here 🔧 

 

Thanks for flagging this with us! You are using a very old version of our Android SDK - can you try updating to the latest version to see if this works? 🤞 If it doesn’t, can you please share where exactly in your app’s flow this error is thrown? We may need you to share some sensitive info if this is the case, so if you are experiencing continued issues, I will escalate your query to our Messenger support team 🙌 

Reply