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:
- cold launch the app
- Have above code run for Authenticated users
- Turn on Airplay to TV or Apple TV
- 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