Skip to main content
Answered

I am facing an ANR in my app launch class

  • April 17, 2023
  • 1 reply
  • 89 views

  • New Participant

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

Best answer by Daniel M15

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 🙌 

View original
Did this topic help you find an answer to your question?

1 reply

Daniel M15
Employee
  • Employee
  • 240 replies
  • Answer
  • April 20, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings