Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Oct 26, 2024
1 parent 970cdf3 commit fdc298e
Show file tree
Hide file tree
Showing 171 changed files with 740 additions and 224 deletions.
4 changes: 4 additions & 0 deletions Crashlytics/Crashlytics/FIRCrashlytics.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@
#import "Crashlytics/Crashlytics/Private/FIRCLSOnDemandModel_Private.h"
#import "Crashlytics/Crashlytics/Private/FIRExceptionModel_Private.h"

@import FirebaseCoreInternal;
@import FirebaseCoreExtension;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

#import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"
Expand Down
4 changes: 4 additions & 0 deletions Crashlytics/Crashlytics/Helpers/FIRCLSLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

#import "Crashlytics/Crashlytics/Helpers/FIRCLSLogger.h"

@import FirebaseCoreInternal;
@import FirebaseCoreExtension;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

FIRLoggerService kFIRLoggerCrashlytics = @"[FirebaseCrashlytics]";

Expand Down
2 changes: 1 addition & 1 deletion Crashlytics/UnitTests/FIRCLSMetricKitManagerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#import <XCTest/XCTest.h>

#import "Crashlytics/Crashlytics/Controllers/FIRCLSMetricKitManager.h"
@import FirebaseCoreExtension;
@import FirebaseCoreInternal;

#if CLS_METRICKIT_SUPPORTED

Expand Down
2 changes: 2 additions & 0 deletions Crashlytics/UnitTests/FIRCLSOnDemandModelTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#import "Crashlytics/Crashlytics/DataCollection/FIRCLSDataCollectionToken.h"
#import "Crashlytics/Crashlytics/Settings/Models/FIRCLSApplicationIdentifierModel.h"

@import FirebaseCoreInternal;

#define TEST_GOOGLE_APP_ID (@"1:632950151350:ios:d5b0d08d4f00f4b1")

@interface FIRCLSOnDemandModelTests : XCTestCase
Expand Down
2 changes: 1 addition & 1 deletion Crashlytics/UnitTests/FIRCLSReportManagerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#import <Foundation/Foundation.h>
#import <XCTest/XCTest.h>

@import FirebaseCoreExtension;
@import FirebaseCoreInternal;

#if __has_include(<FBLPromises/FBLPromises.h>)
#import <FBLPromises/FBLPromises.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@

#import "FirebaseABTesting/Sources/ABTConstants.h"
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"

@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

