From 15ce2165cc01dabc5a670407e00a0b704da0ee2f Mon Sep 17 00:00:00 2001 From: fredrossperry Date: Tue, 15 Dec 2015 16:52:41 -0800 Subject: muPDF iOS app: Support for the latest (3.4.1) Crashlytics. - added four zlib files to Makethird that contain functions needed by the new version. - added -Wno-implicit-function-declaration so these new files, which contain some implicit declarations, would build for iOS - added a section to Info.plist that holds the new API key, with an invalid value that the release build script will fill in. - changes to MuAppDelegate for the new version. --- platform/ios/Classes/MuAppDelegate.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform/ios/Classes') 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 #import #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]; -- cgit v1.2.3