react-native-fbsdk | React Native wrapper around the Facebook SDKs | iOS library

 by   facebook Java Version: v3.0.0 License: Non-SPDX

kandi X-RAY | react-native-fbsdk Summary

kandi X-RAY | react-native-fbsdk Summary

react-native-fbsdk is a Java library typically used in Mobile, iOS, React Native applications. react-native-fbsdk has no bugs, it has no vulnerabilities and it has high support. However react-native-fbsdk build file is not available and it has a Non-SPDX License. You can install using 'npm i react-native-fbsdk-iberhk' or download it from GitHub, npm.

React Native FBSDK is a wrapper around the iOS Facebook SDK and Android Facebook SDK, allowing for Facebook integration in React Native apps. Access to native components, from login to sharing, is provided entirely through documented JavaScript modules so you don't have to call a single native function directly. Functionality is provided through one single npm package so you can use it for both platforms without downloading any extra packages. Follow this guide to use react-native-fbsdk in your React Native app. You can also visit for tutorials and reference documentation.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-native-fbsdk has a highly active ecosystem.
              It has 2977 star(s) with 869 fork(s). There are 72 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 223 open issues and 404 have been closed. On average issues are closed in 77 days. There are 8 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of react-native-fbsdk is v3.0.0

            kandi-Quality Quality

              react-native-fbsdk has 0 bugs and 0 code smells.

            kandi-Security Security

              react-native-fbsdk has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-native-fbsdk code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-native-fbsdk has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              react-native-fbsdk releases are available to install and integrate.
              Deployable package is available in npm.
              react-native-fbsdk has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              react-native-fbsdk saves you 643 person hours of effort in developing the same functionality from scratch.
              It has 1493 lines of code, 127 functions and 55 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-native-fbsdk and discovered the below as its top functions. This is intended to give you an instant insight into react-native-fbsdk implemented functionality, and help decide if they suit your requirements.
            • Show the provided ShareContent using the provided ShareContentMap
            • Build share video content
            • Build share link content
            • Builds a ShareOpen GraphObject from a Map
            • Starts the batch
            • Builds a GraphRequest from the requestMap
            • Extract parameters from the map
            • Set parameters in configMap
            • Show a game request dialog
            • Builds a game request content object
            • Initializes the graph
            • Convert a set to an array of strings
            • Build app invite content
            • Show the share dialog
            • Build a generic error map from a FacebookRequest error response
            • Initialise Fluo
            • Creates AppGroupCreationContent
            • Logs in with the provided permissions
            • Checks if the share content of the specified type is allowed to show
            • From interface Future
            Get all kandi verified functions for this library.

            react-native-fbsdk Key Features

            No Key Features are available at this moment for react-native-fbsdk.

            react-native-fbsdk Examples and Code Snippets

            No Code Snippets are available at this moment for react-native-fbsdk.

            Community Discussions

            QUESTION

            TypeError: Cannot read property 'UIAppFonts' of null while linking custom fonts with react native project
            Asked 2022-Mar-16 at 11:42

            I am trying to apply custom fonts to my react native application. When i run this command

            ...

            ANSWER

            Answered 2022-Mar-16 at 11:42

            in my case i delete ios folder in my project and then recreate with following command

            Source https://stackoverflow.com/questions/71463817

            QUESTION

            java.lang.NoSuchMethodError: No virtual method setSkipClientToken(Z)V in class Lcom/facebook/GraphRequest;
            Asked 2022-Feb-25 at 23:22

            It was working fine before I have done nothing, no packages update, no gradle update no nothing just created new build and this error occurs. but for some team members the error occur after gradle sync.

            The issue is that build is generating successfully without any error but when opens the app it suddenly gets crash (in both debug and release mode)

            Error

            ...

            ANSWER

            Answered 2022-Feb-25 at 23:22

            We have fixed the issue by replacing

            Source https://stackoverflow.com/questions/71256006

            QUESTION

            Could not find com.google.android:flexbox:1.0.0 react-native-intercom
            Asked 2022-Feb-25 at 18:17

            I have a react-native project. After the bitnary (jcenter) shutted down I started to replace it. Currently I'm using mavenCentral(). Also I'm using the react-native-intercom (wrapper for intercom). When I'm trying to build gradlew assembleRelease. Its throws me an error.

            ...

            ANSWER

            Answered 2022-Jan-23 at 12:38

            I solved it. If you are using the react-native-intercom wrapper. You need to update it, after update everything works fine

            Source https://stackoverflow.com/questions/70801203

            QUESTION

            Invariant Violation: Native module cannot be null.only IOS not android
            Asked 2022-Jan-20 at 05:12

            i have the Invariant Violation: Native module cannot be null error and the 2nd error down below. I found online the issue might have to do with not having an ios folder in a module directory, i looked in each of the folders in the local system and on github with them all containing the ios folder

            ...

            ANSWER

            Answered 2022-Jan-20 at 05:12

            Check the library @react-navigation/drawer compatibility with IOS and Android respectively , link it manually sometimes autolinking doesn't work. Ensure you are running correct project , clean build and install pod and check it out.

            Source https://stackoverflow.com/questions/70764363

            QUESTION

            Start React Native : Error 502 from maven-metadata.xml
            Asked 2022-Jan-17 at 13:07

            When I execute npx react-native run-android I have a 502 error that does not allow me to start my project.

            I have read these recents topics : "React Native: Android "Received status code 502 from server: Bad Gateway" from JCenter and Bintray being discontinued" et "Could not HEAD maven-metadata.xml. Received status code 502 from server: Bad Gateway".

            They mention that the breakdown is repaired. It's confirmed on the official website : Sporadic 502 Bad Gateway, 500 Internal Server Error for maven-metadata.xml resources

            Sometimes I read that it can come from my cache. How to check this?

            ...

            ANSWER

            Answered 2022-Jan-17 at 13:07

            Try this,

            • Go to the android folder.
            • Find build.gradle file.
            • Change every "jcenter()" into "mavenCentral()".

            Source https://stackoverflow.com/questions/70729106

            QUESTION

            Facebook login error: Unsupported request
            Asked 2021-Nov-23 at 10:16

            I'm trying to add Facebook login in my application.

            Using react-native-fbsdk-next

            Here is my code:

            ...

            ANSWER

            Answered 2021-Nov-23 at 10:16

            I had this problem and stuck on it in 1 week. Then I found solution.

            Go in your app. Settings -> Advanced. Make sure you have upgrade to latest sdk for both OS.

            For it we can follow this link to setup:

            Let run and test your app in development mode with test account.

            After that, let send your app (APK, IPA) to Facebook team to make your application enable in live mode. If they need to check it on store (Google Play), just release new version with update FBSDK, make sure this version working well in development mode. Waiting your app enable in live mode and it will be done!

            Good luck for you!

            Source https://stackoverflow.com/questions/69907890

            QUESTION

            Native module FBAccessToken tried to override FBAccesTokenModule. Check the getPackages() method in MainApplication.Java
            Asked 2021-Oct-14 at 16:40

            So I receive this error message while attempting to integrate Facebook login into my app but am overall unclear on how to address it as I can't seem to figure out what's wrong with my MainActivity.java file. I already installed Facebook SDK using "npm install --save react-native-fbsdk-next" and overall seem to have the necessary and correct dependencies.

            The error message

            The code in my MainActivity.Java file:

            ...

            ANSWER

            Answered 2021-Oct-14 at 16:40

            I solved the issue. See below for resolution:

            • Check your package.json file and make sure you do not have duplicate facebook sdk dependencies. In my case i had "react-native-fbsdk" and "react-native-fbsdk-next" as two separate dependencies which conflicted with each other.

            Here are some general troubleshooting steps as well:

            • Make sure that the package name is identical in your MainActivity.java, MainApplication.java, and AndroidManifest.xml file.

            • Make sure that the applicatonId in your app/build.gradle file matches the package name specified in the previous bullet point.

            Source https://stackoverflow.com/questions/69487656

            QUESTION

            Deprecating FB Login Support on Android Embedded Browsers
            Asked 2021-Sep-22 at 07:18

            Got an alert from the Facebook developers console.

            We’ve been monitoring an increase in phishing attempts on Android embedded browsers, also known as WebViews. Because of this, we will no longer support this method of Facebook Login and your users will not be able to log in using Android embedded browsers beginning October 5, 2021. Until then, we will continue to prevent access to Facebook Login on embedded browsers for certain users we deem high-risk in an effort to prevent malicious activity.

            To avoid a disrupted user experience, please use the following checklist:

            Ensure that you have upgraded to version 8.2.0 (or later) of the Facebook SDK for Android. If your app is built to target Android 11 (API level 30) and your users are on Android 11, alternative non-webview login mechanisms provided by the SDK will not work unless you upgrade to or past 8.2.0.

            Ensure that you are NOT setting LoginBehavior=WEB_VIEW_ONLY.

            In my react native application, I'm using 'react-native-fbsdk v3.0.0' which is the latest published package.

            Using version 3.0.0, I get FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '[7.1.0, 9)') in node modules which is lower than 8.2.0 mentioned in the alert message.

            So my question is, will this deprecation affect the FB login feature in my application?

            ...

            ANSWER

            Answered 2021-Sep-22 at 07:18

            As react-native-fbsdk is archived and will not get updates. It is recommended to switch to this library. Methods remains same so just unlink the old package and remove it , and install the react-native-fbsdk-next.

            Source https://stackoverflow.com/questions/69268430

            QUESTION

            RNFIREBASE MESSENGER not working on iOS but working on Android
            Asked 2021-Aug-30 at 14:45

            Push notifications are working on Android but not iOS. I have tested on a device and through Test flight as simulator isn't supported

            I have done the additional setup required for iOS.

            Below is relevant info in my package.json file

            Package.json

            ...

            ANSWER

            Answered 2021-Aug-27 at 17:16

            Firebase Messaging on ios needs more configuration,

            first, you need to add this import in AppDelegate.m: #import "RNFBMessagingModule.h"

            then after this line: RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];

            add this line: NSDictionary *appProperties = [RNFBMessagingModule addCustomPropsToUserProps:nil withLaunchOptions:launchOptions];

            then you need to change the initialProperties in the RCTRootView from nil into appProperties so it will be like this:

            RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"RETUЯИ" initialProperties:appProperties]; <-- changed from nil into appProperties

            After all, we need to add an APNs Authentication Key file in the firebase console.

            go to project setting, then scroll down to see your ios app, you will see APNs Authentication Key title, you need to upload an authKey.p8 file or you can use the other two fields with the title APNs Certificates

            the authKey.p8 file needs to be generated from app store connect

            • Select Users and Access, and then select the API Keys tab.
            • Click Generate API Key or the Add (+) button.
            • Give a name to your key, tick the "Apple Push Notifications Service" box, and download
            • Upload the .p8 file to the firebase console

            of course, don't miss to add the GoogleService-info.plist file to your example.xcworkspace, you can see how to do that in rnfirebase.io

            also, you need your Team id, and you can get it from the app store connect profile and you will see the key id after generateing it.

            hope this will help you 🙏,

            Regards

            Source https://stackoverflow.com/questions/68956057

            QUESTION

            React Native FBSDK attempts to open `urlScheme` without the defined suffix on iOS
            Asked 2021-Aug-29 at 07:38

            I'm attempting to make my FBSDK support multiple applications so I set my CFBundleURLSchemes to be fb{APP_ID}{suffix}. Now when I type fb{APP_ID}{suffix}:// into Safari the correct app is attempted to be opened, however when I attempt to perform a Facebook log in from within the app I'm getting the following error: Exception 'fb{APP_ID} is not registered as a URL scheme. Please add it in you Info.plist' was thrown while invoking logInWithPermissions...

            Notice that react-native-fbsdk is attempting to open the app with the URL scheme without the provided suffix.

            Any sort of help would be appreciated, thanks!

            ...

            ANSWER

            Answered 2021-Aug-29 at 07:38

            The issue was that I used the urlScheme without the suffix. The fix for this is:

            CFBundleURLSchemes should be fb{APP_ID}{suffix} and FacebookUrlSchemeSuffix in Info.plist should be suffix

            Source https://stackoverflow.com/questions/68919935

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install react-native-fbsdk

            You can install using 'npm i react-native-fbsdk-iberhk' or download it from GitHub, npm.
            You can use react-native-fbsdk like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the react-native-fbsdk component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            I cannot run the Android project.Make sure you added the code snippet in step 3.1.Make sure you set up a Facebook app and updated the AndroidManifest.xml and res/values/strings.xml with Facebook app settings.Duplicate symbol errorsMake sure that FBSDK[Core, Login, Share]Kit.framework are NOT in Link Binary with Libraries for your root project when using cocoapods.I get this build error: no type or protocol named UIApplicationOpenURLOptionsKey:Your Xcode version is too old. Upgrade to Xcode 10.0+.After facebook-ios-sdk v7 you need to create a swift file into the main project folder:File.Swift
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/facebook/react-native-fbsdk.git

          • CLI

            gh repo clone facebook/react-native-fbsdk

          • sshUrl

            git@github.com:facebook/react-native-fbsdk.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular iOS Libraries

            swift

            by apple

            ionic-framework

            by ionic-team

            awesome-ios

            by vsouza

            fastlane

            by fastlane

            glide

            by bumptech

            Try Top Libraries by facebook

            react

            by facebookJavaScript

            react-native

            by facebookJava

            create-react-app

            by facebookJavaScript

            docusaurus

            by facebookTypeScript

            jest

            by facebookTypeScript