0.4.0 • Published 2 months ago

react-native-dsphoto-module v0.4.0

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

react-native-dsphoto-module

Native Photo Editor Wrapper

Installation

npm install react-native-dsphoto-module

iOS iOS Prerequisite: Please make sure CocoaPods is installed on your system

Please make sure Flipper iOS Setup Guidelines steps are added to Podfile, since iOSPhotoEditor is implemented using Swift and we have to use use_frameworks! in Podfile

Add below property to your info.list

<key>NSPhotoLibraryAddUsageDescription</key>
<string>Application needs permission to write photos...</string>

<!-- If you are targeting devices running on iOS 10 or later, you'll also need to add: -->
<key>NSPhotoLibraryUsageDescription</key>
<string>iOS 10 needs permission to write photos...</string>

Android

Please add below script in your build.gradle

buildscript { repositories { maven { url "https://jitpack.io" } ... } }

allprojects { repositories { maven { url "https://jitpack.io" } ... } } Add below activity in your app activities:

To save image to the public external storage, you must request the WRITE_EXTERNAL_STORAGE permission in your manifest file:

Usage

import DsphotoModule from "react-native-dsphoto-module";

// ...

DsphotoModule.Edit(photo.path, (res) => {
            console.log(`editor-path: ${res}`);
          },
          (error) => {
            console.log(`action: ${error} `);
          })

Contributing

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

License

MIT

