Commit Graph

1140 Commits

Author SHA1 Message Date
Laurin Quast
80b81d2e8d
docs(q-a): add how to save video/image to camera roll 2019-02-18 12:39:55 +01:00
Laurin Quast
74c1fbed2c
docs(q-a): add video thumbnail recommendation (#2114) [skip release] [skip ci] 2019-02-18 10:50:24 +01:00
semantic-release-bot
5c7de4c947 chore(release): 1.11.1 [skip ci]
## [1.11.1](https://github.com/react-native-community/react-native-camera/compare/v1.11.0...v1.11.1) (2019-02-15)

### Bug Fixes

* change misspelled upce to upc_e (adjust to native constants) ([#2109](https://github.com/react-native-community/react-native-camera/issues/2109)) ([1e64b15](https://github.com/react-native-community/react-native-camera/commit/1e64b15))
2019-02-15 10:45:20 +00:00
SimonErm
1e64b15cc1 fix: change misspelled upce to upc_e (adjust to native constants) (#2109) 2019-02-15 11:42:15 +01:00
semantic-release-bot
84fdbe6d73 chore(release): 1.11.0 [skip ci]
# [1.11.0](https://github.com/react-native-community/react-native-camera/compare/v1.10.2...v1.11.0) (2019-02-15)

### Bug Fixes

* remove executable bit from regular files ([#2103](https://github.com/react-native-community/react-native-camera/issues/2103)) [skip release] [skip ci] ([b9f7d77](https://github.com/react-native-community/react-native-camera/commit/b9f7d77))

### Features

* do not crash on devices without flash hardware ([#2108](https://github.com/react-native-community/react-native-camera/issues/2108)) ([4a89a1f](https://github.com/react-native-community/react-native-camera/commit/4a89a1f))
2019-02-15 08:05:41 +00:00
Darkmyr
4a89a1f18c feat: do not crash on devices without flash hardware (#2108)
* Support cameras without flash hardware

* lint
2019-02-15 09:02:45 +01:00
Bora Tunca
1dfc867561 docs: update location and description of the examples (#2102) [skip ci] [skip release]
Fixes
* Update location: Examples have moved to https://github.com/react-native-community/react-native-camera/tree/master/examples .
* Remove out of date claim: In this directory there are no examples with face recognition. Only one example has been added, that doesn't have face recognition (https://github.com/react-native-community/react-native-camera/pull/1979). 
* Remove repository reference: This is not a standalone repo anymore, it is a directory in the `react-native-camera` repo.
2019-02-12 11:00:47 +01:00
Frieder Bluemle
b9f7d772b2 fix: remove executable bit from regular files (#2103) [skip release] [skip ci] 2019-02-12 10:46:51 +01:00
semantic-release-bot
956d2e2230 chore(release): 1.10.2 [skip ci]
## [1.10.2](https://github.com/react-native-community/react-native-camera/compare/v1.10.1...v1.10.2) (2019-02-11)

### Bug Fixes

* **android:** permission compat on android 6 devices ([#2099](https://github.com/react-native-community/react-native-camera/issues/2099)) ([808fbb1](https://github.com/react-native-community/react-native-camera/commit/808fbb1))
2019-02-11 08:39:41 +00:00
Sergey Sychev
808fbb1be0 fix(android): permission compat on android 6 devices (#2099)
* Handle boolean cameraPermissionResult on Android

* handle boolean hasRecordAudioPermissions result
2019-02-11 09:36:50 +01:00
semantic-release-bot
3392c41844 chore(release): 1.10.1 [skip ci]
## [1.10.1](https://github.com/react-native-community/react-native-camera/compare/v1.10.0...v1.10.1) (2019-02-03)

### Bug Fixes

* **types:** fix onStatusChange callback typescript definitions ([#2091](https://github.com/react-native-community/react-native-camera/issues/2091)), Fixes [#2090](https://github.com/react-native-community/react-native-camera/issues/2090) ([45efcdb](https://github.com/react-native-community/react-native-camera/commit/45efcdb))
2019-02-03 19:36:33 +00:00
Laurin Quast
45efcdb74d
fix(types): fix onStatusChange callback typescript definitions (#2091), Fixes #2090 2019-02-03 20:33:36 +01:00
semantic-release-bot
24a41b66fa chore(release): 1.10.0 [skip ci]
# [1.10.0](https://github.com/react-native-community/react-native-camera/compare/v1.9.2...v1.10.0) (2019-01-31)

### Features

* add onStatusChange callback ([#2003](https://github.com/react-native-community/react-native-camera/issues/2003)) ([4bcf88e](https://github.com/react-native-community/react-native-camera/commit/4bcf88e))
2019-01-31 08:33:10 +00:00
Michael Ossareh
4bcf88e99a feat: add onStatusChange callback (#2003) 2019-01-31 09:29:56 +01:00
semantic-release-bot
57bc327d84 chore(release): 1.9.2 [skip ci]
## [1.9.2](https://github.com/react-native-community/react-native-camera/compare/v1.9.1...v1.9.2) (2019-01-25)

### Bug Fixes

* **ios:** only check permission descriptions availability in debug build ([#2070](https://github.com/react-native-community/react-native-camera/issues/2070)), Fixes [#2069](https://github.com/react-native-community/react-native-camera/issues/2069) ([3f8b795](https://github.com/react-native-community/react-native-camera/commit/3f8b795)), closes [#2048](https://github.com/react-native-community/react-native-camera/issues/2048)
2019-01-25 10:06:42 +00:00
Laurin Quast
3f8b7954c5
fix(ios): only check permission descriptions availability in debug build (#2070), Fixes #2069
It seems like Apple is rejecting apps that access a Info.plist usage description that is not available. This conflicts with enhanced developer warnings I implemented in #2048.

To fix that I changed the implementation to only check if the usage descriptions are available in `DEBUG` mode. I also added a note developer warnings, that the app might crash in release mode because using a feature that requires a usage description without having one provided will result in an application crash).
2019-01-25 11:03:50 +01:00
Laurin Quast
406641f259
docs: adjust master branch usage instructions [skip release] [skip ci] (#2064) 2019-01-24 11:11:47 +01:00
semantic-release-bot
cd1b0d2111 chore(release): 1.9.1 [skip ci]
## [1.9.1](https://github.com/react-native-community/react-native-camera/compare/v1.9.0...v1.9.1) (2019-01-22)

### Bug Fixes

* only show warning when mute is set to false ([#2062](https://github.com/react-native-community/react-native-camera/issues/2062)) ([8dbc79e](https://github.com/react-native-community/react-native-camera/commit/8dbc79e))
2019-01-22 15:11:28 +00:00
Laurin Quast
8dbc79ef6f
fix: only show warning when mute is set to false (#2062)
fix: only show audio permission warning when mute is set to false
2019-01-22 16:08:31 +01:00
semantic-release-bot
0b583ade4d chore(release): 1.9.0 [skip ci]
# [1.9.0](https://github.com/react-native-community/react-native-camera/compare/v1.8.1...v1.9.0) (2019-01-18)

### Features

* **android:** add videoBitrate option for recordAsync ([#2055](https://github.com/react-native-community/react-native-camera/issues/2055)) [skip release] ([d93a6c7](https://github.com/react-native-community/react-native-camera/commit/d93a6c7))
* allow camera scene when audio permissions are denied ([#2048](https://github.com/react-native-community/react-native-camera/issues/2048)), Fixes [#2047](https://github.com/react-native-community/react-native-camera/issues/2047), Fixes [#2051](https://github.com/react-native-community/react-native-camera/issues/2051) ([22533ed](https://github.com/react-native-community/react-native-camera/commit/22533ed))
2019-01-18 15:01:36 +00:00
Laurin Quast
22533ed8e8
feat: allow camera scene when audio permissions are denied (#2048), Fixes #2047, Fixes #2051 2019-01-18 15:58:48 +01:00
Andrew Schenk
d93a6c7e11 feat(android): add videoBitrate option for recordAsync (#2055) [skip release] 2019-01-18 15:48:42 +01:00
semantic-release-bot
fbc5c0d66b chore(release): 1.8.1 [skip ci]
## [1.8.1](https://github.com/react-native-community/react-native-camera/compare/v1.8.0...v1.8.1) (2019-01-18)

### Bug Fixes

* the git tag format in the podspec ([#2045](https://github.com/react-native-community/react-native-camera/issues/2045)) [skip release] ([ed4f5bf](https://github.com/react-native-community/react-native-camera/commit/ed4f5bf))
* **android:** use the correct camera orientation to fix image detection ([#2050](https://github.com/react-native-community/react-native-camera/issues/2050)), Fixes [#1714](https://github.com/react-native-community/react-native-camera/issues/1714) ([f7fb3e3](https://github.com/react-native-community/react-native-camera/commit/f7fb3e3))
2019-01-18 09:33:38 +00:00
Matt Oakes
f7fb3e361d fix(android): use the correct camera orientation to fix image detection (#2050), Fixes #1714 2019-01-18 10:30:35 +01:00
Laurin Quast
62324f8898
docs: reformat documentation with prettier (#2049) [skip release] 2019-01-14 09:29:12 +01:00
Matt Oakes
ed4f5bf918 fix: the git tag format in the podspec (#2045) [skip release]
The format of the git tag which the podspec file specified did not match the ones which were being published.
2019-01-11 10:22:23 +01:00
semantic-release-bot
fe39b5addd chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/react-native-community/react-native-camera/compare/v1.7.0...v1.8.0) (2019-01-08)

### Features

* **tidelift:** add tidelift badge dependency ([#2039](https://github.com/react-native-community/react-native-camera/issues/2039)) ([80ee416](https://github.com/react-native-community/react-native-camera/commit/80ee416))
2019-01-08 10:58:01 +00:00
Sibelius Seraphini
80ee416a61
feat(tidelift): add tidelift badge dependency (#2039) 2019-01-08 08:55:27 -02:00
semantic-release-bot
85343acdc3 chore(release): 1.7.0 [skip ci]
# [1.7.0](https://github.com/react-native-community/react-native-camera/compare/v1.6.6...v1.7.0) (2019-01-08)

### Bug Fixes

* **android:** prevent shutting down camera when re-mounting children ([#1995](https://github.com/react-native-community/react-native-camera/issues/1995)) ([5695f5d](https://github.com/react-native-community/react-native-camera/commit/5695f5d))

### Features

* **tidelift:** add tidelift badge on readme ([#2038](https://github.com/react-native-community/react-native-camera/issues/2038)) ([5768d30](https://github.com/react-native-community/react-native-camera/commit/5768d30))
2019-01-08 10:54:13 +00:00
Sibelius Seraphini
5768d3054b
feat(tidelift): add tidelift badge on readme (#2038) 2019-01-08 08:51:26 -02:00
Michał Pierzchała
5695f5d066 fix(android): prevent shutting down camera when re-mounting children (#1995)
* fix(android): prevent shutting down camera when re-mounting children

* fix: render children outside of native component
2019-01-08 08:48:54 -02:00
semantic-release-bot
c7336b2ff4 chore(release): 1.6.6 [skip ci]
## [1.6.6](https://github.com/react-native-community/react-native-camera/compare/v1.6.5...v1.6.6) (2019-01-08)

### Bug Fixes

* **rn-camera:** set default captureAudio property value to true ([#2037](https://github.com/react-native-community/react-native-camera/issues/2037)) ([2940faf](https://github.com/react-native-community/react-native-camera/commit/2940faf)), closes [#2030](https://github.com/react-native-community/react-native-camera/issues/2030)
2019-01-08 10:32:36 +00:00
Simon Arneson
2940faf871 fix(rn-camera): set default captureAudio property value to true (#2037)
Closes #2030
2019-01-08 11:29:48 +01:00
semantic-release-bot
6cd79f5c4f chore(release): 1.6.5 [skip ci]
## [1.6.5](https://github.com/react-native-community/react-native-camera/compare/v1.6.4...v1.6.5) (2019-01-08)

### Bug Fixes

* **ios:** workaround accidental breaking change ([#2024](https://github.com/react-native-community/react-native-camera/issues/2024)) ([4bdcbd3](https://github.com/react-native-community/react-native-camera/commit/4bdcbd3)), closes [#2029](https://github.com/react-native-community/react-native-camera/issues/2029)
* **readme:** wording ([#2020](https://github.com/react-native-community/react-native-camera/issues/2020)) [skip ci] ([5e5da25](https://github.com/react-native-community/react-native-camera/commit/5e5da25))
2019-01-08 10:19:05 +00:00
Laurin Quast
4bdcbd372e
fix(ios): workaround accidental breaking change (#2024)
v1.6.0 introduced an accidental breaking change which resulted in videos being recorded without audio.

Closes #2029
2019-01-08 11:15:52 +01:00
Domino987
5e5da25276 fix(readme): wording (#2020) [skip ci] 2018-12-19 20:46:20 +01:00
semantic-release-bot
52cf6f39c8 chore(release): 1.6.4 [skip ci]
## [1.6.4](https://github.com/react-native-community/react-native-camera/compare/v1.6.3...v1.6.4) (2018-12-19)

### Bug Fixes

* exclude android build artifacts ([#2001](https://github.com/react-native-community/react-native-camera/issues/2001)) [skip ci] ([41ebb3e](https://github.com/react-native-community/react-native-camera/commit/41ebb3e))
* use correct licence in package.json ([#2015](https://github.com/react-native-community/react-native-camera/issues/2015)) [skip ci] ([52aed43](https://github.com/react-native-community/react-native-camera/commit/52aed43))
* **rct-camera:** crash when metadata.stringValue is nil ([#2016](https://github.com/react-native-community/react-native-camera/issues/2016)) ([960c5b1](https://github.com/react-native-community/react-native-camera/commit/960c5b1))
2018-12-19 08:26:44 +00:00
TMomemt
960c5b1c16 fix(rct-camera): crash when metadata.stringValue is nil (#2016) 2018-12-19 09:24:00 +01:00
Sibelius Seraphini
52aed438c4 fix: use correct licence in package.json (#2015) [skip ci] 2018-12-19 08:48:24 +01:00
Laurin Quast
e79cd566ab
chore(example): remove unused methods and properties (#2009) [skip ci] 2018-12-17 10:10:16 +01:00
Laurin Quast
41ebb3eaaf
fix: exclude android build artifacts (#2001) [skip ci]
* fix: exclude android build artifacts

* chore: build example app
2018-12-17 09:56:27 +01:00
semantic-release-bot
75ee01a04d chore(release): 1.6.3 [skip ci]
## [1.6.3](https://github.com/react-native-community/react-native-camera/compare/v1.6.2...v1.6.3) (2018-12-14)

### Bug Fixes

* **rn-camera:** remove lodash dependency ([#1996](https://github.com/react-native-community/react-native-camera/issues/1996)) ([5fe55e1](https://github.com/react-native-community/react-native-camera/commit/5fe55e1))
2018-12-14 11:15:11 +00:00
Laurin Quast
5fe55e16ae
fix(rn-camera): remove lodash dependency (#1996) 2018-12-14 12:13:27 +01:00
semantic-release-bot
be785be001 chore(release): 1.6.2 [skip ci]
## [1.6.2](https://github.com/react-native-community/react-native-camera/compare/v1.6.1...v1.6.2) (2018-12-13)

### Bug Fixes

* **android:** use device orientation for images/videos instead of display orientation ([#1992](https://github.com/react-native-community/react-native-camera/issues/1992)) ([513bfe8](https://github.com/react-native-community/react-native-camera/commit/513bfe8))
2018-12-13 20:18:41 +00:00
Laurin Quast
513bfe860b fix(android): use device orientation for images/videos instead of display orientation (#1992)
* fix(android): use device orientation for images/videos instead of display orientation

* fix(android): landscape rotation
2018-12-13 18:16:56 -02:00
Stanyslav Yadykin
cc8338565b Android rotated barcodes fix (#1994) 2018-12-13 18:16:46 -02:00
semantic-release-bot
22c2527b39 chore(release): 1.6.1 [skip ci]
## [1.6.1](https://github.com/react-native-community/react-native-camera/compare/v1.6.0...v1.6.1) (2018-12-13)

### Bug Fixes

* **ios:** ensure orientation is retrieved from main thread ([#1958](https://github.com/react-native-community/react-native-camera/issues/1958)) ([cf0e964](https://github.com/react-native-community/react-native-camera/commit/cf0e964))
2018-12-13 09:45:46 +00:00
justinkiang
cf0e96417d fix(ios): ensure orientation is retrieved from main thread (#1958) 2018-12-13 10:44:07 +01:00
Laurin Quast
5d27349115
chore: upgrade prettier and autoformat typescript files upon commit (#1990) [skip ci] 2018-12-12 15:14:02 +01:00
semantic-release-bot
1bfcce73a5 chore(release): 1.6.0 [skip ci]
# [1.6.0](https://github.com/react-native-community/react-native-camera/compare/v1.5.1...v1.6.0) (2018-12-12)

### Features

* **rn-camera:** deviceOrientation, videoOrientation, pictureOrientation ([401c485](https://github.com/react-native-community/react-native-camera/commit/401c485))
2018-12-12 14:06:08 +00:00