remove useless code

This commit is contained in:
Danmei Chen 2019-04-24 12:17:05 +02:00
parent ff4a0d0d1f
commit b50175040a

View file

@ -238,11 +238,7 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#ifdef USE_CRASHLYTHICSS
NSString *pathForFile=[[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"GoogleService-Info.plist"];
if ([[NSFileManager defaultManager] fileExistsAtPath:pathForFile]){
// If GoogleService-Info.plist doesn't exist, not call this function avoiding a crash.
[FIRApp configure];
}
[FIRApp configure];
#endif
UIApplication *app = [UIApplication sharedApplication];