diff options
author | 2017-10-17 16:47:08 -0400 | |
---|---|---|
committer | 2017-10-17 16:47:08 -0400 | |
commit | b561342aa69f30fbd5e66927501def426ba8337e (patch) | |
tree | c5ed1b69153441ebe63d4da2fbaddc67d1e18cc1 /Firebase/Core | |
parent | bb681a0c8e18ba5c56f2740fe5ca50ac5f30f092 (diff) |
Remove unused internal function. (#383)
This isn't referenced anywhere internally or externally.
Diffstat (limited to 'Firebase/Core')
-rw-r--r-- | Firebase/Core/FIRApp.m | 18 | ||||
-rw-r--r-- | Firebase/Core/Private/FIRAppInternal.h | 6 |
2 files changed, 0 insertions, 24 deletions
diff --git a/Firebase/Core/FIRApp.m b/Firebase/Core/FIRApp.m index 718734b..97a6896 100644 --- a/Firebase/Core/FIRApp.m +++ b/Firebase/Core/FIRApp.m @@ -108,24 +108,6 @@ static FIRApp *sDefaultApp; [FIRApp configureDefaultAppWithOptions:options sendingNotifications:YES]; } -+ (void)configureWithoutSendingNotification { - FIROptions *options = [FIROptions defaultOptions]; - if (!options) { - [[NSNotificationCenter defaultCenter] - postNotificationName:kFIRAppDiagnosticsNotification - object:nil - userInfo:@{ - kFIRAppDiagnosticsConfigurationTypeKey : @(FIRConfigTypeCore), - kFIRAppDiagnosticsErrorKey : [FIRApp errorForMissingOptions] - }]; - [NSException raise:kFirebaseCoreErrorDomain - format: - @"Please check there is a valid " - @"GoogleService-Info.plist in the project."]; - } - [FIRApp configureDefaultAppWithOptions:options sendingNotifications:NO]; -} - + (void)configureDefaultAppWithOptions:(FIROptions *)options sendingNotifications:(BOOL)sendNotifications { if (sDefaultApp) { diff --git a/Firebase/Core/Private/FIRAppInternal.h b/Firebase/Core/Private/FIRAppInternal.h index 73f44ea..2a98268 100644 --- a/Firebase/Core/Private/FIRAppInternal.h +++ b/Firebase/Core/Private/FIRAppInternal.h @@ -153,12 +153,6 @@ typedef NSString *_Nullable (^FIRAppGetUIDImplementation)(void); - (void)getTokenForcingRefresh:(BOOL)forceRefresh withCallback:(FIRTokenCallback)callback; /** - * Exposed for use by the Google pod. Configures the default app without sending notifications to - * other SDKs. Otherwise, behaves exactly like +configure. - */ -+ (void)configureWithoutSendingNotification; - -/** * Expose the UID of the current user for Firestore. */ - (nullable NSString *)getUID; |