summaryrefslogtreecommitdiff
path: root/platform/ios/Classes/MuAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/Classes/MuAppDelegate.m')
-rw-r--r--platform/ios/Classes/MuAppDelegate.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuAppDelegate.m b/platform/ios/Classes/MuAppDelegate.m
index b3ff1481..5751cb1e 100644
--- a/platform/ios/Classes/MuAppDelegate.m
+++ b/platform/ios/Classes/MuAppDelegate.m
@@ -4,6 +4,7 @@
#import "MuAppDelegate.h"
#ifdef CRASHLYTICS_ENABLE
+#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>
#endif
@@ -29,7 +30,7 @@
#ifdef CRASHLYTICS_ENABLE
NSLog(@"Starting Crashlytics");
- [Crashlytics startWithAPIKey:CRASHLYTICS_API_KEY];
+ [Fabric with:@[[Crashlytics class]]];
#endif
screenScale = [[UIScreen mainScreen] scale];