Download fbsdk ios react native 5






















Install and link the react-native-fbsdk package:. Notice : For some unknown reason I was not able to make it work using only this command, so I had to install the SDK using npm install --save react-native-fbsdk and later manually link it to the application, as we will see later. Go to MainApplication.

At this point you need to set up a new Facebook App. Follow the documentation at this link and set all your information. Next, the fastest way to proceed is to follow the Android Quick start page. You can skip the build. Star 3k. View license. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats commits. Failed to load latest commit information. Fix flow, add gh actions ci. Failed to load latest commit information.

Nov 11, Nov 13, Nov 12, Nov 22, Modernize project May 15, Mar 10, Mar 9, Nov 19, View code. Install the library 2. Configure projects 3. Installation Usage Contributing License Installation React Native Compatibility To use this library you need to ensure you match up with the correct version of React Native you are using.

Install the library using either Yarn: yarn add react-native-fbsdk-next. Mixing Swift and Objective-C in a react-native project may be problematic. Object , result :? About No description, website, or topics provided. For example, for iOS, there is a description of the manual linking process for all libraries in the general case in React Native official documentation.

In the case of the react-native-fbsdk library, the manual linking process is described in the configuration section. Following these instructions, you can easily link the library. This configuration is described in the Facebook documentation, and there are links to the necessary pages in react-native-fbsdk.

However, you do not need to do everything described here. Perform the next:. Unfortunately, there is no description of manual linking in the documentation of the react-native-fbsdk library so that I will describe it here:. If these solutions did not help you, look in the troubleshooting section of react-native-fbsdk. From the official documentation , we need to perform only the steps Configure Info. So, Facebook SDK configuration is completed, and you can start embedding various services in your application.

To begin, I propose to consider the scheme of the authorization process in the application with own backend using Facebook authentication. Authorization setup through Facebook is well described in the official documentation for React Native. I indicate this step here to remind you that we need to connect the Facebook Login product to the Facebook console. To make Facebook Login working in your React Native application, you need to make several more settings.



0コメント

  • 1000 / 1000