Skip to content

Commit b35ca19

Browse files
authored
Stop calling deprecated sendLogsWithServiceName (#3333)
1 parent 2018fee commit b35ca19

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

Firebase/DynamicLinks/FIRDynamicLinks.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ - (void)configureDynamicLinks:(FIRApp *)app {
194194
reason:errorDescription];
195195
}
196196
if (error) {
197-
[app sendLogsWithServiceName:kFIRServiceDynamicLinks version:kFIRDLVersion error:error];
198197
NSString *message = nil;
199198
if (options.usingOptionsFromDefaultPlist) {
200199
// Configured using plist file

Firebase/InstanceID/FIRInstanceID.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -697,13 +697,7 @@ + (NSError *)configureErrorWithReason:(nonnull NSString *)reason {
697697
userInfo:userInfo];
698698
}
699699

700-
// If the firebaseApp is available we should send logs for the error through it before
701-
// raising an exception.
702700
+ (void)exitWithReason:(nonnull NSString *)reason forFirebaseApp:(FIRApp *)firebaseApp {
703-
[firebaseApp sendLogsWithServiceName:kFIRIIDServiceInstanceID
704-
version:FIRInstanceIDCurrentLibraryVersion()
705-
error:[self configureErrorWithReason:reason]];
706-
707701
[NSException raise:kFIRIIDErrorDomain
708702
format:@"Could not configure Firebase InstanceID. %@", reason];
709703
}

0 commit comments

Comments
 (0)