Skip to content

Commit 97e9eb3

Browse files
authored
Fix internal ABT imports (#6108)
1 parent fa26512 commit 97e9eb3

File tree

6 files changed

+29
-6
lines changed

6 files changed

+29
-6
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Copyright 2020 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// An umbrella header, for any other libraries in this repo to access Firebase Public and Private
16+
// headers. Any package manager complexity should be handled here.
17+
18+
#if SWIFT_PACKAGE
19+
@import FirebaseABTesting;
20+
#else
21+
#import <FirebaseABTesting/FirebaseABTesting.h>
22+
#endif
23+
24+
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"

FirebaseInAppMessaging.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin
2727
s.source_files = [
2828
base_dir + "Sources/**/*.[cmh]",
2929
'Interop/Analytics/Public/*.h',
30+
'FirebaseABTesting/Sources/Private/*.h',
3031
'FirebaseCore/Sources/Private/*.h',
3132
'FirebaseInstallations/Source/Library/Private/*.h',
3233
'GoogleUtilities/Environment/Private/*.h',

FirebaseRemoteConfig.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ app update.
3030
s.source_files = [
3131
base_dir + '**/*.[mh]',
3232
'Interop/Analytics/Public/*.h',
33+
'FirebaseABTesting/Sources/Private/*.h',
3334
'FirebaseCore/Sources/Private/*.h',
3435
'FirebaseInstallations/Source/Library/Private/*.h',
3536
'GoogleUtilities/Environment/Private/*.h',

FirebaseRemoteConfig/Sources/FIRRemoteConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#import "FirebaseRemoteConfig/Sources/Public/FIRRemoteConfig.h"
1818

19-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
19+
#import "FirebaseABTesting/Sources/Private/FirebaseABTestingInternal.h"
2020
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
2121
#import "FirebaseRemoteConfig/Sources/FIRRemoteConfigComponent.h"
2222
#import "FirebaseRemoteConfig/Sources/Private/FIRRemoteConfig_Private.h"

FirebaseRemoteConfig/Sources/RCNConfigExperiment.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616

1717
#import "FirebaseRemoteConfig/Sources/RCNConfigExperiment.h"
1818

19-
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
20-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
21-
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
19+
#import "FirebaseABTesting/Sources/Private/FirebaseABTestingInternal.h"
2220
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
2321
#import "FirebaseRemoteConfig/Sources/RCNConfigDBManager.h"
2422
#import "FirebaseRemoteConfig/Sources/RCNConfigDefines.h"

FirebaseRemoteConfig/Tests/Unit/RCNConfigExperimentTest.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
#import "FirebaseRemoteConfig/Sources/RCNConfigValue_Internal.h"
2727
#import "FirebaseRemoteConfig/Tests/Unit/RCNTestUtilities.h"
2828

29-
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
30-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
29+
#import "FirebaseABTesting/Sources/Private/FirebaseABTestingInternal.h"
3130

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

0 commit comments

Comments
 (0)