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 Info.plist into my iMessage extension's Info.plist, and adding the following to my MSMessagesAppViewController subclass (as recommended for Today widget intregation):
- (instancetype _Nonnull)initWithNibName:(NSString * _Nullable)nibNameOrNil
bundle:(NSBundle * _Nullable)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil
bundle:nibBundleOrNil];
if (self)
{
// Start up Answers and Crashlytics
[Fabric with:[NSArray<id> arrayWithObjects:
[Answers class],
[Crashlytics class],
nil]];
}
return self;
}
But when I start iMessage and choose my iMessage extension, it just hangs on the previous screenshot. It never starts.