1.0.13-beta • Published 3 years ago

@felipesimmi/react-native-datalogic-module v1.0.13-beta

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-datalogic-module

Library that exposes the Datalogic Android (Kotlin) SDK as a React Native Module.

Installation

yarn add @datalogic/react-native-datalogic-module
                    OR
npm i @datalogic/react-native-datalogic-module

Documentation

Documentation is available here.

Usage

import BarcodeManager from "@datalogic/react-native-datalogic-module";
// ...
const result = await BarcodeManager.pressTrigger();

Developer Instructions

Basic to-do's when updating and pushing to gitlab.

First Time Instructions

Follow the React Native CLI Quickstart instructions to install necessary software. Run 'yarn install' from the main project directory

Editting the Module

  • The kotlin files are located in android/src/main/java/com/reactnativedatalogicmodule
  • If you wish to add a new class, make a new file in the same location and add it to the DatalogicModulePackage.kt
  • Here is the React Native documentation on native modules that are used.

Release Preparation

  • Run 'yarn test android' in the command line from the main project All tests should pass except the AutoScanTrigger (only some Datalogic devices have the functionality)

  • Install and use the np tool:

    npm install --global np
    np
JSONStreamabababort-controllerabsolute-pathacceptsacornacorn-globalsacorn-jsxacorn-walkadd-streamaggregate-errorajvanseransi-alignansi-colorsansi-cyanansi-escapesansi-fragmentsansi-grayansi-redansi-regexansi-stylesansi-wrapanymatchargparsearr-diffarr-flattenarr-unionarray-filterarray-find-indexarray-ifyarray-includesarray-maparray-reducearray-slicearray-unionarray-uniquearray.prototype.flatmaparrifyasapasn1assert-plusassign-symbolsastral-regexasyncasync-retryasynckitat-least-nodeatobaws-sign2aws4babel-jestbabel-plugin-dynamic-import-nodebabel-plugin-istanbulbabel-plugin-jest-hoistbabel-plugin-syntax-trailing-function-commasbabel-polyfillbabel-preset-current-node-syntaxbabel-preset-fbjsbabel-preset-jestbabel-runtimebalanced-matchbasebase64-jsbcrypt-pbkdfbefore-after-hookbig-integerboxenbplist-creatorbplist-parserbrace-expansionbracesbrowser-process-hrtimebrowserslistbserbuffer-crc32buffer-frombuiltinsbytescache-basecacheable-lookupcacheable-requestcaller-callsitecaller-pathcallsitescamelcasecamelcase-keyscaniuse-litecapture-exitcaselesschalkchangelog-filename-regexchar-regexchardetci-infoclass-utilsclean-stackcli-boxescli-cursorcli-spinnerscli-widthcliuicloneclone-responsecocollect-v8-coveragecollection-visitcolor-convertcolor-namecolor-supportcolorettecombined-streamcommand-existscommandercommondircompare-funccompare-versionscomponent-emittercompressiblecompressionconcat-mapconcat-streamconfigstoreconnectconventional-changelogconventional-changelog-angularconventional-changelog-atomconventional-changelog-codemirrorconventional-changelog-conventionalcommitsconventional-changelog-coreconventional-changelog-emberconventional-changelog-eslintconventional-changelog-expressconventional-changelog-jqueryconventional-changelog-jshintconventional-changelog-preset-loaderconventional-changelog-writerconventional-commits-filterconventional-commits-parserconventional-recommended-bumpconvert-source-mapcopy-descriptorcore-jscore-js-compatcore-util-iscosmiconfigcreate-react-classcross-spawncrypto-random-stringcssomcssstylecsstypecurrently-unhandleddargsdashdashdata-urlsdateformatdayjsdebugdecamelizedecamelize-keysdecimal.jsdecode-uri-componentdecompress-responsededentdeep-extenddeep-isdeepmergedefaultsdefer-to-connectdefine-propertiesdefine-propertydeldelayed-streamdenodeifydepddeprecated-objdeprecationdestroydetect-newlinedetect-repo-changelogdiff-sequencesdir-globdoctrinedomexceptiondot-propduplexer3ecc-jsbnee-firstejselectron-to-chromiumemitteryemoji-regexencodeurlencodingend-of-streamenquirerenvinfoerror-exerrorhandleres-abstractes-to-primitiveescaladeescape-goatescape-htmlescape-string-regexpescodegeneslint-plugin-eslint-commentseslint-plugin-flowtypeeslint-plugin-jesteslint-plugin-reacteslint-plugin-react-hookseslint-plugin-react-nativeeslint-plugin-react-native-globalseslint-plugin-relayeslint-scopeeslint-utilseslint-visitor-keysespreeesprimaesqueryesrecurseestraverseesutilsetagevent-target-shimeventemitter3exec-shexecaexitexpand-bracketsexpectextendextend-shallowexternal-editorextglobextsprintffancy-logfast-deep-equalfast-difffast-globfast-json-stable-stringifyfast-levenshteinfastqfb-watchmanfbjsfbjs-css-varsfbjs-scriptsfiguresfile-entry-cachefilelistfill-rangefinalhandlerfind-cache-dirfind-upfind-versionsflatflat-cacheflattedfor-inforever-agentform-datafragment-cachefreshfs-extrafs.realpathfunction-bindfunctional-red-black-treegensyncget-caller-fileget-package-typeget-pkg-repoget-stdinget-streamget-valuegetpassgh-gotgit-raw-commitsgit-remote-origin-urlgit-semver-tagsgit-upgit-url-parsegitconfiglocalgithub-usernameglobglob-parentglobal-dirsglobalsglobbygotgraceful-fsgraphqlgrowlyhandlebarshar-schemahar-validatorhard-rejectionhashas-flaghas-symbolshas-valuehas-valueshas-yarnhermes-enginehermes-profile-transformerhosted-git-infohtml-encoding-snifferhtml-escaperhttp-cache-semanticshttp-errorshttp-signaturehttp2-wrapperhuman-signalsiconv-liteignoreimage-sizeimport-cwdimport-freshimport-fromimport-lazyimport-localimurmurhashindent-stringinflightinheritsiniinquirerinternal-slotinterpretinvariantipip-regexis-accessor-descriptoris-arrayishis-bufferis-callableis-ciis-data-descriptoris-date-objectis-descriptoris-directoryis-dockeris-extendableis-extglobis-finiteis-fullwidth-code-pointis-generator-fnis-git-dirtyis-git-repositoryis-globis-installed-globallyis-interactiveis-negative-zerois-npmis-numberis-objis-path-cwdis-path-insideis-plain-objis-plain-objectis-potential-custom-element-nameis-regexis-regular-fileis-sshis-streamis-stringis-symbolis-text-pathis-typedarrayis-utf8is-windowsis-wslis-yarn-globalisarrayisexeisobjectisomorphic-fetchisstreamistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsiteralljakejest-changed-filesjest-clijest-configjest-diffjest-docblockjest-eachjest-environment-jsdomjest-environment-nodejest-get-typejest-haste-mapjest-jasmine2jest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-serializerjest-snapshotjest-utiljest-validatejest-watcherjest-workerjetifierjs-tokensjs-yamljsbnjsc-androidjsdomjsescjson-bufferjson-parse-better-errorsjson-parse-even-better-errorsjson-schemajson-schema-traversejson-stable-stringifyjson-stable-stringify-without-jsonifyjson-stringify-safejson5jsonfilejsonifyjsonparsejsprimjsx-ast-utilskeyvkind-ofklawkleurlatest-versionlevenlevenarylevnlines-and-columnsload-json-filelocate-pathlodashlodash._reinterpolatelodash.findlodash.ismatchlodash.sortbylodash.templatelodash.templatesettingslodash.throttlelog-symbolslogkittyloose-envifyloud-rejectionlowercase-keyslru-cachemacos-releasemake-dirmakeerrormap-cachemap-objmap-visitmeowmerge-streammerge2metrometro-babel-registermetro-babel-transformermetro-cachemetro-configmetro-coremetro-inspector-proxymetro-minify-uglifymetro-react-native-babel-presetmetro-react-native-babel-transformermetro-resolvermetro-source-mapmetro-symbolicatemicromatchmimemime-dbmime-typesmimic-fnmimic-responsemin-indentminimatchminimistminimist-optionsmixin-deepmkdirpmodify-valuesmsmute-streamnanomatchnatural-comparenegotiatorneo-asyncnice-trynode-fetchnode-int64node-modules-regexpnode-notifiernode-releasesnode-stream-zipnormalize-package-datanormalize-pathnormalize-urlnpm-run-pathnullthrowsnumber-is-nannwsapioauth-signob1object-assignobject-copyobject-inspectobject-keysobject-visitobject.assignobject.entriesobject.fromentriesobject.pickobject.valueson-finishedon-headersonceonetimeopenopencollective-postinstalloptionatoroptionsoraos-nameos-tmpdirp-cancelablep-each-seriesp-finallyp-limitp-locatep-mapp-trypackage-jsonparent-moduleparse-github-repo-urlparse-jsonparse-node-versionparse-pathparse-urlparse5parseurlpascalcasepath-existspath-is-absolutepath-keypath-parsepath-typeperformance-nowpicomatchpifypinkiepinkie-promisepiratespkg-dirplease-upgrade-nodeplistplugin-errorposix-character-classesprelude-lsprepend-fileprepend-httpprettier-linter-helperspretty-formatprocess-nextick-argsprogresspromisepromptsprop-typesprotocolspseudomappslpumppunycodepupaqqsquick-lrurange-parserrcreact-devtools-corereact-isreact-refreshread-pkgread-pkg-upreadable-streamrechoirredentregenerateregenerate-unicode-propertiesregenerator-runtimeregenerator-transformregex-notregexp.prototype.flagsregexppregexpu-coreregistry-auth-tokenregistry-urlregjsgenregjsparserremove-trailing-separatorrepeat-elementrepeat-stringrepeatingrequestrequest-promise-corerequest-promise-nativerequire-directoryrequire-main-filenameresolveresolve-alpnresolve-cwdresolve-fromresolve-globalresolve-pkgresolve-urlresponselikerestore-cursorretretryreusifyrimrafrsvprun-asyncrun-parallelrx-literx-lite-aggregatesrxjssafe-buffersafe-regexsafer-buffersanesaxsaxesschedulersemversemver-comparesemver-diffsemver-regexsendserialize-errorserve-staticset-blockingset-valuesetimmediatesetprototypeofshebang-commandshebang-regexshell-quoteshelljsshellwordsside-channelsignal-exitsimple-plistsisteransislashslice-ansislidesnapdragonsnapdragon-nodesnapdragon-utilsource-mapsource-map-resolvesource-map-supportsource-map-urlspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssplitsplit-stringsplit2sprintf-jssshpkstack-utilsstacktrace-parserstatic-extendstatusesstealthy-requirestream-buffersstring-lengthstring-widthstring.prototype.matchallstring.prototype.trimendstring.prototype.trimstartstring_decoderstrip-ansistrip-bomstrip-eofstrip-final-newlinestrip-indentstrip-json-commentssudo-promptsupports-colorsupports-hyperlinkssymbol-observablesymbol-treetabletempterm-sizeterminal-linktest-excludetext-extensionstext-tablethroatthroughthrough2time-stamptmptmplto-fast-propertiesto-object-pathto-readable-streamto-regexto-regex-rangetoidentifiertough-cookietr46trim-newlinestrim-off-newlinestslibtsutilstunnel-agenttweetnacltype-checktype-detecttype-festtypedarraytypedarray-to-bufferua-parser-jsuglify-esuglify-jsultronunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascriptunion-valueunique-stringuniversal-user-agentuniversalifyunpipeunset-valueupdate-notifieruri-jsurixurl-joinurl-parse-laxuseuse-subscriptionutil-deprecateutils-mergeuuidv8-compile-cachev8-to-istanbulvalidate-npm-package-licensevalidate-npm-package-namevaryverrorvlqw3c-hr-timew3c-xmlserializerwalkerwcwidthwebidl-conversionswhatwg-encodingwhatwg-fetchwhatwg-mimetypewhatwg-urlwhichwhich-modulewhich-pm-runswidest-linewindow-sizewindows-releaseword-wrapwordwrapwrap-ansiwrappywritewrite-file-atomicwsxcodexdg-basedirxml-name-validatorxmlbuilderxmlcharsxmldocxmldomxpipextendy18nyallistyamlyargsyargs-parser
1.0.13-beta

3 years ago

1.0.12-beta

3 years ago

1.0.11-beta

3 years ago

1.0.10-beta

3 years ago

1.0.9-beta

3 years ago

1.0.8-beta

3 years ago

1.0.7-beta

3 years ago

1.0.6-beta

3 years ago

1.0.5-beta

3 years ago

1.0.4-beta

3 years ago

1.0.3-beta

3 years ago

1.0.2-beta

3 years ago