Skip to content

Commit

Permalink
temp test
Browse files Browse the repository at this point in the history
  • Loading branch information
themiswang committed Nov 23, 2023
1 parent 1b6f19d commit 44bfe7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Crashlytics/Crashlytics/FIRCrashlytics.m
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ + (void)load {
id<FIRSessionsProvider> sessions = FIR_COMPONENT(FIRSessionsProvider, container);
id<FIRRemoteConfigInterop> remoteConfig = FIR_COMPONENT(FIRRemoteConfigInterop, container);

if (remoteConfig) {
[remoteConfig registerRolloutsStateSubscriber:@"fire-cls" subscriber:self];
}

FIRInstallations *installations = [FIRInstallations installationsWithApp:container.app];

*isCacheable = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import "FIRCrashlyticsReport.h"
#import "FIRExceptionModel.h"

@protocol FIRRolloutsStateSubscriber;
#if __has_include(<Crashlytics/Crashlytics.h>)
#warning "FirebaseCrashlytics and Crashlytics are not compatible \
in the same app because including multiple crash reporters can \
Expand All @@ -35,7 +35,7 @@ NS_ASSUME_NONNULL_BEGIN
* we suggest using a wrapper class or a protocol extension.
*/
NS_SWIFT_NAME(Crashlytics)
@interface FIRCrashlytics : NSObject
@interface FIRCrashlytics : NSObject <FIRRolloutsStateSubscriber>
/** :nodoc: */
- (instancetype)init NS_UNAVAILABLE;
Expand Down

0 comments on commit 44bfe7c

Please sign in to comment.