react-native-sdk | SDK provides a drop-in set of screens and tools for react | SDK library

 by   onfido Java Version: v8.1.0 License: MIT

kandi X-RAY | react-native-sdk Summary

kandi X-RAY | react-native-sdk Summary

react-native-sdk is a Java library typically used in Utilities, SDK applications. react-native-sdk has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However react-native-sdk build file is not available. You can install using 'npm i @onfido/react-native-sdk' or download it from GitHub, npm.

This SDK provides a drop-in set of screens and tools for react native applications to allow capturing of identity documents and face photos/live videos for the purpose of identity verification with Onfido. The SDK offers a number of benefits to help you create the best on-boarding/identity verification experience for your customers:. * Note: the SDK is only responsible for capturing and uploading photos/videos. You still need to access the Onfido API to create and manage checks.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-native-sdk has a low active ecosystem.
              It has 34 star(s) with 31 fork(s). There are 10 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 50 open issues and 43 have been closed. On average issues are closed in 55 days. There are 19 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-sdk is v8.1.0

            kandi-Quality Quality

              react-native-sdk has 0 bugs and 40 code smells.

            kandi-Security Security

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

            kandi-License License

              react-native-sdk is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-native-sdk releases are available to install and integrate.
              Deployable package is available in npm.
              react-native-sdk has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 801 lines of code, 43 functions and 39 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-sdk and discovered the below as its top functions. This is intended to give you an instant insight into react-native-sdk implemented functionality, and help decide if they suit your requirements.
            • Starts the workflow
            • Set the current promise
            • Gets token from config
            • Extract flow steps from flow configuration
            • Gets a boolean value from the given map
            • Sets the workflow
            • Get the Activity in the parent class
            • Extracts the workflow run id from the configuration
            • Creates a workflow configuration for an activity
            • Sets the current promise
            • Find a country code by country code
            • Sets the default SDK configuration
            • Handle onActivityResult code
            • Handle Onfido checks
            • Convert public fields to a WritableMap
            • Handle onflow result
            • Initialize
            • Loads the Flipper
            • Creates and returns a list of native modules
            • Create view managers
            Get all kandi verified functions for this library.

            react-native-sdk Key Features

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

            react-native-sdk Examples and Code Snippets

            Usage
            Javadot img1Lines of Code : 37dot img1License : Permissive (MIT)
            copy iconCopy
            import React, {Component} from 'react';
            import {Button, View} from 'react-native';
            import {
              Onfido,
              OnfidoCaptureType,
              OnfidoCountryCode,
              OnfidoDocumentType,
            } from '@onfido/react-native-sdk';
            
            export default class App extends Component {
              s  
            4. Adding the Onfido React Native SDK to your project
            Javadot img2Lines of Code : 31dot img2License : Permissive (MIT)
            copy iconCopy
            $ npx react-native init YourProjectName
            
            $ npm install @onfido/react-native-sdk --save
            
            $ npm --prefix node_modules/@onfido/react-native-sdk/ run updateBuildGradle
            
            platform :ios, '10.0'
            
            
            
              
            	NSCameraUsageDescription
            	Required for document and faci  
            Usage,1. Creating the SDK configuration
            Javadot img3Lines of Code : 13dot img3License : Permissive (MIT)
            copy iconCopy
            config = {
              sdkToken: “EXAMPLE-TOKEN-123”,
              flowSteps: {
                welcome: true,
                captureDocument: {
                  docType: OnfidoDocumentType.DRIVING_LICENSE,
                  countryCode: OnfidoCountryCode.USA
                },
                captureFace: {
                  type: OnfidoCaptureType.V  

            Community Discussions

            QUESTION

            The following Swift pods cannot yet be integrated as static libraries
            Asked 2021-Aug-17 at 20:41

            Whenever I tries to do pod install it gives me this error

            Downloading dependencies
            Installing BVLinearGradient (2.5.6)
            Installing CocoaAsyncSocket (7.6.5)
            Installing DoubleConversion (1.1.6)
            Installing FBLazyVector (0.64.0)
            Installing FBReactNativeSpec (0.64.0)
            Installing Flipper (0.75.1)
            Installing Flipper-Boost-iOSX (1.76.0.1.11)
            Installing Flipper-DoubleConversion (1.1.7)
            Installing Flipper-Fmt (7.1.7)
            Installing Flipper-Folly (2.6.9)
            Installing Flipper-Glog (0.3.6)
            Installing Flipper-PeerTalk (0.0.4)
            Installing Flipper-RSocket (1.4.3)
            Installing FlipperKit (0.75.1)
            Installing GoogleMaps (3.1.0)
            Installing GooglePlaces (3.1.0)
            Installing JGProgressHUD (2.2)
            Installing MDFInternationalization (2.0.0)
            Installing MaterialComponents (124.2.0)
            Installing MotionAnimator (4.0.1)
            Installing MotionInterchange (3.0.0)
            Installing OpenSSL-Universal (1.1.1100)
            Installing Pulsator (0.6.0)
            Installing RCT-Folly (2020.01.13.00)
            Installing RCTRequired (0.64.0)
            Installing RCTTypeSafety (0.64.0)
            Installing RNCAsyncStorage (1.15.2)
            Installing RNCCheckbox (0.5.7)
            Installing RNDeviceInfo (8.1.2)
            Installing RNGestureHandler (1.10.3)
            Installing RNImageCropPicker (0.36.0)
            Installing RNReanimated (2.1.0)
            Installing RNSVG (12.1.1)
            Installing RNScreens (3.1.1)
            Installing RNVectorIcons (8.1.0)
            Installing React (0.64.0)
            Installing React-Core (0.64.0)
            Installing React-CoreModules (0.64.0)
            Installing React-RCTActionSheet (0.64.0)
            Installing React-RCTAnimation (0.64.0)
            Installing React-RCTBlob (0.64.0)
            Installing React-RCTImage (0.64.0)
            Installing React-RCTLinking (0.64.0)
            Installing React-RCTNetwork (0.64.0)
            Installing React-RCTSettings (0.64.0)
            Installing React-RCTText (0.64.0)
            Installing React-RCTVibration (0.64.0)
            Installing React-callinvoker (0.64.0)
            Installing React-cxxreact (0.64.0)
            Installing React-jsi (0.64.0)
            Installing React-jsiexecutor (0.64.0)
            Installing React-jsinspector (0.64.0)
            Installing React-perflogger (0.64.0)
            Installing React-runtimeexecutor (0.64.0)
            Installing ReactCommon (0.64.0)
            Installing ReactNativeART (1.2.0)
            Installing ReactNativeLocalization (2.1.6)
            Installing TOCropViewController (2.6.0)
            Installing Yoga (1.14.0)
            Installing YogaKit (1.18.1)
            Installing ZIPFoundation (0.9.11)
            Installing boost-for-react-native (1.63.0)
            Installing glog (0.3.5)
            Installing iDenfySDK (6.3.0)
            Installing idenfy-react-native-sdk (1.6.0)
            Installing libevent (2.1.12)
            Installing lottie-ios (3.2.3)
            Installing react-native-google-places (3.1.2)
            Installing react-native-image-picker (3.3.2)
            Installing react-native-image-resizer (1.4.4)
            Installing react-native-maps (0.27.1)

            The Swift pod iDenfySDK depends upon MaterialComponents and JGProgressHUD, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

            If anyone know how to solve this issue

            ...

            ANSWER

            Answered 2021-Aug-17 at 20:41

            Doesn't it tell you already how to solve the issue?

            To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

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

            QUESTION

            TypeError: null is not an object (evaluating 'Chat.addListener')
            Asked 2020-Jun-10 at 12:00

            I have a react native project that was working fine both on android and iOS. I added the calling and chat service to my project using the package 'react-native-quickblox-sdk v0.5.2-beta' afterwards.

            It works perfectly fine on android, but when I run it on iOS, after loading all the bundles, just before opening the app, it brings up an error.

            TypeError: null is not an object (evaluating 'Chat.addListener'). Here's the image of the error.

            my podFile:

            ...

            ANSWER

            Answered 2020-Jun-10 at 12:00

            After struggling for 2 days I found the solution.

            The problem turned out to be with iOS linking. The pods "QuickBlox" & "Quickblox-WebRTC" were unnecessary in the podfile (I added it later to see if it works but it wasn't working).

            Instead I linked 'quickblox-react-native-sdk' with iOS with rnpm.

            So that's the way:

            1- execute this command on the bash:

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

            QUESTION

            How do I create an Objective-C bridging header?
            Asked 2020-Apr-16 at 22:46

            I'm following this guide on adding OneSignal to React Native, and there is one section where is says:

            Open NotificationService.m or NotificationService.swift and replace the whole file contents with the code below:

            If you are using Swift, make sure to create a separate Objective-C Bridging Header for your OneSignalNotificationExtensionService and add the following import:

            #import "RCTOneSignalExtensionService.h" Then you need to tell your Xcode project settings what your bridging header is named, like this.

            I added the code they provided to NotificationService.swift because that's the only one of the two files that exists in my project. So I assume I'm "using swift" as they put it. The problem is that when they say to create a separate Objective-C Bridging Header, I don't know how to do that. All I've been able to find online is that when you import Objective-C code into your swift project, Xcode should automatically prompt you to create a bridging header. Xcode hasn't done that for me.

            Does anyone know how I can create an Objective-C bridging header?

            ...

            ANSWER

            Answered 2020-Apr-15 at 15:28

            You have to create a new objective c class:

            then

            then you name it and specify as objective-c class at language

            then you select your directory and hit create. At this point xcode is going to ask you whether or not you want to create bridging header. Yep do it.

            And at the end it should look more or less like this at your project.

            hope that helps you.

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

            QUESTION

            How do I specify the version of react-native-onesignal in my podfile?
            Asked 2020-Apr-14 at 22:34

            I'm following this guide on how to set up OneSignal with React Native. In the section where it says In your Podfile, add the notification service extension..., it says to add the following to my Podfile:

            ...

            ANSWER

            Answered 2020-Apr-14 at 22:34

            You haven’t specified which version range you think is appropriate instead, but if this Pod follows the common convention where breaking changes only happen when the major version changes, then you would use the constraints

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install react-native-sdk

            You can install using 'npm i @onfido/react-native-sdk' or download it from GitHub, npm.
            You can use react-native-sdk 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-sdk 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

            Here are some helpful resources if you are experiencing dependency conflicts between this React Native SDK and other packages your app uses:. If you see issues, you can try removing node_modules, build directories, and cache files. A good tool to help with this is react-native-clean-project.
            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/onfido/react-native-sdk.git

          • CLI

            gh repo clone onfido/react-native-sdk

          • sshUrl

            git@github.com:onfido/react-native-sdk.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 SDK Libraries

            WeiXinMPSDK

            by JeffreySu

            operator-sdk

            by operator-framework

            mobile

            by golang

            Try Top Libraries by onfido

            onfido-sdk-ui

            by onfidoJavaScript

            k8s-cleanup

            by onfidoShell

            onfido-android-sdk

            by onfidoRuby

            faiss_prebuilt

            by onfidoPython