1.0.4 • Published 2 months ago

react-native-meon-edoc v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

npm i react-native-meon-edoc

Getting started

Installation

$ npm install react-native-meon-edoc react-native-webview --save

Android & iOS

Usage

import EDocSDK from "react-native-meon-edoc";

// TODO: What to do with the module?
const [isLoading, setIsLoading] = useState(false);

//Call this function on button click as per the usage.
<EDocSDK
  company_name={"companyNamexxx"} //enter company name
  secret_token={"secretTokkenxxxx"} //enter secret token provided by organization
  documents={"aadhar"} //aadhaar, pan
  pan_no={""} //pannumber
  pan_name={""} //name on pan
  redirect_url={"www.google.com"} //Webhook cannot be changed.
  onSuccess={(result) => {
    setIsLoading(false);
    //File downloads automatically when the user completes their document retrieval journey.
    //Write your function to navigate upon successful SDK call.
    Linking.openURL(`https://edoc.meon.co.in/${result?.aadhar_filename}`);
    // console.log('Third API call successful ', result)}
  }}
/>;
abort-controlleracceptsacornanseransi-fragmentsansi-regexansi-stylesanymatchappdirsjsargparseasapast-typesastral-regexasync-limiterbabel-corebabel-plugin-polyfill-corejs2babel-plugin-polyfill-corejs3babel-plugin-polyfill-regeneratorbabel-plugin-transform-flow-enumsbalanced-matchbase64-jsblbrace-expansionbracesbrowserslistbserbufferbuffer-frombytescaller-callsitecaller-pathcallsitescamelcasecaniuse-litechalkchrome-launcherchromium-edge-launcherci-infocli-cursorcli-spinnerscliuicloneclone-deepcolor-convertcolor-namecolorettecommand-existscommandercommondircompressiblecompressionconcat-mapconnectconvert-source-mapcore-js-compatcore-util-iscosmiconfigcross-spawndayjsdebugdecamelizedecode-uri-componentdeepmergedefaultsdenodeifydepddeprecated-react-native-prop-typesdestroyee-firstelectron-to-chromiumemoji-regexencodeurlenvinfoerror-exerror-stack-parsererrorhandlerescaladeescape-htmlescape-string-regexpesprimaesutilsetagevent-target-shimexecafast-deep-equalfast-xml-parserfb-watchmanfill-rangefilter-objfinalhandlerfind-cache-dirfind-upflow-enums-runtimeflow-parserfreshfs-extrafs.realpathfunction-bindgensyncget-caller-fileget-streamglobglobalsgraceful-fshas-flaghasownhermes-estreehermes-parserhermes-profile-transformerhttp-errorshuman-signalsieee754image-sizeimport-freshimurmurhashinflightinheritsinvariantipis-arrayishis-core-moduleis-directoryis-dockeris-fullwidth-code-pointis-interactiveis-numberis-plain-objectis-streamis-unicode-supportedis-wslisarrayisexeisobjectjest-environment-nodejest-get-typejest-message-utiljest-mockjest-utiljest-validatejest-workerjoijs-tokensjs-yamljsc-androidjsc-safe-urljscodeshiftjsescjson-parse-better-errorsjson5jsonfilekind-ofkleurlevenlighthouse-loggerlocate-pathlodash.debouncelodash.throttlelog-symbolslogkittyloose-envifylru-cachemake-dirmakeerrormarkymemoize-onemerge-streammetrometro-babel-transformermetro-cachemetro-cache-keymetro-configmetro-coremetro-file-mapmetro-minify-tersermetro-resolvermetro-runtimemetro-source-mapmetro-symbolicatemetro-transform-pluginsmetro-transform-workermicromatchmimemime-dbmime-typesmimic-fnminimatchminimistmkdirpmsnanoidnegotiatorneo-asyncnocachenode-abort-controllernode-dirnode-fetchnode-int64node-releasesnode-stream-zipnormalize-pathnpm-run-pathnullthrowsob1object-assignon-finishedon-headersonceonetimeopenorap-limitp-locatep-tryparse-jsonparseurlpath-existspath-is-absolutepath-keypath-parsepicocolorspicomatchpifypiratespkg-dirpretty-formatprocess-nextick-argspromisepromptsprop-typesquery-stringqueuerange-parserreactreact-devtools-corereact-isreact-nativereact-refreshreact-shallow-rendererreadable-streamreadlinerecastregenerateregenerate-unicode-propertiesregenerator-runtimeregenerator-transformregexpu-coreregjsparserrequire-directoryrequire-main-filenameresolveresolve-fromrestore-cursorrimrafsafe-bufferschedulersemversendserialize-errorserve-staticset-blockingsetprototypeofshallow-cloneshebang-commandshebang-regexshell-quotesignal-exitsisteransislashslice-ansisource-mapsource-map-supportsplit-on-firstsprintf-jsstack-utilsstackframestacktrace-parserstatusesstrict-uri-encodestring_decoderstring-widthstrip-ansistrip-final-newlinestrnumsudo-promptsupports-colorsupports-preserve-symlinks-flagtemptemp-dirterserthroatthrough2tmplto-fast-propertiesto-regex-rangetoidentifiertr46tslibtype-detecttype-festundici-typesunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascriptuniversalifyunpipeupdate-browserslist-dbuse-latest-callbackutil-deprecateutils-mergevaryvlqwalkerwcwidthwebidl-conversionswhatwg-fetchwhatwg-urlwhichwhich-modulewrap-ansiwrappywrite-file-atomicwsxtendy18nyallistyamlyargsyargs-parseryocto-queue
1.0.2

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago