React-native, Redux, Facebook Login starter pack. Uses Redux async actions to login with facebook and displays the users profile. It shows 'activity indicator' component when loading and outputs any errors to the screen, along with logout functionality.
npm start to run
- Download and install the Facebook SDK for iOS in the standard location at ~/Documents/FacebookSDK.
- Create an iOS app in developers.facebook.com and follow the on screen instructions, adding any required XML snippets to your plist file.
If you want to start from scratch
- react-native init AwesomeProject
- Follow Facebook SDK for iOS - Getting Started up till step #5
- Connect Application Delegate, update AppDelegate.m to the one in this project
- rnpm link [react-native-fbsdkcore/react-native-fbsdklogin need to be in your package.json], check
- Update plist once more with LSApplicationQueriesSchemes