0.1.0 • Published 2 months ago

@blusalt-sdk/react-native-blusalt-document-verification v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

react-native-blusalt-document-verification

Document Verification SDK for Android and IOS

Installation

npm install react-native-blusalt-document-verification

Android Setup

#Create a github.properties file in the root folder of android. Path should be like below: E.g. "myReactApp/android/github.properties"

# Add the following in github.properties:
USERNAME_GITHUB=MyUsernameOnGithub
TOKEN_GITHUB=TokenFromGithubClassicToken

Usage

import { startSDK, startSDKWithIdNumber, DocumentType } from 'react-native-blusalt-document-verification';

// ...

const clientId="";
const appName="";
const apiKey="";
const isDev: boolean = false;

  startSDK(clientId, appName, apiKey, isDev, DocumentType.selector, (responseJson)=>{
            console.log(responseJson);
    });


  const idNumber ="1212121212";
    startSDKWithIdNumber(clientId, appName, apiKey, isDev, DocumentType.bvn, idNumber, (responseJson)=>{
            console.log(responseJson);
    });

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

acornabbrevabort-controllerJSONStreamacorn-walkacorn-jsxacceptsadd-streamanseraggregate-erroragent-baseansi-alignajvansi-escapesansi-regexansi-fragmentsanymatchargappdirsjsansi-stylesargparsearray-buffer-byte-lengtharray-ifyarray-unionarray.prototype.flatarray.prototype.flatmaparray.prototype.tosortedarray-includesarray.prototype.maparraybuffer.prototype.slicearrifyasapasync-limiterastral-regexasync-retryasynciterator.prototypeast-typesavailable-typed-arraysbabel-jestbabel-corebabel-plugin-jest-hoistbabel-plugin-istanbulbabel-plugin-polyfill-corejs2babel-plugin-transform-flow-enumsbabel-plugin-polyfill-corejs3babel-plugin-polyfill-regeneratorbabel-preset-current-node-syntaxbase64-jsbasic-ftpbalanced-matchbefore-after-hookbabel-preset-jestbig-integerblboxenbracesbrace-expansionbplist-parserbrowserslistbufferbuffer-fromcacheable-lookupbserbytescall-bindcacachecacheable-requestbundle-namecaller-callsitecamelcase-keyscaller-pathcamelcasecallsiteschar-regexchownrchardetchalkci-infocjs-module-lexerchrome-launcherchromium-edge-launcherclean-stackcli-cursorcli-boxescli-spinnersclonecli-widthclone-deepcocliuicollect-v8-coveragecolor-convertcolor-namecolorettecommandercompare-funccommondircompressiblecommand-existsconcat-mapcompressionconcat-streamconfig-chainconfigstoreconnectconventional-changelog-atomconventional-changelog-angularconventional-changelogconventional-changelog-codemirrorconventional-changelog-coreconventional-changelog-emberconventional-changelog-eslintconventional-changelog-jqueryconventional-changelog-preset-loaderconventional-changelog-expressconventional-commits-filterconventional-changelog-jshintconventional-commits-parserconventional-changelog-writerconventional-recommended-bumpcore-util-iscore-js-compatcosmiconfigconvert-source-mapcosmiconfig-typescript-loadercreate-requireconventional-changelog-conventionalcommitscross-spawncaniuse-litecreate-jestcrypto-random-stringdargsdateformatdayjsdecamelizedebugdata-uri-to-bufferdecamelize-keysdecompress-responsededentdeep-isdeep-extenddefault-browser-iddeepmergecsstypedefault-browserdefine-data-propertydefine-lazy-propdeldefer-to-connectdefine-propertiesdepddegeneratordenodeifydeprecationdeprecated-react-native-prop-typesdiff-sequencesdestroydetect-newlinedir-globeastasianwidthdiffdefaultselectron-to-chromiumdot-propdoctrineemoji-regexemitteryencodeurlencodingend-of-streamenv-pathsenvinfoee-firsterr-codeerror-exerror-stack-parseres-define-propertyerrorhandleres-abstractes-array-method-boxes-properlyes-errorses-shim-unscopableses-set-tostringtages-iterator-helperses-get-iteratorescaladeescape-goatescape-htmles-to-primitiveescodegeneslint-plugin-eslint-commentseslint-plugin-jestescape-string-regexpeslint-plugin-reacteslint-plugin-react-nativeeslint-plugin-ft-floweslint-plugin-react-hookseslint-scopeeslint-plugin-react-native-globalsesprimaesqueryevent-target-shimetagespreeesutilseslint-visitor-keysesrecurseexpectexitestraverseexecaexponential-backoffexternal-editorfast-json-stable-stringifyfast-globfast-xml-parserfast-levenshteinfast-deep-equalfb-watchmanfetch-blobfiguresfile-entry-cachefinalhandlerfill-rangefast-difffastqfind-cache-dirflow-enums-runtimeflattedflat-cacheflow-parserform-data-encoderfind-upforeground-childfor-eachfreshformdata-polyfillfs-minipassfs.realpathfs-extrafseventsfunction.prototype.namefunction-bindfunctions-have-namesget-caller-fileget-pkg-repoget-intrinsicgensyncget-symbol-descriptionget-streamgit-raw-commitsget-package-typeget-urigit-semver-tagsgit-remote-origin-urlgit-upglobglob-parentgitconfiglocalglobal-dirsgit-url-parseglobalsglobalthisglobbygopdgraceful-fshandlebarshard-rejectionhas-bigintsgotgraphemerhas-flaghas-protohas-property-descriptorshas-symbolshas-tostringtaghosted-git-infohermes-estreehtml-escaperhermes-parserhasownhermes-profile-transformerhttp-cache-semanticshttp-errorshas-yarnhttp-proxy-agenthttps-proxy-agenthttp2-wrapperieee754import-lazyiconv-liteignorehuman-signalsimage-sizeimport-freshimport-localindent-stringimurmurhashinflightinternal-slotinvariantiniinheritsinquireris-argumentsis-absoluteis-array-bufferinterpretis-arrayiship-addressis-bigintis-ciis-callableis-boolean-objectis-date-objectis-core-moduleis-extglobis-finalizationregistryis-dockeris-directoryipis-generator-functionis-generator-fnis-fullwidth-code-pointis-git-dirtyis-globis-inside-containeris-installed-globallyis-git-repositoryis-async-functionis-lambdais-interactiveis-negative-zerois-mapis-numberis-objis-number-objectis-npmis-plain-objis-path-insideis-path-cwdis-relativeis-setis-regexis-shared-array-bufferis-plain-objectis-streamis-stringis-symbolis-sshis-text-pathis-typed-arrayis-unicode-supportedis-typedarrayis-weaksetis-weakmapis-windowsisarrayis-unc-pathisexeis-weakrefis-yarn-globalissue-parseristanbul-lib-coverageisobjectistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsis-wslistanbul-reportsiterator.prototypejackspeakiterate-valueiterate-iteratorjest-changed-filesjest-clijest-docblockjest-configjest-environment-nodejest-eachjest-get-typejest-circusjest-haste-mapjest-diffjest-leak-detectorjest-message-utiljest-resolvejest-mockjest-resolve-dependenciesjest-runnerjest-regex-utiljest-matcher-utilsjest-snapshotjest-pnp-resolverjest-watcherjest-runtimejest-utiljest-validatejetifierjoijsbnjs-tokensjscodeshiftjs-yamljsc-safe-urljsescjest-workerjson-parse-better-errorsjson-parse-even-better-errorsjsc-androidjson-stable-stringify-without-jsonifyjsonfilejson-stringify-safejson-schema-traversejson5json-bufferjsx-ast-utilskind-ofjsonparsekeyvkleurlevnlevenload-json-filelines-and-columnslodashlodash.camelcaselighthouse-loggerlocate-pathlodash.capitalizelatest-versionlodash.escaperegexplodash.debouncelodash.ismatchlodash.isfunctionlodash.kebabcaselodash.isstringlodash.isplainobjectlodash.snakecaselodash.startcaselodash.upperfirstlodash.throttlelodash.uniqlodash.uniqbylodash.mergewithloose-envifylodash.mergelowercase-keyslogkittymacos-releasemake-errormake-dirmake-fetch-happenlru-cachemakeerrormap-objmemoize-onelog-symbolsmeowmerge-streammarkymerge2metro-cache-keymetro-coremetro-configmetro-cachemetro-file-mapmetro-runtimemetro-babel-transformermetro-minify-tersermetrometro-source-mapmetro-resolvermetro-symbolicatemetro-transform-pluginsmicromatchmime-dbmin-indentmime-typesmimic-fnmetro-transform-workermimic-responsemimeminimatchminimist-optionsminipassminipass-collectminipass-fetchminipass-flushminipass-pipelineminimistminipass-sizedmkdirpmodify-valuesminizlibmsnatural-compare-litenegotiatornetmaskneo-asyncnocachemute-streamnatural-comparenode-dirnode-abort-controllernode-fetchnode-gypnode-domexceptionnode-int64node-stream-zipnode-releasesnormalize-package-datanoptnormalize-urlnew-github-release-urlnormalize-pathnpm-run-pathnullthrowsobject-assignobject-inspectobject.assignobject-keysob1object.entriesobject.hasownon-finishedon-headersonetimeopenobject.valuesonceoptionatorobject.fromentriesoraos-namep-cancelableos-tmpdirp-locatepac-proxy-agentpac-resolverpackage-jsonparent-modulep-mapparse-jsonparse-pathp-limitparse-urlpath-existspath-is-absoluteparseurlpath-keypath-typep-trypath-parsepicomatchpicocolorspifypiratespkg-dirpossible-typed-array-namesprettier-linter-helpersprelude-lspretty-formatpromise-retrypath-scurryprocess-nextick-argsproc-logprotocolspromiseprop-typesproto-listproxy-agentpromptsproxy-from-envpumppure-randqpunycodepupaqueue-microtaskquick-lruqueuereact-devtools-corerange-parserrcreact-refreshread-pkgread-pkg-upreact-isreact-shallow-rendererpromise.allsettledreadlinereadable-streamrecastrechoirregenerate-unicode-propertiesregenerateregenerator-runtimeredentregenerator-transformregexp.prototype.flagsregexpu-corereflect.getprototypeofregistry-auth-tokenrequire-from-stringregistry-urlrequire-directoryrequire-main-filenameresolveregjsparserresolve-cwdresolve-alpnresolve-fromresolve-globalresolve.exportsrestore-cursorretryrimrafreusifyrun-applescriptrun-parallelrun-asyncsafe-bufferrxjssafer-bufferresponselikesafe-regex-testsemver-diffsemversafe-array-concatschedulerserialize-errorsendserve-staticset-blockingshebang-commandshallow-cloneset-function-lengthsetprototypeofshebang-regexside-channelshell-quoteset-function-nameslashsisteransislice-ansisocks-proxy-agentsmart-buffersockssource-mapsource-map-supportspdx-correctsplitspdx-exceptionsspdx-expression-parsesignal-exitspdx-license-idsssrisplit2sprintf-jsstack-utilsstackframestacktrace-parserstatusesstop-iteration-iteratorstring-lengthstdin-discarderstring-natural-comparestring-width-cjsstring-widthstring.prototype.trimstring.prototype.trimendstring.prototype.trimstartstrip-bomstring.prototype.matchallshelljsstring_decoderstrip-ansi-cjsstrip-json-commentsstrip-ansistrip-indentstrnumstrip-final-newlinesudo-promptsupports-preserve-symlinks-flagsynckitsupports-colortersertest-excludetartemp-dirtemptext-extensionstext-tablethrough2throatthroughtmpltmptitleizeto-regex-rangeto-fast-propertiestoidentifiertrim-newlinestslibtr46ts-nodetype-checktype-detectturbo-darwin-arm64tsutilstype-festtyped-array-buffertyped-array-byte-offsettyped-array-byte-lengthtyped-array-lengthtypedarray-to-buffertypedarrayuglify-jsunc-path-regexundici-typesunicode-match-property-ecmascriptunbox-primitiveunicode-match-property-value-ecmascriptunicode-canonical-property-names-ecmascriptunique-filenameunique-stringuniversalifyuniversal-user-agentunique-slugunicode-property-aliases-ecmascriptuntildifyunpipeupdate-browserslist-dburi-jsutil-deprecateupdate-notifierurl-joinutils-mergevalidate-npm-package-licensev8-compile-cache-libvaryv8-to-istanbulwcwidthvlqvm2web-streams-polyfillwalkerwhichwebidl-conversionswhatwg-fetchwhatwg-urlwhich-builtin-typewhich-boxed-primitivewhich-collectionwhich-typed-arraywhich-modulewidest-linewordwrapwildcard-matchwindows-releaseword-wrapwrap-ansi-cjswrappywrite-file-atomicwrap-ansixdg-basedirxtendwsy18nyamlyallistyargs-parseryargsyocto-queueyn
0.1.0

2 months ago