I have an iMessage extension within my iOS app. Can Crashlytics capture its crashes?
I\'ve tried adding the same Fabric
entry from my main app\'s
Mike from Fabric here.
We have experimental support for only Crashlytics on iMessage Extensions. To get things working:
Add the Crashlytics.startWithAPIKey("YourActualApiKey")
to your
extension's view controller's initWithCodermethod
. If you don't
have an initWithCoder
method currently, it should look like this
in the end:
required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) Crashlytics.startWithAPIKey("yourApiKey") }
Reference: https://stackoverflow.com/a/27153383/3975963