Skip to content

Commit f3a14c2

Browse files
andrewheardncooke3
andauthored
Add FirebaseAppCheckInterop umbrella header (#11860)
Co-authored-by: Nick Cooke <[email protected]>
1 parent 79692e9 commit f3a14c2

37 files changed

+75
-37
lines changed

FirebaseAppCheck.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Pod::Spec.new do |s|
4444
s.osx.weak_framework = 'DeviceCheck'
4545
s.tvos.weak_framework = 'DeviceCheck'
4646

47-
s.dependency 'FirebaseAppCheckInterop', '~> 10.16'
47+
s.dependency 'FirebaseAppCheckInterop', '~> 10.17'
4848
s.dependency 'FirebaseCore', '~> 10.0'
4949
s.dependency 'PromisesObjC', '~> 2.1'
5050
s.dependency 'GoogleUtilities/Environment', '~> 7.8'

FirebaseAppCheck/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 10.17.0
2+
- [fixed] Replaced semantic imports (`@import FirebaseAppCheckInterop`) with umbrella header imports
3+
(`#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>`) for ObjC++ compatibility (#11916).
4+
15
# 10.9.0
26
- [feature] Added `limitedUseToken(completion:)` for obtaining limited-use tokens for
37
protecting non-Firebase backends. (#11086)

FirebaseAppCheck/Interop/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(NOT APPLE)
1616
return()
1717
endif()
1818

19-
file(GLOB headers *.h)
19+
file(GLOB headers Public/FirebaseAppCheckInterop/*.h)
2020
firebase_ios_generate_dummy_source(FirebaseAppCheckInterop sources)
2121

2222
firebase_ios_add_framework(
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright 2023 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#import "FIRAppCheckInterop.h"
18+
#import "FIRAppCheckProtocol.h"
19+
#import "FIRAppCheckTokenResultInterop.h"

FirebaseAppCheck/Sources/Core/FIRAppCheck.m

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

1717
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"
1818

19-
@import FirebaseAppCheckInterop;
19+
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>
2020

2121
#if __has_include(<FBLPromises/FBLPromises.h>)
2222
#import <FBLPromises/FBLPromises.h>

FirebaseAppCheck/Sources/Core/FIRAppCheckComponent.m

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

1717
#import <Foundation/Foundation.h>
1818

19-
@import FirebaseAppCheckInterop;
19+
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>
2020

2121
#import "FirebaseAppCheck/Sources/Core/FIRAppCheck+Internal.h"
2222
#import "FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRAppCheck.h"

FirebaseAppCheck/Sources/Core/FIRAppCheckTokenResult.h

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

1717
#import <Foundation/Foundation.h>
1818

19-
@import FirebaseAppCheckInterop;
19+
#import <FirebaseAppCheckInterop/FirebaseAppCheckInterop.h>
2020

2121
NS_ASSUME_NONNULL_BEGIN
2222

0 commit comments

Comments
 (0)