Skip to content

Commit 0c3ccd3

Browse files
authored
fix(auth, apple): Move FirebaseAuth imports to implementation files (#17607)
* [Infra] Move FirebaseAuth imports to implementation files * Add module import
1 parent 5199edb commit 0c3ccd3

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/FLTPhoneNumberVerificationStreamHandler.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
@import FirebaseAuth;
6+
57
#import "include/Private/FLTPhoneNumberVerificationStreamHandler.h"
68
#import "include/Public/FLTFirebaseAuthPlugin.h"
79

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/include/Private/FLTAuthStateChannelStreamHandler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
#import <TargetConditionals.h>
66

77
#if TARGET_OS_OSX
8-
#import <FirebaseAuth/FirebaseAuth.h>
98
#import <FlutterMacOS/FlutterMacOS.h>
109
#else
1110
#import <Flutter/Flutter.h>
12-
@import FirebaseAuth;
1311
#endif
1412

1513
#import <Foundation/Foundation.h>
1614
#import "../Public/CustomPigeonHeader.h"
1715

16+
@class FIRAuth;
17+
1818
NS_ASSUME_NONNULL_BEGIN
1919

2020
@interface FLTAuthStateChannelStreamHandler : NSObject <FlutterStreamHandler>

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/include/Private/FLTIdTokenChannelStreamHandler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
#import <TargetConditionals.h>
66

77
#if TARGET_OS_OSX
8-
#import <FirebaseAuth/FirebaseAuth.h>
98
#import <FlutterMacOS/FlutterMacOS.h>
109
#else
1110
#import <Flutter/Flutter.h>
12-
@import FirebaseAuth;
1311
#endif
1412

1513
#import "../Public/CustomPigeonHeader.h"
1614

1715
#import <Foundation/Foundation.h>
1816

17+
@class FIRAuth;
18+
1919
NS_ASSUME_NONNULL_BEGIN
2020

2121
@interface FLTIdTokenChannelStreamHandler : NSObject <FlutterStreamHandler>

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/include/Private/FLTPhoneNumberVerificationStreamHandler.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@
55
#import <TargetConditionals.h>
66

77
#if TARGET_OS_OSX
8-
#import <FirebaseAuth/FirebaseAuth.h>
98
#import <FlutterMacOS/FlutterMacOS.h>
109
#else
1110
#import <Flutter/Flutter.h>
12-
@import FirebaseAuth;
1311
#endif
1412

1513
#import "../Public/firebase_auth_messages.g.h"
1614

1715
#import <Foundation/Foundation.h>
1816

17+
@class FIRAuth;
18+
@class FIRMultiFactorSession;
19+
@class FIRPhoneMultiFactorInfo;
20+
1921
NS_ASSUME_NONNULL_BEGIN
2022

2123
@interface FLTPhoneNumberVerificationStreamHandler : NSObject <FlutterStreamHandler>

packages/firebase_auth/firebase_auth/ios/firebase_auth/Sources/firebase_auth/include/Private/PigeonParser.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
* BSD-style license that can be found in the LICENSE file.
55
*/
66

7-
#if TARGET_OS_OSX
8-
#import <FirebaseAuth/FirebaseAuth.h>
9-
#else
10-
@import FirebaseAuth;
11-
#endif
12-
137
#import <Foundation/Foundation.h>
148
#import "../Public/firebase_auth_messages.g.h"
159

10+
@class FIRAuthDataResult;
11+
@class FIRUser;
12+
@class FIRActionCodeSettings;
13+
@class FIRAuthTokenResult;
14+
@class FIRTOTPSecret;
15+
@class FIRAuthCredential;
16+
1617
@interface PigeonParser : NSObject
1718

1819
+ (NSArray *_Nonnull)getManualList:(nonnull PigeonUserDetails *)userDetails;

0 commit comments

Comments
 (0)