-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(app-check, ios): remove import loop to fix protocol def warning #8133
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* | ||
*/ | ||
|
||
#import <FirebaseAppCheck/FIRAppCheck.h> | ||
#import "RNFBAppCheckProvider.h" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. including FIRAppCheck here also contributed to the loop, so instead chain to the "parent" header file, and it includes all the others but this way they are included once-and-only-once |
||
|
||
@interface RNFBAppCheckProviderFactory : NSObject <FIRAppCheckProviderFactory> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,7 @@ | |
*/ | ||
|
||
#import "RNFBAppCheckProviderFactory.h" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one imports RNFBAppCheckProvider.h, which imports the others, including them again below caused the loop which caused the warning |
||
#import <Firebase/Firebase.h> | ||
#import <FirebaseAppCheck/FIRAppCheck.h> | ||
#import "RNFBApp/RNFBSharedUtils.h" | ||
#import "RNFBAppCheckProvider.h" | ||
|
||
@implementation RNFBAppCheckProviderFactory | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was just a style change from
""
style imports to<>