Skip to content

Commit 781f214

Browse files
authored
ABT - new public header structure (#6168)
1 parent aba1fe0 commit 781f214

10 files changed

+10
-14
lines changed

FirebaseABTesting.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
3535
'FirebaseCore/Sources/Private/*.h',
3636
]
3737
s.requires_arc = base_dir + '*.m'
38-
s.public_header_files = base_dir + 'Public/*.h', base_dir + 'Private/*.h'
38+
s.public_header_files = base_dir + 'Public/FirebaseABTesting/*.h', base_dir + 'Private/*.h'
3939
s.private_header_files = base_dir + 'Private/*.h'
4040
s.pod_target_xcconfig = {
4141
'GCC_C_LANGUAGE_STANDARD' => 'c99',

FirebaseABTesting/Sources/ABTConditionalUserPropertyController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
1616

1717
#import "FirebaseABTesting/Sources/ABTConstants.h"
18-
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
18+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
1919
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
2020
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"
2121

FirebaseABTesting/Sources/FIRExperimentController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
15+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRExperimentController.h"
1616

1717
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
1818
#import "FirebaseABTesting/Sources/ABTConstants.h"
1919
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
20-
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
20+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
2121
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
2222

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

FirebaseABTesting/Sources/FIRLifecycleEvents.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
15+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
1616

17-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
17+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRExperimentController.h"
1818

1919
/// Default name of the analytics event to be logged when an experiment is set.
2020
NSString *const FIRSetExperimentEventName = @"_exp_set";

FirebaseABTesting/Sources/Private/FirebaseABTestingInternal.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
// An umbrella header, for any other libraries in this repo to access Firebase Public and Private
1616
// headers. Any package manager complexity should be handled here.
1717

18-
#if SWIFT_PACKAGE
19-
@import FirebaseABTesting;
20-
#else
2118
#import <FirebaseABTesting/FirebaseABTesting.h>
22-
#endif
2319

2420
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"

FirebaseABTesting/Tests/Unit/ABTConditionalUserPropertyControllerTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
1919
#import "FirebaseABTesting/Sources/ABTConstants.h"
2020
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
21-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
22-
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
21+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRExperimentController.h"
22+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
2323
#import "FirebaseABTesting/Tests/Unit/ABTFakeFIRAConditionalUserPropertyController.h"
2424
#import "FirebaseABTesting/Tests/Unit/ABTTestUniversalConstants.h"
2525
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"

FirebaseABTesting/Tests/Unit/FIRExperimentControllerTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
1919
#import "FirebaseABTesting/Sources/ABTConstants.h"
2020
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
21-
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
22-
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
21+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRExperimentController.h"
22+
#import "FirebaseABTesting/Sources/Public/FirebaseABTesting/FIRLifecycleEvents.h"
2323
#import "FirebaseABTesting/Tests/Unit/ABTFakeFIRAConditionalUserPropertyController.h"
2424
#import "FirebaseABTesting/Tests/Unit/ABTTestUniversalConstants.h"
2525
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"

0 commit comments

Comments
 (0)