Open phil-flyclops opened 5 years ago
For the moment you can put a working version in podfile for this. Until react-native-fbsdk is fixed.
pod 'Bolts', '~> 1.9'
pod 'FBSDKCoreKit', '~> 4.42.0'
pod 'FBSDKLoginKit', '~> 4.42.0'
pod 'FBSDKShareKit' , '~> 4.42.0'
It's the same with FBSDKLoginKit for IOS :( I want to user Web Behavior, but in FBSDK 5, it is removed. Any one can share me another way to force user enter username, password when login with facebook. At the moment, if i log in facebook in safari, then, i clicked button login with facebook in ios app, FB use account which i have logged in in safari. But i want user can enter other account.
🐛 Bug Report
The Podspec for this repo uses the newest version it can find of FBSDKLoginKit. https://github.com/facebook/react-native-fbsdk/blob/master/react-native-fbsdk.podspec#L22
This dependency changed to deprecate all of the LoginBehavior enum values aside from Browser in the past day.
Code from FBSDKLoginKit:
This breaks the following switch statement at compile time because every case is trying to match the value 0 https://github.com/facebook/react-native-fbsdk/blob/master/ios/RCTFBSDK/login/RCTFBSDKLoginManager.m#L129
Code cannot be compiled so anything involving react-native-fbsdk is unbuildable.
The next version completely removes any other login behaviors https://github.com/facebook/facebook-objc-sdk/blob/master/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManager.h#L84
To Reproduce
Attempt to build an ios project depending on the react-native-fbsdk podspec
Expected Behavior
A build that is reproducible if no explicit changes have happened in react-native-fbsdk itself
Code Example
Environment