@implementation ABTConditionalUserPropertyController {
dispatch_queue_t _analyticOperationQueue;
id<FIRAnalyticsInterop> _Nullable _analytics;
Expand Down
3 changes: 1 addition & 2 deletions FirebaseABTesting/Sources/ABTConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

#import <Foundation/Foundation.h>
#import "FirebaseCore/Extension/FIRLogger.h"

#define ABT_MSEC_PER_SEC 1000ull

Expand Down Expand Up @@ -47,4 +46,4 @@ typedef NS_ENUM(NSUInteger, ABTInternalErrorCode) {

#pragma mark - Logger Service String

extern FIRLoggerService kFIRLoggerABTesting;
extern NSString *kFIRLoggerABTesting;
10 changes: 8 additions & 2 deletions FirebaseABTesting/Sources/FIRExperimentController.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
#import "FirebaseABTesting/Sources/ABTConstants.h"
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"

@import FirebaseCore;
@import FirebaseCoreExtension;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

/// Logger Service String.
FIRLoggerService kFIRLoggerABTesting = @"[FirebaseABTesting]";
NSString *kFIRLoggerABTesting = @"[FirebaseABTesting]";

/// Default experiment overflow policy.
const ABTExperimentPayloadExperimentOverflowPolicy FIRDefaultExperimentOverflowPolicy =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
#import "FirebaseABTesting/Tests/Unit/ABTFakeFIRAConditionalUserPropertyController.h"
#import "FirebaseABTesting/Tests/Unit/ABTTestUniversalConstants.h"
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

@import FirebaseCore;
@import FirebaseCoreExtension;

@interface ABTConditionalUserPropertyController (ExposedForTest)
- (NSInteger)maxNumberOfExperimentsOfOrigin:(NSString *)origin;
Expand Down
1 change: 0 additions & 1 deletion FirebaseABTesting/Tests/Unit/FIRExperimentControllerTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#import "FirebaseABTesting/Tests/Unit/ABTFakeFIRAConditionalUserPropertyController.h"
#import "FirebaseABTesting/Tests/Unit/ABTTestUniversalConstants.h"
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"

extern ABTExperimentPayload *ABTDeserializeExperimentPayload(NSData *payload);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckToken+Internal.h"
#import "FirebaseAppCheck/Sources/Core/FIRHeartbeatLogger+AppCheck.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

NS_ASSUME_NONNULL_BEGIN

@interface FIRAppAttestProvider ()
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Sources/Core/FIRApp+AppCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;

NS_ASSUME_NONNULL_BEGIN

Expand Down
7 changes: 7 additions & 0 deletions FirebaseAppCheck/Sources/Core/FIRAppCheck.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckTokenResult.h"
#import "FirebaseAppCheck/Sources/Core/FIRInternalAppCheckProvider.h"

@import FirebaseCore;
@import FirebaseCoreExtension;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

NS_ASSUME_NONNULL_BEGIN

/// A notification with the specified name is sent to the default notification center
Expand Down
6 changes: 5 additions & 1 deletion FirebaseAppCheck/Sources/Core/FIRAppCheckComponent.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheck+Internal.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCoreExtension;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 1 addition & 3 deletions FirebaseAppCheck/Sources/Core/FIRAppCheckLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@

#import <AppCheckCore/AppCheckCore.h>

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

extern FIRLoggerService kFIRLoggerAppCheck;
extern NSString *kFIRLoggerAppCheck;

// FIRAppCheck.m
FOUNDATION_EXPORT NSString *const kFIRLoggerAppCheckMessageCodeProviderFactoryIsMissing;
Expand Down
8 changes: 6 additions & 2 deletions FirebaseAppCheck/Sources/Core/FIRAppCheckLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@

#import "FirebaseAppCheck/Sources/Core/FIRAppCheckLogger.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

NS_ASSUME_NONNULL_BEGIN

FIRLoggerService kFIRLoggerAppCheck = @"[FirebaseAppCheck]";
NSString *kFIRLoggerAppCheck = @"[FirebaseAppCheck]";

// FIRAppCheck.m
NSString *const kFIRLoggerAppCheckMessageCodeProviderFactoryIsMissing = @"I-FAA002001";
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Sources/Core/FIRAppCheckSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#import <GoogleUtilities/GULUserDefaults.h>

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCoreExtension;

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck/Sources/Core/FIRAppCheckValidator.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#import "FirebaseAppCheck/Sources/Core/FIRAppCheckValidator.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;

@implementation FIRAppCheckValidator

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckValidator.h"
#import "FirebaseAppCheck/Sources/Core/FIRHeartbeatLogger+AppCheck.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckLogger.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheckDebugProvider.h"

@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

NS_ASSUME_NONNULL_BEGIN

@implementation FIRAppCheckDebugProviderFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckValidator.h"
#import "FirebaseAppCheck/Sources/Core/FIRHeartbeatLogger+AppCheck.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckToken+Internal.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppAttestProvider.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreExtension;

static NSString *const kAppName = @"test_app_name";
static NSString *const kAppID = @"test_app_id";
Expand Down
6 changes: 6 additions & 0 deletions FirebaseAppCheck/Tests/Unit/Core/FIRAppCheckLoggerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

#import <AppCheckCore/AppCheckCore.h>

@import FirebaseCore;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

@interface FIRAppCheckLoggerTests : XCTestCase
@end

Expand Down
3 changes: 2 additions & 1 deletion FirebaseAppCheck/Tests/Unit/Core/FIRAppCheckSettingsTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

#import "FirebaseAppCheck/Sources/Core/FIRAppCheckSettings.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreExtension;

@interface FIRAppCheckSettingsTests : XCTestCase

Expand Down
7 changes: 6 additions & 1 deletion FirebaseAppCheck/Tests/Unit/Core/FIRAppCheckTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckToken+Internal.h"
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckTokenResult.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreExtension;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

// The FAC token value returned when an error occurs.
static NSString *const kDummyToken = @"eyJlcnJvciI6IlVOS05PV05fRVJST1IifQ==";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheckDebugProvider.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheckDebugProviderFactory.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreExtension;

@interface FIRAppCheckDebugProviderFactoryTests : XCTestCase
@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
#import "FirebaseAppCheck/Sources/Core/FIRHeartbeatLogger+AppCheck.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheckDebugProvider.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreExtension;

static NSString *const kAppName = @"test_app_name";
static NSString *const kAppID = @"test_app_id";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
#import "FirebaseAppCheck/Sources/Core/FIRAppCheckToken+Internal.h"
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRDeviceCheckProvider.h"

#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
@import FirebaseCore;
@import FirebaseCoreExtension;

static NSString *const kAppName = @"test_app_name";
static NSString *const kAppID = @"test_app_id";
Expand Down
8 changes: 7 additions & 1 deletion FirebaseAppDistribution/Sources/FIRAppDistribution.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#import <GoogleUtilities/GULAppDelegateSwizzler.h>
#import <GoogleUtilities/GULUserDefaults.h>
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
#import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"

#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h"
Expand All @@ -25,6 +24,13 @@
#import "FirebaseAppDistribution/Sources/Private/FIRAppDistribution.h"
#import "FirebaseAppDistribution/Sources/Private/FIRAppDistributionRelease.h"

@import FirebaseCore;
@import FirebaseCoreExtension;
@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

/// Empty protocol to register with FirebaseCore's component system.
@protocol FIRAppDistributionInstanceProvider <NSObject>
@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#import "FirebaseAppDistribution/Sources/FIRAppDistributionUIService.h"
#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
#import "FirebaseAppDistribution/Sources/Public/FirebaseAppDistribution/FIRAppDistribution.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

@import FirebaseCore;
@import FirebaseCoreExtension;

#import <AuthenticationServices/AuthenticationServices.h>
#import <SafariServices/SafariServices.h>
Expand Down
4 changes: 3 additions & 1 deletion FirebaseAppDistribution/Sources/FIRFADApiService.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
#import "FirebaseAppDistribution/Sources/FIRFADApiService.h"
#import <Foundation/Foundation.h>
#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
#import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"

@import FirebaseCore;
@import FirebaseCoreExtension;

NSString *const kFIRFADApiErrorDomain = @"com.firebase.appdistribution.api";
NSString *const kFIRFADApiErrorDetailsKey = @"details";
NSString *const kHTTPGet = @"GET";
Expand Down
6 changes: 5 additions & 1 deletion FirebaseAppDistribution/Sources/FIRFADLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
// limitations under the License.

#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
#import "FirebaseCore/Extension/FIRLogger.h"

@import FirebaseCoreInternal;
#if SWIFT_PACKAGE
@import FirebaseCoreInternalObjC;
#endif

FIRLoggerService kFIRLoggerAppDistribution = @"[FirebaseAppDistribution]";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#import <XCTest/XCTest.h>

#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h"
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"

@interface FIRAppDistributionMachOTests : XCTestCase
@end
Expand Down
Loading

0 comments on commit fdc298e

Please sign in to comment.