AirPlay Issues with Intercom API | Community
Skip to main content
Answered

AirPlay Issues with Intercom API

  • December 6, 2024
  • 2 replies
  • 148 views

I have determined that Our iPad app is experiencing Airplay issues that are being caused by the Intercom API.

 

Setup:

Intercom.setApiKey(apiKey, forAppId: appId)

let userAttributes = ICMUserAttributes()

userAttributes.userId = user.userID

Intercom.setUserHash(userHash)

Intercom.loginUser(with: userAttributes)

 

Steps to reproduce:

  1. cold launch the app
  2. Have above code run for Authenticated users
  3. Turn on Airplay to TV or Apple TV
  4. Issue: External screen is black

Note: Turning airplay off and back on solves the issue.

 

Troubleshooting:

Commenting the following lines of code solves the issue:

Intercom.setUserHash(userHash)

Intercom.loginUser(with: userAttributes)


I have tried disabling Intercom swizzling as per your documentation but it has no affect.

 


 

Currently using Intercom 17.4.0

Best answer by bernice

Hi ​@shogary 👋  Given the nature of this query and that we’ll likely need some further details here, I’m going to pass this over to the support team to take further action on this issue for you. We’ll be in touch via the Messenger 💬

2 replies

  • Author
  • New Participant
  • December 9, 2024

Troubleshooting update. I’ve upgraded the Intercom SDK to 18.2.0 and the issue is still occurring.


bernice
Expert User ✨
Forum|alt.badge.img+2
  • Expert User ✨
  • Answer
  • December 16, 2024

Hi ​@shogary 👋  Given the nature of this query and that we’ll likely need some further details here, I’m going to pass this over to the support team to take further action on this issue for you. We’ll be in touch via the Messenger 💬