Skip to content

Commit ff4bf40

Browse files
authored
Remove conditional compilation in app check headers (#8493)
* Remove conditional compilation in app check headers * Fix missing symbols in build * throw exception * update headerdocs * Revert changes except doc comments * Update changelog
1 parent 216568f commit ff4bf40

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

FirebaseAppCheck/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# v8.5.0 -- Unreleased
1+
# v8.6.0 -- M102
2+
- [changed] Documented unsupported platforms (#8493).
3+
4+
# v8.5.0 -- M101
25
- [changed] App Check SDK available for all supported platforms/OS versions, but App Attest and
36
DeviceCheck providers availability changed to match underlying platfrom API availability. (#8388)
47
# v8.4.0 -- M100

FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRDeviceCheckProvider.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616

1717
#import <Foundation/Foundation.h>
1818

19-
#import "FIRAppCheckProvider.h"
20-
2119
#import "FIRAppCheckAvailability.h"
20+
#import "FIRAppCheckProvider.h"
2221

2322
#if FIR_DEVICE_CHECK_SUPPORTED_TARGETS
2423

@@ -30,6 +29,7 @@ NS_ASSUME_NONNULL_BEGIN
3029

3130
/// Firebase App Check provider that verifies app integrity using the
3231
/// [DeviceCheck](https://developer.apple.com/documentation/devicecheck) API.
32+
/// This class is available on iOS, macOS Catalyst, macOS, and tvOS only.
3333
FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY
3434
NS_SWIFT_NAME(DeviceCheckProvider)
3535
@interface FIRDeviceCheckProvider : NSObject <FIRAppCheckProvider>

FirebaseAppCheck/Sources/Public/FirebaseAppCheck/FIRDeviceCheckProviderFactory.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
2828
/// `DeviceCheckProvider` for the specified `FirebaseApp` on request. Currently
2929
/// `DeviceCheckProviderFactory` is the default that will be used by Firebase App Check if no other
3030
/// provider is specified. See `AppCheck` class for more details.
31+
/// This class is available on iOS, macOS Catalyst, macOS, and tvOS only.
3132
FIR_DEVICE_CHECK_PROVIDER_AVAILABILITY
3233
NS_SWIFT_NAME(DeviceCheckProviderFactory)
3334
@interface FIRDeviceCheckProviderFactory : NSObject <FIRAppCheckProviderFactory>

0 commit comments

Comments
 (0)