Skip to content

Commit fabe88f

Browse files
Remove unused methods in FIROptions (#10712)
1 parent 5820d2f commit fabe88f

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

FirebaseCore/Extension/FIROptionsInternal.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,6 @@ extern NSString *const kServiceInfoFileType;
9797
*/
9898
@property(nonatomic, readonly) BOOL isMeasurementEnabled;
9999

100-
/**
101-
* Whether or not Analytics was enabled in the developer console.
102-
*/
103-
@property(nonatomic, readonly) BOOL isAnalyticsEnabled;
104-
105-
/**
106-
* Whether or not SignIn was enabled in the developer console.
107-
*/
108-
@property(nonatomic, readonly) BOOL isSignInEnabled;
109-
110100
/**
111101
* Whether or not editing is locked. This should occur after `FirebaseOptions` has been set on a
112102
* `FirebaseApp`.

FirebaseCore/Sources/FIROptions.m

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@
3636
NSString *const kFIRIsAnalyticsCollectionEnabled = @"FIREBASE_ANALYTICS_COLLECTION_ENABLED";
3737
NSString *const kFIRIsAnalyticsCollectionDeactivated = @"FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED";
3838

39-
NSString *const kFIRIsAnalyticsEnabled = @"IS_ANALYTICS_ENABLED";
40-
NSString *const kFIRIsSignInEnabled = @"IS_SIGNIN_ENABLED";
41-
4239
// Library version ID formatted like:
4340
// @"5" // Major version (one or more digits)
4441
// @"04" // Minor version (exactly 2 digits)
@@ -487,12 +484,4 @@ - (BOOL)isAnalyticsCollectionDeactivated {
487484
return [value boolValue];
488485
}
489486

490-
- (BOOL)isAnalyticsEnabled {
491-
return [self.optionsDictionary[kFIRIsAnalyticsEnabled] boolValue];
492-
}
493-
494-
- (BOOL)isSignInEnabled {
495-
return [self.optionsDictionary[kFIRIsSignInEnabled] boolValue];
496-
}
497-
498487
@end

0 commit comments

Comments
 (0)