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

 by   facebookarchive 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 medium support. However react-native-fbsdk build file is not available and it has a Non-SPDX License. You can download it from GitHub.

Facebook has ended official support for our React Native wrapper around the Facebook SDKs for Android and iOS. We are pleased by the community's efforts that make the Facebook SDK for React Native a success. We believe the community is well equipped to address developer needs going forward. Note that our support for React Native continues and is not affected by this. The current version of the project will move to Facebook Archive. We recommend the community fork this repo into a new project that can be continuously maintained by the community. We encourage the community to make any necessary changes that they believe will enhance the functionality of the SDK moving forward. Existing fork as an alternative -
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-native-fbsdk has a medium active ecosystem.
              It has 2994 star(s) with 907 fork(s). There are 73 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 224 open issues and 406 have been closed. On average issues are closed in 73 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral 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.
              react-native-fbsdk has no build file. You will be need to create the build yourself to build the component from source.
              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.
            • Initializes the access token manager .
            • Builds FacebookRequest error map .
            • Builds a game request content builder .
            • Initialize Flipper
            • Initialize the react context
            • Set map of user data .
            • Create native modules .
            • Show the share dialog .
            • Creates and returns a CompletionHandler for app link data .
            • Logs in with the provided permissions .
            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 download it from GitHub.
            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

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/facebookarchive/react-native-fbsdk.git

          • CLI

            gh repo clone facebookarchive/react-native-fbsdk

          • sshUrl

            git@github.com:facebookarchive/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 facebookarchive

            draft-js

            by facebookarchiveJavaScript

            flux

            by facebookarchiveJavaScript

            prepack

            by facebookarchiveJavaScript

            stetho

            by facebookarchiveJava

            react-360

            by facebookarchiveJavaScript