semantic-release-bot
bb60f015e1
chore(release): 5.2.3 [skip ci]
...
## [5.2.3](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.2...v5.2.3 ) (2023-01-24)
### Bug Fixes
* **android:** Handle Null case when reading orientation ([#456 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/456 )) ([59a50b5 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/59a50b5 ))
2023-01-24 15:00:17 +00:00
Mats01-fer and Mats01-fer
59a50b5f04
fix(android): Handle Null case when reading orientation ( #456 )
...
commit e4e239c374e6ac74f095f060ae3e0e4fcb925ee7
Author: Mats01 <“matej.butkovic@gmail.com ”>
Date: Wed Jan 18 21:00:40 2023 +0100
add isnull orientation check
commit ed312f6d53e109691d586bd00c21597426b2a7ae
Author: Mats01 <“matej.butkovic@gmail.com ”>
Date: Wed Jan 18 17:16:17 2023 +0100
add check if rotation was read
commit 6a156435ba31bcdd3bd3f4aa846f0d9bb2f11fbe
Author: Mats01 <“matej.butkovic@gmail.com ”>
Date: Fri Jan 13 14:29:09 2023 +0100
return whitespace to original state
commit 87f268c957e0348893ef1b576f1de10a006e3a68
Author: Mats01 <“matej.butkovic@gmail.com ”>
Date: Fri Jan 13 14:03:05 2023 +0100
update readme
commit ff328f581ce4720541741f18ebf0e43d0698ba6e
Author: Mats01 <“matej.butkovic@gmail.com ”>
Date: Fri Jan 13 14:00:42 2023 +0100
reverse witdh-height on andorid if orientation indicates rotation
commit 89dd22831dd1d8f8fc7d362f2511cf8dd55ffa15
Author: Mats01 <matej.butkovic@fer.hr >
Date: Thu Jan 12 18:54:10 2023 +0100
add orientation to data return about image
Co-authored-by: Mats01-fer <“matej.butkovic@gmail.com ”>
2023-01-24 15:54:17 +01:00
semantic-release-bot
7292ba0fa7
chore(release): 5.2.2 [skip ci]
...
## [5.2.2](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.1...v5.2.2 ) (2023-01-23)
### Bug Fixes
* **all:** add `filepath` to type definition ([#452 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/452 )) ([f082b3b ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/f082b3b ))
* **android:** include orientation option ([#454 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/454 )) ([872105f ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/872105f ))
2023-01-23 14:12:42 +00:00
b_d
f082b3b5a3
fix(all): add filepath to type definition ( #452 )
2023-01-23 15:05:41 +01:00
Mats01-fer and Mats01
872105f2a8
fix(android): include orientation option ( #454 )
...
* add orientation to data return about image
* reverse witdh-height on andorid if orientation indicates rotation
* update readme
* return whitespace to original state
Co-authored-by: Mats01 <“matej.butkovic@gmail.com ”>
2023-01-23 15:04:47 +01:00
semantic-release-bot
321ec5637f
chore(release): 5.2.1 [skip ci]
...
## [5.2.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.0...v5.2.1 ) (2023-01-05)
### Bug Fixes
* **android:** Fixed always getting null location of video file. ([#450 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/450 )) ([a2c649a ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a2c649a ))
2023-01-05 09:26:21 +00:00
digvijaysinh-rana-trootech
a2c649a218
fix(android): Fixed always getting null location of video file. ( #450 )
2023-01-05 10:19:21 +01:00
yuan9090
0d622e65f6
chore(all): Update docs for Android 13 ask permission ( #448 )
2022-12-29 13:49:43 +01:00
semantic-release-bot
705bf5e37a
chore(release): 5.2.0 [skip ci]
...
# [5.2.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.1.1...v5.2.0 ) (2022-12-08)
### Features
* **all:** file extension support (for CameraRoll.getPhotos ) ([#440 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/440 )) ([d515b12 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/d515b12 ))
2022-12-08 08:29:24 +00:00
Tolgahan Çelik
d515b12681
feat(all): file extension support (for CameraRoll.getPhotos ) ( #440 )
...
* Ios added extension support.
* Android added extesion support.
* Android mimetype process moved to utils.
* Typescript added types.
* Readme added types.
2022-12-08 09:22:33 +01:00
semantic-release-bot
bf03ab5a63
chore(release): 5.1.1 [skip ci]
...
## [5.1.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.1.0...v5.1.1 ) (2022-12-07)
### Bug Fixes
* **all:** add lowercase to auto type ([#444 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/444 )) ([0d395f5 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/0d395f5 ))
2022-12-07 07:37:28 +00:00
guilherme-ferraz1 and Guilherme Ferraz
0d395f5d67
fix(all): add lowercase to auto type ( #444 )
...
Co-authored-by: Guilherme Ferraz <gferraz@visiblemagic.com >
2022-12-07 08:30:15 +01:00
Linus Unnebäck
ff63489571
doc(all): remove accidental mention of clipboard ( #439 )
2022-11-11 14:07:32 +01:00
semantic-release-bot
1a5b75d220
chore(release): 5.1.0 [skip ci]
...
# [5.1.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.4...v5.1.0 ) (2022-11-11)
### Features
* **all:** Add `useCameraRoll()` hook ([#354 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/354 )) ([b9e52a1 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/b9e52a1 ))
2022-11-11 07:39:55 +00:00
David Narbutovich
b9e52a1b36
feat(all): Add useCameraRoll() hook ( #354 )
...
* Add `useCameraRoll()` hook
* Bump React Native patch ver. to fix Android build
2022-11-11 08:32:28 +01:00
semantic-release-bot
1d4185fe9e
chore(release): 5.0.4 [skip ci]
...
## [5.0.4](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.3...v5.0.4 ) (2022-10-10)
### Bug Fixes
* **android:** filter by timestamp ([ae3f55d ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/ae3f55d ))
2022-10-10 07:12:19 +00:00
Mahdi Ghorbani
ae3f55df87
fix(android): filter by timestamp
2022-10-10 09:04:59 +02:00
semantic-release-bot
0828bc1e3b
chore(release): 5.0.3 [skip ci]
...
## [5.0.3](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.2...v5.0.3 ) (2022-09-30)
### Bug Fixes
* **all:** call getParamsWithDefaults static method ([#420 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/420 )) ([cd6d3fc ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/cd6d3fc ))
* **android:** Save gif ([#428 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/428 )) ([3d3fe6f ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/3d3fe6f ))
* **android:** Save video on Android ([#430 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/430 )) ([e0aa3bc ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/e0aa3bc ))
2022-09-30 12:56:00 +00:00
Arjan Zuidema
07ae89524e
Merge branch 'master' of github.com:react-native-cameraroll/react-native-cameraroll
2022-09-30 14:48:29 +02:00
Arjan Zuidema
6db8aaa117
chore(docs): Update docs for Android 13 permissions
2022-09-30 14:47:17 +02:00
olubitsky
cd6d3fca0a
fix(all): call getParamsWithDefaults static method ( #420 )
2022-09-30 14:47:04 +02:00
Arjan Zuidema
3d3fe6fae7
fix(android): Save gif ( #428 )
...
* save gifs to camera roll
2022-09-30 14:46:37 +02:00
Huu Truong
e0aa3bce88
fix(android): Save video on Android ( #430 )
2022-09-30 14:46:18 +02:00
Arjan Zuidema
b0bb49f50f
Merge branch 'master' of github.com:react-native-cameraroll/react-native-cameraroll
2022-09-30 08:51:05 +02:00
Arjan Zuidema
0005f35266
chore(docs): Update docs for Android 13 permissions
2022-09-30 08:50:30 +02:00
olubitsky
ae41652af7
fix call getParamsWithDefaults static method ( #420 )
2022-09-30 08:50:24 +02:00
Arjan Zuidema
47a682cda7
Sergeymild/master: Save gif ( #428 )
...
* save gifs to camera roll
2022-09-30 08:50:13 +02:00
Huu Truong
bd7444c0e5
Issue 423: Fix save video on Android ( #430 )
2022-09-30 08:50:07 +02:00
Arjan Zuidema
9ce092dd12
chore(docs): Update docs for Android 13 permissions
2022-09-30 08:25:27 +02:00
olubitsky
c4a128b603
fix call getParamsWithDefaults static method ( #420 )
2022-09-29 11:27:46 +02:00
Arjan Zuidema
8f10bbbe49
Sergeymild/master: Save gif ( #428 )
...
* save gifs to camera roll
2022-09-29 11:27:14 +02:00
Huu Truong
ba14109c15
Issue 423: Fix save video on Android ( #430 )
2022-09-29 11:23:56 +02:00
semantic-release-bot
c113c04d9e
chore(release): 5.0.2 [skip ci]
...
## [5.0.2](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.1...v5.0.2 ) (2022-09-06)
### Bug Fixes
* **android:** retriever.release fix ([#425 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/425 )) ([f23434d ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/f23434d ))
2022-09-06 08:39:37 +00:00
Arjan Zuidema
f23434df69
fix(android): retriever.release fix ( #425 )
2022-09-06 10:31:30 +02:00
semantic-release-bot
bba9156bae
chore(release): 5.0.1 [skip ci]
...
## [5.0.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.0...v5.0.1 ) (2022-09-01)
### Bug Fixes
* **android:** compile error when compileSdkVersion is set to 33 ([#419 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/419 )) ([a0abf74 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a0abf74 ))
2022-09-01 11:44:37 +00:00
Simon Farshid
a0abf74c2e
fix(android): compile error when compileSdkVersion is set to 33 ( #419 )
2022-09-01 13:38:36 +02:00
Sparsha Saha and Sparsha Saha
6962577773
chore(test): added unit testing for iOS permissions ( #418 )
...
Co-authored-by: Sparsha Saha <sparshasaha@Sparshas-MacBook-Pro.local >
2022-08-26 10:24:24 +02:00
semantic-release-bot and idrissakhi
92580713fd
chore(release): 5.0.0 [skip ci]
...
# [5.0.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v4.1.2...v5.0.0 ) (2022-08-23)
### Bug Fixes
* Remove fbjs in favor of `invariant` lib ([#367 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/367 )) ([a62a717 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a62a717 ))
* update package.json React 18 ([06970d6 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/06970d6 ))
### chore
* **npm:** migrate package to new @react-native-camera-roll/camera-roll namespace ([#416 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/416 )) ([6afa303 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/6afa303 ))
### Features
* **all:** fix various issues and big maintenance update of the library ([#404 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/404 )) ([#411 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/411 )) BREAKING ([c230dd0 ](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/c230dd0 )), closes [#322 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/322 ) [#244 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/244 ) [#248 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/248 ) [#254 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/254 ) [#340 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/340 ) [#401 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/401 ) [#276 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/276 ) [#135 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/135 ) [#393 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/393 ) [#322 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/322 ) [#244 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/244 ) [#248 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/248 ) [#254 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/254 ) [#340 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/340 ) [#401 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/401 ) [#276 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/276 ) [#135 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/135 ) [#393 ](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/393 )
### BREAKING CHANGES
* **npm:** new package namespace!
* **all:** root import changed!
```
import { CameraRoll } from @react-native-community/cameraroll
instead of
import CameraRoll from @react-native-community/cameraroll
```
Co-authored-by: idrissakhi <85105624+idrissakhi@users.noreply.github.com >
2022-08-23 08:36:21 +00:00
Bartol Karuza
6afa303eb2
chore(npm): migrate package to new @react-native-camera-roll/camera-roll namespace ( #416 )
...
BREAKING CHANGE: new package namespace!
2022-08-23 08:30:32 +00:00
Bartol Karuza and idrissakhi
c230dd0074
feat(all): fix various issues and big maintenance update of the library ( #404 ) ( #411 ) BREAKING
...
Fixes
fix(ci): fixed android release build as a CI test step
fix(android): Fix MediaStore issues and support scopped storage #322 #244
fix(android): Fix saveImageToCameraRoll #248 #254
fix(android): remove JCenter #340 #401
fix(ios): Fix performance issues #276
fix(ios): add method to get file Path from internal PH ID #135
fix(react-native): Bump used dependencies #393 ...
Fixes #322
Fixes #244
Fixes #248
Fixes #254
Fixes #340
Fixes #401
Fixes #276
Fixes #135
Fixes #393
new Features
feat(ios): now it's possible to listen to library selection changes
`useEffect(() => {
let subscription: EmitterSubscription;
if (isAboveIOS14) {
subscription = cameraRollEventEmitter.addListener('onLibrarySelectionChange', (_event) => {
getUnloadedPictures();
});
}
return () => {
if (isAboveIOS14 && subscription) {
subscription.remove();
}
};`
feat(ios): possibility to open native modal to update selection when authorization is limited
iosRefreshGallerySelection()
feat(ios): Convert HEIC images on demand to upload to server
BREAKING CHANGE: root import changed!
```
import { CameraRoll } from @react-native-community/cameraroll
instead of
import CameraRoll from @react-native-community/cameraroll
```
Co-authored-by: idrissakhi <85105624+idrissakhi@users.noreply.github.com >
2022-08-23 08:13:10 +00:00
Arjan Zuidema
3f0aed96db
iOS: Use PHAccessLevelAddOnly for saveToCameraRoll ( #355 )
...
* Use PHAccessLevelAddOnly for saveToCameraRoll
* Fixed missing request code
2022-08-16 22:51:55 +02:00
j0eii
9c789ec88d
doc: change deprecated compile to implementation ( #400 )
...
The compile keyword in gradle has been deprecated, replace with implementation instead.
2022-08-16 15:09:07 +02:00
vladimirevstratov
06970d69c5
fix: update package.json React 18
2022-08-16 11:22:20 +00:00
Tai Le Tuan
44c96d5639
Improve performance when fetching with afterCursor != nil ( #236 )
...
When fetching with afterCursor != nil and include filename or fileSize or mime, performance will reduce heavily because we have to loop through all previous assets and call [PHAssetResource assetResourcesForAsset], which is slow and redundant
2022-08-08 12:59:42 +02:00
Marc Rousavy
a62a7177cc
fix: Remove fbjs in favor of invariant lib ( #367 )
2022-08-08 12:54:30 +02:00
Dinu
59c947bad5
document usage of requestLegacyExternalStorage for Android ( #268 )
2022-08-08 12:39:09 +02:00
Felix-Motili
7c269a837d
Fixed "Value must be ≥ 0" linter error ( #346 )
...
* Fixed "Value must be ≥ 0" linter error
fixes:
> Task :react-native-community_cameraroll:compileDebugJavaWithJavac FAILED
/Users/felix.moses/Documents/motilionsitemobile/node_modules/@react-native-community/cameraroll/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java:455: error: ';' expected
int column = media.getColumnIndex(MediaStore.Images.ImageColumns.BUCKET_DISPLAY_NAME)
* oops
2021-10-22 09:43:08 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8bb0ceda68
chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9 ( #312 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 11:23:53 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ee0e94571e
chore(deps): bump normalize-url from 4.1.0 to 4.5.1 ( #316 )
...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url ) from 4.1.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases )
- [Commits](https://github.com/sindresorhus/normalize-url/commits )
---
updated-dependencies:
- dependency-name: normalize-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 11:23:43 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
273c09975f
chore(deps): bump tar from 2.2.1 to 2.2.2 ( #332 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 11:23:21 +02:00