Skip to content

Commit b561342

Browse files
authored
Remove unused internal function. (#383)
This isn't referenced anywhere internally or externally.
1 parent bb681a0 commit b561342

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

Firebase/Core/FIRApp.m

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -108,24 +108,6 @@ + (void)configureWithOptions:(FIROptions *)options {
108108
[FIRApp configureDefaultAppWithOptions:options sendingNotifications:YES];
109109
}
110110

111-
+ (void)configureWithoutSendingNotification {
112-
FIROptions *options = [FIROptions defaultOptions];
113-
if (!options) {
114-
[[NSNotificationCenter defaultCenter]
115-
postNotificationName:kFIRAppDiagnosticsNotification
116-
object:nil
117-
userInfo:@{
118-
kFIRAppDiagnosticsConfigurationTypeKey : @(FIRConfigTypeCore),
119-
kFIRAppDiagnosticsErrorKey : [FIRApp errorForMissingOptions]
120-
}];
121-
[NSException raise:kFirebaseCoreErrorDomain
122-
format:
123-
@"Please check there is a valid "
124-
@"GoogleService-Info.plist in the project."];
125-
}
126-
[FIRApp configureDefaultAppWithOptions:options sendingNotifications:NO];
127-
}
128-
129111
+ (void)configureDefaultAppWithOptions:(FIROptions *)options
130112
sendingNotifications:(BOOL)sendNotifications {
131113
if (sDefaultApp) {

Firebase/Core/Private/FIRAppInternal.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,6 @@ typedef NSString *_Nullable (^FIRAppGetUIDImplementation)(void);
152152
*/
153153
- (void)getTokenForcingRefresh:(BOOL)forceRefresh withCallback:(FIRTokenCallback)callback;
154154

155-
/**
156-
* Exposed for use by the Google pod. Configures the default app without sending notifications to
157-
* other SDKs. Otherwise, behaves exactly like +configure.
158-
*/
159-
+ (void)configureWithoutSendingNotification;
160-
161155
/**
162156
* Expose the UID of the current user for Firestore.
163157
*/

0 commit comments

Comments
 (0)