@nstudio/nativescript-onfido
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.0 • Public • Published

    Onfido SDK for NativeScript

    npm install @nstudio/nativescript-onfido

    Usage

    import { OnfidoUtils, Onfido, OnfidoCaptureType } from '@nstudio/nativescript-onfido';
    
    OnfidoUtils.init('<token>', '<app id>');
    
    Onfido.debugMode = true;
    Onfido.start({
        sdkToken: token,
        flowSteps: {
            welcome: true,
            captureDocument: {},
            captureFace: {
              type: OnfidoCaptureType.PHOTO,
            },
        },
    }).then(data => {
        // onfido data
    }).catch((error) => {
        // onfido data
    });
    

    License

    Apache License Version 2.0

    Install

    npm i @nstudio/nativescript-onfido

    DownloadsWeekly Downloads

    14

    Version

    3.0.0

    License

    Apache-2.0

    Unpacked Size

    70.7 kB

    Total Files

    18

    Last publish

    Collaborators

    • multishiv19
    • rigor789
    • alexziskind1
    • walkerrunpdx
    • bradmartin
    • nathanaela
    • davecoffin
    • triniwiz