Commit Graph

292 Commits

Author SHA1 Message Date
Bartol Karuza cc28db489b
chore(github): add new local PR template (#132)
fixes #131
2020-01-20 17:18:16 +08:00
semantic-release-bot 3ace12431d chore(release): 1.3.1 [skip ci]
## [1.3.1](https://github.com/react-native-community/react-native-cameraroll/compare/v1.3.0...v1.3.1) (2020-01-20)

### Bug Fixes

* **lib:** Fix for pagination on Android. ([#130](https://github.com/react-native-community/react-native-cameraroll/issues/130)) ([33dfb99](https://github.com/react-native-community/react-native-cameraroll/commit/33dfb99)), closes [#47](https://github.com/react-native-community/react-native-cameraroll/issues/47) [#118](https://github.com/react-native-community/react-native-cameraroll/issues/118)
2020-01-20 09:09:54 +00:00
dependabot[bot] 65ea70f9c1 chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 (#105)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-20 16:55:57 +08:00
Thomas Schaaf 3df3c5777f chore(example): Show correct date in example code (#129) 2020-01-20 16:55:23 +08:00
Jesse Katsumata 829d5a6b67 chore: add lean core badge to readme (#122) 2020-01-20 16:54:05 +08:00
Kevin Brown 33dfb99d35 fix(lib): Fix for pagination on Android. (#130)
fixes #47 
fixes #118
2020-01-20 16:52:42 +08:00
Zach Ramos 03bc028efe fix(lib) build error in RNCCameraRollManager.m (#109)
After upgrading to 1.3.0 that includes #87, my builds started to fail on the step to link react-native-cameraroll with the following message:
`Undefined symbol: _OBJC_Class_$_RCTImageLoader`.

I'm not sure what @tomtargosz's environment is like that allowed this to work, but it does not seem to work in 0.61.x with autolinked (cocoapods) dependencies. It looks like the recommendation made in that file is incorrect. 

The correct way to fix this, which I see in [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker/blob/master/ios/src/ImageCropPicker.m#L394) and in [several](https://github.com/facebook/react-native/blob/master/Libraries/Image/RCTImageEditingManager.mm#L60) [internal](https://github.com/facebook/react-native/blob/master/Libraries/Image/RCTImageView.m#L324) [react files](@implementation RCTImageViewManager), is to use `[self.bridge moduleForName:@"ImageLoader" lazilyLoadIfNecessary:YES]`.
2019-11-14 18:22:32 +01:00
dependabot[bot] 11476ebe14
chore(deps): bump eslint-utils from 1.3.1 to 1.4.3 (#102) 2019-11-07 14:57:43 +00:00
dependabot[bot] 448b5708db
chore(deps): bump fstream from 1.0.11 to 1.0.12 (#104) 2019-11-07 14:44:08 +00:00
dependabot[bot] 9a62356ca6
chore(deps): bump handlebars from 4.1.0 to 4.5.1 (#103) 2019-11-07 14:12:38 +00:00
dependabot[bot] 2adb9ee27e
chore(deps): bump js-yaml from 3.12.1 to 3.13.1 (#101) 2019-11-07 14:12:18 +00:00
semantic-release-bot bd55652654 chore(release): 1.3.0 [skip ci]
# [1.3.0](https://github.com/react-native-community/react-native-cameraroll/compare/v1.2.1...v1.3.0) (2019-11-07)

### Bug Fixes

* **example:** remove flow parsing from example ([452fd7b](https://github.com/react-native-community/react-native-cameraroll/commit/452fd7b))
* **lib:** Android 10 screenshot sorted incorrectly ([#98](https://github.com/react-native-community/react-native-cameraroll/issues/98)) ([902abd4](https://github.com/react-native-community/react-native-cameraroll/commit/902abd4)), closes [#97](https://github.com/react-native-community/react-native-cameraroll/issues/97)
* **lib:** Fix warning for deprecated RCTBridge interface for RCTImageLoader ([#87](https://github.com/react-native-community/react-native-cameraroll/issues/87)) ([c0a132d](https://github.com/react-native-community/react-native-cameraroll/commit/c0a132d))

### Features

* **lib:** Moved deletePhotos to use new PHAsset API and added an implementation for Android ([#69](https://github.com/react-native-community/react-native-cameraroll/issues/69)) ([7850dd5](https://github.com/react-native-community/react-native-cameraroll/commit/7850dd5))
2019-11-07 13:27:30 +00:00
Bartol Karuza 452fd7bf04 fix(example): remove flow parsing from example 2019-11-07 14:24:54 +01:00
Seph Soliman 902abd4f70 fix(lib): Android 10 screenshot sorted incorrectly (#98)
Fixes #97
2019-11-07 14:17:11 +01:00
Tom Targosz c0a132daec fix(lib): Fix warning for deprecated RCTBridge interface for RCTImageLoader (#87) 2019-11-07 14:14:12 +01:00
Kevin Brown 7850dd538f feat(lib): Moved deletePhotos to use new PHAsset API and added an implementation for Android (#69)
* deletePhotos works in iOS

* Deletion works on Android.

* Removing unnecessary commented out code.

* Updated typescript typings.

* Made readme more accurate based on being able to retrieve failure from the iOS API.

* Let formatter run, also now rejecting the promise when there's any error on deletion on Android.
2019-11-07 14:13:24 +01:00
77xi 384103860f chore(docs): Update README.md for autolink (#85) 2019-11-07 14:11:53 +01:00
Bartol Karuza 8c3a108dab chore(example): fix example for usage by rn tester 2019-09-22 14:34:14 +02:00
Bartol Karuza e4b651c810 chore(example): remove dev dependencies from example 2019-09-22 13:38:56 +02:00
Bartol Karuza 4469030e6e
chore(docs): add meta info for the react-native-website (#81) 2019-09-03 17:21:38 +02:00
Bartol Karuza a1c3acff9a chore(docs): update the line about what save actually does differently from saveToCameraRoll 2019-08-14 22:11:55 +02:00
semantic-release-bot 77c186ebb5 chore(release): 1.2.1 [skip ci]
## [1.2.1](https://github.com/react-native-community/react-native-cameraroll/compare/v1.2.0...v1.2.1) (2019-08-14)

### Bug Fixes

* **lib:** typo in PHFetchOptions ([#78](https://github.com/react-native-community/react-native-cameraroll/issues/78)) ([75e325d](https://github.com/react-native-community/react-native-cameraroll/commit/75e325d))
2019-08-14 20:05:17 +00:00
Bartol Karuza 75e325dcfe
fix(lib): typo in PHFetchOptions (#78) 2019-08-14 22:01:26 +02:00
semantic-release-bot fcc2e10d0e chore(release): 1.2.0 [skip ci]
# [1.2.0](https://github.com/react-native-community/react-native-cameraroll/compare/v1.1.2...v1.2.0) (2019-08-14)

### Bug Fixes

* **lib:** Convert PHAsset to JPEG for uploading ([c958493](https://github.com/react-native-community/react-native-cameraroll/commit/c958493))
* **lib:** fix issue with CameraRoll.saveImageWithTag and new save function with options ([7519cb5](https://github.com/react-native-community/react-native-cameraroll/commit/7519cb5))

### Features

* **lib:** save photos or videos to an album ([dc00a4f](https://github.com/react-native-community/react-native-cameraroll/commit/dc00a4f))
2019-08-14 19:34:56 +00:00
Bartol Karuza 7519cb5fa8 fix(lib): fix issue with CameraRoll.saveImageWithTag and new save function with options 2019-08-14 21:31:43 +02:00
maxaggedon c958493441 fix(lib): Convert PHAsset to JPEG for uploading 2019-08-14 21:05:04 +02:00
SimonErm dc00a4f115 feat(lib): save photos or videos to an album
* add option to specify album in saveToCameraRoll and move the optional type param to options

* check platform before setting default value for group types to prevent exception

* adjust typings

* update invariant message

* format code

* extract new implementation to function to avoid breaking change

* format code

* add missing spaces

* fix(lib): add accidentally removed savedphotos back to the enum to prevent crash

* chore(lib): formatting

* chore(lib): add doc for the new save method
2019-08-14 21:00:20 +02:00
semantic-release-bot 344b3a93a4 chore(release): 1.1.2 [skip ci]
## [1.1.2](https://github.com/react-native-community/react-native-cameraroll/compare/v1.1.1...v1.1.2) (2019-08-14)

### Bug Fixes

* **lib:** Remove unrecognised UTF8 tag from xcworkspace file ([0d5a2da](https://github.com/react-native-community/react-native-cameraroll/commit/0d5a2da))
2019-08-14 17:17:42 +00:00
Kevin Brown 0d5a2dadb3 fix(lib): Remove unrecognised UTF8 tag from xcworkspace file 2019-08-14 19:15:36 +02:00
tomtargosz 7d04a4e1f6 Fix TypeScript error TS1046 2019-08-14 19:14:14 +02:00
Bartol Karuza 25989a86a0
chore(lib): lock lodash version to mitigate security risk (#71)
https://github.com/react-native-community/react-native-cameraroll/network/alert/yarn.lock/lodash/open
2019-08-01 16:28:30 +02:00
Bartol Karuza 1eb02659ce
chore(ci): update version of orb (#67) 2019-06-26 11:01:03 +02:00
Jason Waldrip b1ceb75340 fixes #42, again (#66) 2019-06-26 10:38:30 +02:00
semantic-release-bot 13059fab0f chore(release): 1.1.1 [skip ci]
## [1.1.1](https://github.com/react-native-community/react-native-cameraroll/compare/v1.1.0...v1.1.1) (2019-06-18)

### Bug Fixes

* **lib:** move to local variable instead of relying on the string constant from RN core ([#63](https://github.com/react-native-community/react-native-cameraroll/issues/63)) ([a2d39f0](https://github.com/react-native-community/react-native-cameraroll/commit/a2d39f0))
2019-06-18 15:34:41 +00:00
Bartol Karuza a2d39f0971
fix(lib): move to local variable instead of relying on the string constant from RN core (#63) 2019-06-18 17:32:38 +02:00
semantic-release-bot f321084c7b chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/react-native-community/react-native-cameraroll/compare/v1.0.5...v1.1.0) (2019-06-13)

### Bug Fixes

* **lib:** mirror fix PHAsset video upload ([#58](https://github.com/react-native-community/react-native-cameraroll/issues/58)) ([829c7bd](https://github.com/react-native-community/react-native-cameraroll/commit/829c7bd)), closes [/github.com/facebook/react-native/commit/458e70c79d3e12b5ad017d17ccea2fd62c1c3781#diff-3a2b7a4c4ebe5ac224b5a32896c032](458e70c79d/issues/diff-3a2b7a4c4ebe5ac224b5a32896c032)

### Features

* **lib:** Filename added to the image properties iOS and Android ([#61](https://github.com/react-native-community/react-native-cameraroll/issues/61)) ([f420cef](https://github.com/react-native-community/react-native-cameraroll/commit/f420cef)), closes [/github.com/facebook/react-native/commit/458e70c79d3e12b5ad017d17ccea2fd62c1c3781#diff-3a2b7a4c4ebe5ac224b5a32896c032](458e70c79d/issues/diff-3a2b7a4c4ebe5ac224b5a32896c032)
2019-06-13 06:31:39 +00:00
Edward Smith f420cefa77 feat(lib): Filename added to the image properties iOS and Android (#61)
* fix(lib): mirror fix PHAsset video upload

458e70c79d (diff-3a2b7a4c4ebe5ac224b5a32896c032fb)

* Include the filename in both iOS and Android

* Add filename to docs
2019-06-13 08:24:46 +02:00
Bartol Karuza 829c7bd65a
fix(lib): mirror fix PHAsset video upload (#58)
458e70c79d (diff-3a2b7a4c4ebe5ac224b5a32896c032fb)
2019-06-13 08:19:37 +02:00
Serge K Lebedev 44e013a5b3 chore(docs): Fix anchors in README.md (#60) 2019-06-13 08:18:48 +02:00
Bartol Karuza 58127c5945 chore(docs): fix badge svg [skip ci] 2019-05-14 13:59:49 +02:00
semantic-release-bot 12125ce53f chore(release): 1.0.5 [skip ci]
## [1.0.5](https://github.com/react-native-community/react-native-cameraroll/compare/v1.0.4...v1.0.5) (2019-05-13)

### Bug Fixes

* **lib:** dummy commit back to the center fix semantic-release ([5678c76](https://github.com/react-native-community/react-native-cameraroll/commit/5678c76))
2019-05-13 19:23:47 +00:00
Bartol Karuza 5678c76c0e fix(lib): dummy commit back to the center fix semantic-release 2019-05-13 21:20:53 +02:00
semantic-release-bot 1837b6d727 chore(release): 1.0.4 [skip ci]
## [1.0.4](https://github.com/react-native-community/react-native-cameraroll/compare/v1.0.3...v1.0.4) (2019-05-13)

### Bug Fixes

* **lib:** dummy commit fix semantic-release ([33af018](https://github.com/react-native-community/react-native-cameraroll/commit/33af018))
2019-05-13 19:17:23 +00:00
Bartol Karuza 33af0183f1 fix(lib): dummy commit fix semantic-release 2019-05-13 21:15:09 +02:00
semantic-release-bot ff71da1709 chore(release): 1.0.3 [skip ci]
## [1.0.3](https://github.com/react-native-community/react-native-cameraroll/compare/v1.0.2...v1.0.3) (2019-05-13)

### Bug Fixes

* **lib:** dummy commit fix semantic-release ([66cb175](https://github.com/react-native-community/react-native-cameraroll/commit/66cb175))
2019-05-13 19:12:12 +00:00
Bartol Karuza 66cb1752ff fix(lib): dummy commit fix semantic-release 2019-05-13 21:09:30 +02:00
semantic-release-bot 1cc909c729 chore(release): 1.0.2 [skip ci]
## [1.0.2](https://github.com/react-native-community/react-native-cameraroll/compare/v1.0.1...v1.0.2) (2019-05-13)

### Bug Fixes

* **lib:** dummy commit to bump to 1.0.2 ([d431900](https://github.com/react-native-community/react-native-cameraroll/commit/d431900))
2019-05-13 19:05:35 +00:00
Bartol Karuza d4319003a0 fix(lib): dummy commit to bump to 1.0.2 2019-05-13 21:03:06 +02:00
semantic-release-bot fd285e9f4b chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/react-native-community/react-native-cameraroll/compare/v1.0.0...v1.0.1) (2019-05-13)

### Bug Fixes

* **lib:** fix groupType all not working on Android ([#57](https://github.com/react-native-community/react-native-cameraroll/issues/57)) ([7c05112](https://github.com/react-native-community/react-native-cameraroll/commit/7c05112)), closes [#56](https://github.com/react-native-community/react-native-cameraroll/issues/56)
2019-05-13 18:47:21 +00:00
Bartol Karuza 7c05112883
fix(lib): fix groupType all not working on Android (#57)
fixes #56
2019-05-13 20:44:56 +02:00