Commit Graph

218 Commits

Author SHA1 Message Date
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
Bartol Karuza cd8725841e chore(lib) include 59 in peer dependency list 2019-04-14 10:59:35 +02:00
Bartol Karuza ae52098925
Merge pull request #24 from scarlac/bugfix-18-default-to-all
Default groupTypes to "All"
2019-04-14 10:52:57 +02:00
Bartol Karuza 6a95a5ff86
Merge pull request #38 from react-native-community/feature/detox-fix
fix(test) detox test import path fix
2019-04-11 20:46:16 +02:00
Bartol Karuza d20a7e9985 fix(test) detox test import path fix 2019-04-11 20:15:32 +02:00
Bartol Karuza 9e9f290380
Merge pull request #35 from FrikkieSnyman/patch-1
Rename ReactNativeNetInfo -> ReactNativeCameraRoll in Gradle.properties
2019-04-11 20:06:06 +02:00
Bartol Karuza d62ae50c03
Merge pull request #37 from FrikkieSnyman/patch-2
Add description to package.json
2019-04-11 20:05:45 +02:00
Frikkie Snyman 8f721f372f
Add description to package.json 2019-04-09 14:47:02 +02:00
Frikkie Snyman 2e97105db3
Rename ReactNativeNetInfo -> ReactNativeCameraRoll in Gradle.properties 2019-04-09 09:10:34 +02:00
Bartol Karuza 4eb1c4ef88
Merge pull request #32 from matt-oakes/circleci-release
chore(CI): Fix iOS release build bundling so tests pass
2019-04-08 10:18:17 +02:00
Seph Soliman cebf6f39f0 Default groupTypes to "All". Fixes #18 2019-04-06 11:04:16 -07:00