Skip to content

Commit

Permalink
style(lint): note that nullability lint issue is an upstream bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Sep 27, 2024
1 parent b5eb787 commit 053b0c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/RCTFBSDK/login/RCTFBSDKLoginManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,13 @@ + (BOOL)requiresMainQueueSetup
}
};

// the nil argument is a ViewController, it should be nullable but Xcode complains
// I logged an upstream bug (and proposed a PR), hopefully will resolve.
// https://github.com/facebook/facebook-ios-sdk/issues/2476
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnonnull"
[_loginManager reauthorizeDataAccess:nil handler:requestHandler];
#pragma clang diagnostic pop
};

RCT_EXPORT_METHOD(logOut)
Expand Down

0 comments on commit 053b0c1

Please sign in to comment.