Android SDK crashes when clicking on email from Article | Community
Skip to main content
Answered

Android SDK crashes when clicking on email from Article

  • June 15, 2023
  • 3 replies
  • 181 views

Forum|alt.badge.img

Getting reports of crashes. It’s pretty explicit, the SDK tries to launch an app to handle `mailto` but none are found on the device.

Intercom Android SDK version: `15.0.0`

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=mailto:xxxxxxx@xxxx.xxx }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1945)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1620)
at android.app.Activity.startActivityForResult(Activity.java:4541)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:754)
at android.app.Activity.startActivityForResult(Activity.java:4499)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:735)
at android.app.Activity.startActivity(Activity.java:4860)
at android.app.Activity.startActivity(Activity.java:4828)
at io.intercom.android.sdk.articles.ArticleWebViewClient.shouldOverrideUrlLoading(ArticleWebViewClient.java:89)
at io.intercom.android.sdk.articles.ArticleWebViewClient.shouldOverrideUrlLoading(ArticleWebViewClient.java:96)
at o4.g(chromium-SystemWebViewGoogle.aab-stable-466410400:1)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(chromium-SystemWebViewGoogle.aab-stable-466410400:14)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:331)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:6662)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

 

Best answer by Eden

Hey @Seb 👋 Eden from the support engineer team here.

 

Currently were are on version 15.1.1 of our Android SDK. Can you update your SDK and see if you’re still running into this issue? You’ll need to make sure the User that you test the new SDK out with updates to that new version of your app as well. 

3 replies

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • Answer
  • June 22, 2023

Hey @Seb 👋 Eden from the support engineer team here.

 

Currently were are on version 15.1.1 of our Android SDK. Can you update your SDK and see if you’re still running into this issue? You’ll need to make sure the User that you test the new SDK out with updates to that new version of your app as well. 


Forum|alt.badge.img
  • Author
  • Connector
  • August 1, 2023

Hey @Eden, this is still happening on 15.1.3.

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=https://test.com/... }

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • August 3, 2023

Thanks for giving that a try @Seb. This might take a bit of additional investigation, so I have forwarded your issue to the Customer Support team on your behalf using the forum ticket escalation feature. The team will get back to you as soon as they can. Thank you!