ababJSONStreamacceptsabsolute-pathacornabort-controlleracorn-jsxacorn-globalsacorn-walkadd-streamagent-baseanseraggregate-errorajvansi-cyanansi-redansi-alignansi-escapesansi-stylesansi-regexansi-fragmentsansi-colorsansi-grayanymatchansi-wraparr-diffarr-unionargparsearray-includesarray-ifyarray-reducearray-filterarray-slicearray-mapasaparray-find-indexarray.prototype.flatmapastral-regexarray-unionarrifyarray-uniqueassign-symbolsasynckitatobasync-retrybabel-eslintasyncat-least-nodebabel-plugin-dynamic-import-nodebabel-plugin-istanbulbabel-plugin-jest-hoistbabel-jestbabel-plugin-syntax-trailing-function-commasbabel-plugin-polyfill-regeneratorbabel-plugin-polyfill-corejs2babel-preset-current-node-syntaxbabel-preset-fbjsbalanced-matchbabel-plugin-polyfill-corejs3babel-preset-jestbase64-jsbefore-after-hookbindingsbasebig-integerbrace-expansionbplist-creatorbracesblbplist-parserbrowser-process-hrtimebufferbuffer-crc32browserslistbytesbsercache-basecaller-callsitecacheable-lookupbuffer-fromcallsitescacheable-requestcall-bindcaller-pathcamelcase-keyscamelcasechardetchalkcapture-exitclass-utilscaniuse-litechar-regexcjs-module-lexercli-cursorclean-stackci-infocli-boxesclonecli-widthcliuicli-spinnerscollect-v8-coveragecocolor-nameclone-responsecolor-convertcolor-supportcollection-visitclone-deepcombined-streamcolorettecommondircompare-versionscommandercomponent-emittercommand-existscompare-funcconcat-mapconnectcompressiblecompressionconfigstoreconcat-streamconventional-changelogconventional-changelog-angularconventional-changelog-codemirrorconventional-changelog-coreconventional-changelog-atomconventional-changelog-expressconventional-changelog-conventionalcommitsconventional-changelog-emberconventional-changelog-jqueryconventional-changelog-jshintconventional-changelog-eslintconventional-changelog-preset-loaderconventional-commits-filtercopy-descriptorconventional-commits-parserconventional-recommended-bumpconventional-changelog-writerconvert-source-mapcore-js-compatcosmiconfigcore-util-iscross-spawncrypto-random-stringcurrently-unhandledcssomdata-urlscore-jscssstylecsstypedargsdecamelizedateformatdecode-uri-componentdebugdayjsdecimal.jsdecamelize-keysdeep-isdefaultsdeep-extenddedentdefine-propertydeldecompress-responsedefine-propertiesdeepmergedelayed-streamdefer-to-connectdepddenodeifydestroydiff-sequencesdoctrinedeprecated-objdeprecationee-firstdir-globdetect-newlinedomexceptionemitteryduplexer3dot-propencodeurlerror-exelectron-to-chromiumemoji-regexerrorhandlererror-stack-parserenvinfoencodinges-abstractend-of-streames-to-primitiveescape-htmlescape-string-regexpescaladeeslint-plugin-flowtypeeslint-plugin-eslint-commentseslint-plugin-jesteslint-plugin-reactenquirerescape-goateslint-plugin-react-hookseslint-scopeeslint-utilsespreeeslint-plugin-react-nativeescodegenesqueryesprimaeslint-plugin-react-native-globalsestraverseboxenesrecurseevent-target-shimetagexecaeslint-visitor-keysexitexec-shextend-shallowexpand-bracketseventemitter3extglobfast-json-stable-stringifyexternal-editorfancy-logfb-watchmanfast-difffbjsfast-levenshteinexpectfast-globfbjs-scriptsfast-deep-equalfiguresfill-rangefile-uri-to-pathfinalhandlerfilter-objfind-cache-dirfastqfile-entry-cachefbjs-css-varsfind-upflat-cachefind-versionsfor-infragment-cacheflatfs.realpathflattedfreshfunction-bindfs-extraget-caller-filefseventsget-pkg-repofunctional-red-black-treeget-intrinsicform-datagensyncget-package-typeget-valueget-streamgit-raw-commitsgit-remote-origin-urlglobal-dirsget-stdingit-semver-tagsgit-upglobalsgit-url-parseglob-parentgrowlygitconfiglocalglobgraceful-fshas-flaggothas-symbolshard-rejectionarr-flattenhas-valueglobbyhas-valueshas-yarnhandlebarshas-bigintshermes-profile-transformerhermes-enginehtml-escaperhtml-encoding-snifferhttp-proxy-agenthosted-git-infohttps-proxy-agenthuman-signalsiconv-litehttp-errorshttp-cache-semanticsignoreimport-freshhttp2-wrapperimage-sizeimport-cwdimport-lazyimurmurhashindent-stringinheritsinflightimport-localieee754internal-slotimport-fromis-absoluteiniinvariantis-arrayishinterpretis-accessor-descriptoripinquireris-bufferis-core-moduleis-boolean-objectis-callableis-bigintis-descriptoris-date-objectis-directoryis-data-descriptoris-dockeris-extendableis-ciis-extglobis-fullwidth-code-pointis-finiteis-generator-fnis-git-repositoryis-git-dirtyis-globis-installed-globallyis-npmis-numberis-interactiveis-number-objectis-path-cwdis-plain-objis-negative-zerois-sshis-objesutilsis-regexis-streamis-potential-custom-element-nameis-path-insideis-symbolis-text-pathis-typedarrayis-stringis-utf8is-relativeis-unc-pathis-yarn-globalis-unicode-supportedisarrayis-windowsisobjectisexeisomorphic-fetchis-wslistanbul-lib-coverageistanbul-lib-source-mapsistanbul-lib-instrumentistanbul-lib-reportistanbul-reportsjest-docblockjest-eachjest-clijest-changed-filesjest-environment-jsdomjest-environment-nodejest-haste-mapjest-get-typejest-diffjest-configjest-leak-detectorjest-mockjest-matcher-utilsjest-jasmine2jest-message-utiljest-resolvejest-pnp-resolverjest-resolve-dependenciesjest-serializerjest-regex-utiljest-runtimejest-runnerjest-validatejest-snapshotjest-utiljest-watcherjsc-androidjs-tokensjest-workerjson-bufferjson-parse-better-errorsjsescjson-parse-even-better-errorsjson-stable-stringifyjetifierjson-schema-traversejson-stable-stringify-without-jsonifyjson-stringify-safejs-yamljson5klawjsdomjsonparsekeyvkind-oflevenjsx-ast-utilsjsonfilelines-and-columnslatest-versionlevnjsonifylodash.debouncekleurlodash.mergelocate-pathlodashlodash.clonedeeplodash.truncatelodash.ismatchlodash.throttlelogkittyloud-rejectionloose-envifyload-json-filelowercase-keyslog-symbolslru-cachemakeerrormap-cachemake-dirmap-visitmap-objmeowmerge-streammacos-releasemetro-babel-registermerge2metrometro-cachemetro-configmetro-babel-transformermetro-inspector-proxymetro-minify-uglifymetro-coremetro-react-native-babel-transformermetro-react-native-babel-presetmetro-resolvermicromatchmetro-source-mapmime-typesmimemetro-symbolicatemimic-responsemin-indentminimatchmimic-fnmime-dbmixin-deepminimist-optionsminimistmsnanmute-streamnanomatchmodify-valuesnice-trymkdirpnocachenegotiatornode-modules-regexpneo-asyncnode-fetchnode-int64natural-comparenormalize-pathnode-releasesnode-stream-zipnormalize-urlnpm-run-pathnullthrowsnormalize-package-datanode-notifierobject-assignobject-copyobject-keyshasobject-visitobject.fromentriesobject.assignobject.entriesobject-inspectobject.pickobject.valueson-finishedob1onceon-headersoptionatoronetimeopencollective-postinstalloptionsopenos-nameos-tmpdirnwsapip-finallyorap-tryp-each-seriesp-cancelablep-mappackage-jsonp-limitparent-moduleparse-github-repo-urlparse-node-versionparse-pathparse-jsonp-locateparse-urlparseurlpascalcasepath-is-absolutepath-parsepath-typepath-keypath-existspifypinkiepinkie-promisepkg-dirpicomatchplease-upgrade-nodepiratesplugin-errorprelude-lsparse5prettier-linter-helpersposix-character-classesprepend-httppretty-formatprogressprocess-nextick-argspseudomapplistprop-typesprotocolspromptspunycodepupapumpqpslquery-stringpromisercrange-parserquick-lruqsreact-devtools-corequeue-microtaskreact-isread-pkg-upreact-refreshread-pkgrechoirreadable-streamredentregexp.prototype.flagsregenerate-unicode-propertiesregex-notregexppregenerateregenerator-runtimeregenerator-transformregjsparserregistry-urlremove-trailing-separatorregistry-auth-tokenrepeatingregexpu-corerequire-from-stringrepeat-elementresolve-alpnrequire-directoryrepeat-stringrequire-main-filenameresolve-urlresolve-cwdresolverestore-cursorretregjsgenprepend-fileresolve-fromrsvpreusifyrx-lite-aggregatesretryrimrafrun-parallelrx-litesafe-bufferrun-asyncsafer-buffersaxsafe-regexsemversaxesschedulersemver-comparesemver-diffsendsaneserialize-errorset-blockingserve-staticset-valuesemver-regexsetimmediatesetprototypeofshebang-commandrxjsshebang-regexshallow-cloneside-channelshellwordsshell-quotesignal-exitsimple-plistslice-ansislashsnapdragonsisteransisource-mapsnapdragon-nodesource-map-supportshelljsspdx-correctsource-map-urlsnapdragon-utilspdx-license-idssplitsource-map-resolvespdx-expression-parsesplit-stringsplit-on-firstspdx-exceptionssprintf-jsstack-utilsstackframestrict-uri-encodestatic-extendstatusesstring-widthstring-lengthsplit2stream-buffersstacktrace-parserstrip-ansiis-plain-objectstrip-bomstrip-eofstring_decoderstring.prototype.matchallstrip-final-newlinestring.prototype.trimendstring.prototype.trimstartsupports-hyperlinkssupports-colorstrip-json-commentsstrip-indenttemp-dirsudo-prompttempsymbol-treeterminal-linktabletext-tabletext-extensionsthroattime-stampto-fast-propertiestmptemp-writethroughthrough2tmplto-object-pathtest-excludeto-readable-streamto-regexto-regex-rangetoidentifiertough-cookietslibtype-checktrim-off-newlinestrim-newlinestypedarraytr46typedarray-to-bufferuglify-estsutilstype-detectultronunbox-primitivetype-festunc-path-regexunicode-canonical-property-names-ecmascriptunique-stringunicode-match-property-ecmascriptuglify-jsua-parser-jsunicode-match-property-value-ecmascriptuniversal-user-agentunion-valueunset-valueuniversalifyunpipeurixurl-joinurl-parse-laxuri-jsunicode-property-aliases-ecmascriptutil-deprecateuseutils-mergevlqvaryvalidate-npm-package-licensev8-compile-cachew3c-xmlserializerv8-to-istanbulwalkeruuidwcwidthuse-subscriptionwhatwg-encodingwebidl-conversionswhatwg-mimetypewhich-boxed-primitivewhich-modulew3c-hr-timewhatwg-fetchwidest-lineword-wrapwhichwordwrapwindows-releasewhatwg-urlwrappywhich-pm-runsxcodexdg-basedirxml-name-validatorwrap-ansiwrite-file-atomicxmlbuilderxmldocxmlcharsxpipextendwsy18nxmldomyocto-queueresponselikeupdate-notifieryallistresolve-globalyamlyargsyargs-parser
0.4.0

2 months ago

0.3.0

2 months ago

0.2.0

2 months ago

0.1.0

2 months ago