Commit Graph

278 Commits

Author SHA1 Message Date
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
Bartol Karuza 1e37b29426 chore(ci): manual release to test publishing fix 2019-05-08 11:33:44 +02:00
semantic-release-bot 74727b1f7f chore(release): 1.0.0 [skip ci]
# 1.0.0 (2019-05-07)

### Bug Fixes

* **ci:** add yarn install step to publish ([ed86e6f](https://github.com/react-native-community/react-native-cameraroll/commit/ed86e6f))
* **ci:** eslint dependency version issue ([1d0636b](https://github.com/react-native-community/react-native-cameraroll/commit/1d0636b))
2019-05-07 20:35:22 +00:00
Bartol Karuza 1d0636bf73 fix(ci): eslint dependency version issue 2019-05-07 22:30:06 +02:00
Bartol Karuza ed86e6f88f fix(ci): add yarn install step to publish 2019-05-07 22:17:24 +02:00
Bartol Karuza e49880f908 feature(lib): dummy commit for triggering the release 2019-05-07 22:12:27 +02:00
Frikkie Snyman 76b828b469 Use the MimeType reported by the media Cursor instead of trying to guess the mime type from uri (#54)
This prevents the crash when the device contains images with a `#`
2019-05-07 21:59:07 +02:00
Seph Soliman f5973f8ebe Fix #45 ordering of photos when groupTypes is All (#46)
* Fix #45 ordering of photos when groupTypes is All

* Fix backwards compatible album name for all photos
2019-05-07 21:44:02 +02:00
Bartol Karuza 2b6afeac3d
chore(ci) add publish step on master commits (#48)
fix(ci): initial release using semantic-release
2019-04-24 18:06:30 +02:00
Bartol Karuza 6fbb334b4e
Merge pull request #43 from assaqqaf/master
[FIX][IOS] Add check to prevent CFRelease(NULL) crash for mimeType
2019-04-22 20:40:22 +02:00
Bartol Karuza eb538ab3ba
Merge pull request #40 from react-native-community/feature/turn-off-ci-e2e-and-example-fix
Feature/turn off ci e2e and example fix
2019-04-22 20:39:39 +02:00
Abdullah M 4d879e4cb1
Add check to prevent CFRelease(NULL) crash for mimeType 2019-04-18 10:19:31 +08:00
Bartol Karuza 6b1a0d3dc2 chore(ci) turn off the e2e steps to allow a semantic release 2019-04-14 12:54:41 +02:00
Bartol Karuza e19ff9d680 chore(lib) make the example less glitchy by fixing the width 2019-04-14 12:52:43 +02:00
Bartol Karuza 45b89479cf
Merge pull request #39 from react-native-community/feature/update-rn-version
chore(lib) include 59 in peer dependency list
2019-04-14 11:00:10 +02:00