firebase-ios-sdk
firebase-ios-sdk copied to clipboard
[in-AppMessaging][Crash] FIRIAMRenderingWindowHelper.m
[REQUIRED] Step 1: Describe your environment
- Xcode version: 13.2.1
- Firebase SDK version: 12.9.3
- Installation method: CocoaPods
- Firebase Component: Messaging
- Target platform(s): iOS
[REQUIRED] Step 2: Describe the problem
Seeing firebase crashes spike since we started a campaign
This campaign uses a card
and it has a button/images
Steps to reproduce:
- Create a campaign with a card and target iOS
I could not reproduce this locally but seen it on firebase crashlytics
Based on the presence of CPTemplateApplicationScene, this is likely a crash occurring when Firebase tries to present messages with CarPlay connected. For the time being, you can probably work around this crash by suppressing messages until CarPlay is disconnected.
Thank you for the quick response @morganchen12 🙏
We'll follow your advice, have a great day 👋
Oh wow! We've seen this crash for quite a while now, but never connected it to Firebase, because the Sentry crash logs were very cryptic:
NSInvalidArgumentException
-[CPTemplateApplicationScene coordinateSpace]: unrecognized selector sent to instance 0x153e709c0
I wouldn't be surprised if a lot of others ran into this without noticing.