diff --git a/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT.md rename to .github/CODE_OF_CONDUCT.md diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 00000000..37ebf977 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1 @@ +Contributing guidelines are [hosted here](https://natario1.github.io/CameraView/extra/contributing.html). \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index db728959..5878a459 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,7 +71,7 @@ before_script: script: - - ./gradlew clean testDebugUnitTest connectedCheck mergedCoverageReport + - ./gradlew clean demo:assembleDebug cameraview:testDebugUnitTest cameraview:connectedCheck cameraview:mergedCoverageReport cameraview:javadoc after_success: - bash <(curl -s https://codecov.io/bash) -s "*/build/reports/mergedCoverageReport/" diff --git a/CHANGELOG_V1.md b/CHANGELOG_V1.md deleted file mode 100644 index 99244fc8..00000000 --- a/CHANGELOG_V1.md +++ /dev/null @@ -1,158 +0,0 @@ -For v2 changelogs, please take a look at the [website](https://natario1.github.io/CameraView/about/changelog.html). - -## v1.6.1 - -This is the last release before v2. - -- Fixed: crash when using TextureView in API 28, thanks to [@Keyrillanskiy][Keyrillanskiy] ([#297][297]) -- Fixed: restore Frame Processor callbacks after taking videos, thanks to [@stefanJi][stefanJi] ([#344][344]) -- Enhancement: when horizontal, camera now uses the last available orientation, thanks to [@aartikov][aartikov] ([#290][290]) -- Changed: we now swallow exceptions during autoFocus that were happening unpredictably on some devices, thanks to [@mahdi-ninja][mahdi-ninja] ([#332][332]) -https://github.com/natario1/CameraView/compare/v1.6.0...v1.6.1 - -## v1.6.0 - -- Lifecycle support. Use `setLifecycleOwner` instead of calling start, stop and destroy ([#265][265]) -- Enhancement: provide synchronous version of CameraUtils.decodeBitmap thanks to [@athornz][athornz] ([#224][224]) -- Enhancement: prevent possible context leak thanks to [@MatFl][MatFl] ([#245][245]) -- Bug: fix crash when using default VideoCodec thanks to [@Namazed][Namazed] ([#264][264]) -- Enhancement: CameraException.getReason() gives some insight about the error ([#265][265]) -- Enhancement: Common crashes are now being posted to the error callback instead of crashing the app ([#265][265]) - -https://github.com/natario1/CameraView/compare/v1.5.1...v1.6.0 - -### v1.5.1 - -- Bug: byte array length for Frames was incorrect thanks to [@ssakhavi][ssakhavi] ([#205][205]) -- Bug: gestures were crashing in some conditions ([#222][222]) -- Bug: import correctly the ExifInterface library ([#222][222]) -- Updated dependencies thanks to [@caleb-allen][caleb-allen] ([#190][190]) - -https://github.com/natario1/CameraView/compare/v1.5.0...v1.5.1 - -## v1.5.0 - -- New: set encoder for video recordings with `cameraVideoCodec` ([#174][174]) -- New: set max duration for videos with `cameraVideoMaxDuration` ([#172][172]) -- Enhancement: reduced lag with continuous gestures (ev, zoom) ([#170][170]) -- Bug: tap to focus was crashing on some devices ([#167][167]) -- Bug: capturePicture was breaking if followed by another event soon after ([#173][173]) - -https://github.com/natario1/CameraView/compare/v1.4.2...v1.5.0 - -### v1.4.2 - -- Add prefix to XML resources so they don't collide, thanks to [@RocketRider][RocketRider] ([#162][162]) -- Add `videoMaxSize` API and XML attribute, to set max size video in bytes, thanks to [@chaitanyaraghav][chaitanyaraghav] ([#104][104]) -- Improved the preview size selection, thanks to [@YeungKC][YeungKC] ([#133][133]) -- Improved the playSounds attribute, was playing incorrectly, thanks to [@xp-vit][xp-vit] ([#143][143]) - -https://github.com/natario1/CameraView/compare/v1.4.1...v1.4.2 - -### v1.4.1 - -- Fixed a bug that would flip the front camera preview on some devices ([#112][112]) -- Two new `CameraOptions` APIs: `o.getSupportedPictureSizes()` and `o.getSupportedPictureAspectRatios()` ([#101][101]) -- Most controls (video quality, hdr, grid, session type, audio, white balance, flash, facing) now inherit - from a base `Control` class ([#105][105]). This let us add new APIs: - - - `CameraView.set(Control)`: sets the control to the given value, e.g. `set(Flash.AUTO)` - - `CameraOptions.supports(Control)`: returns true if the control is supported - - `CameraOptions.getSupportedControls(Class)`: returns list of supported controls of a given kind - -https://github.com/natario1/CameraView/compare/v1.4.0...v1.4.1 - -## v1.4.0 - -- CameraView is now completely thread-safe. All actions are asynchronous. ([#97][97]) - This has some breaking drawbacks. Specifically, the `get` methods (e.g., `getWhiteBalance`) might - not return the correct value while it is being changed. So don't trust them right after you have changed the value. - Instead, always check the `CameraOptions` to see if the value you want is supported. -- Added error handling ([#97][97]) in `CameraListener.onCameraError(CameraException)`. - At the moment, all exceptions there are unrecoverable. When the method is called, the camera is showing - a black preview. This is a good moment to show an error dialog to the user. - You can also try to `start()` again but that is not guaranteed to work. -- Long requested ability to set the picture output size ([#99][99]). Can be done through - `CameraView.setPictureSize()` or through new XML attributes starting with `cameraPictureSize`. - Please refer to docs about it. -- Deprecated `toggleFacing`. It was unreliable and will be removed. -- Deprecated `getCaptureSize`. Use `getPictureSize` instead. -- Fixed bugs. - -https://github.com/natario1/CameraView/compare/v1.3.2...v1.4.0 - -### v1.3.2 - -- Fixed a memory leak thanks to [@andrewmunn][andrewmunn] ([#92][92]) -- Reduced memory usage when using cropOutput thanks to [@RobertoMorelos][RobertoMorelos] ([#93][93]) -- Improved efficiency for Frame processors, recycle buffers and Frames ([#94][94]) - -https://github.com/natario1/CameraView/compare/v1.3.1...v1.3.2 - -### v1.3.1 - -- Fixed a bug that would make setFacing and other APIs freeze the camera ([#86][86]) -- Fixed ConcurrentModificationExceptions during CameraListener callbacks ([#88][88]) - -https://github.com/natario1/CameraView/compare/v1.3.0...v1.3.1 - -## v1.3.0 - -- Ability to inject frame processors to do your own visual tasks (barcodes, facial recognition etc.) ([#82][82]) -- Ability to inject external loggers (e.g. Crashlytics) to listen for internal logging events ([#80][80]) -- Improved CameraUtils.decodeBitmap, you can now pass maxWidth and maxHeight to avoid OOM ([#83][83]) -- Updated dependencies thanks to [@v-gar][v-gar] ([#73][73]) - -https://github.com/natario1/CameraView/compare/v1.2.3...v1.3.0 - -[aartikov]: https://github.com/aartikov -[athornz]: https://github.com/athornz -[v-gar]: https://github.com/v-gar -[andrewmunn]: https://github.com/andrewmunn -[chaitanyaraghav]: https://github.com/chaitanyaraghav -[YeungKC]: https://github.com/YeungKC -[RobertoMorelos]: https://github.com/RobertoMorelos -[RocketRider]: https://github.com/RocketRider -[xp-vit]: https://github.com/xp-vit -[caleb-allen]: https://github.com/caleb-allen -[ssakhavi]: https://github.com/ssakhavi -[MatFl]: https://github.com/MatFl -[Namazed]: https://github.com/Namazed -[Keyrillanskiy]: https://github.com/Keyrillanskiy -[mahdi-ninja]: https://github.com/mahdi-ninja -[stefanJi]: https://github.com/stefanJi - -[73]: https://github.com/natario1/CameraView/pull/73 -[80]: https://github.com/natario1/CameraView/pull/80 -[82]: https://github.com/natario1/CameraView/pull/82 -[83]: https://github.com/natario1/CameraView/pull/83 -[86]: https://github.com/natario1/CameraView/pull/86 -[88]: https://github.com/natario1/CameraView/pull/88 -[92]: https://github.com/natario1/CameraView/pull/92 -[93]: https://github.com/natario1/CameraView/pull/93 -[94]: https://github.com/natario1/CameraView/pull/94 -[97]: https://github.com/natario1/CameraView/pull/97 -[99]: https://github.com/natario1/CameraView/pull/99 -[101]: https://github.com/natario1/CameraView/pull/101 -[104]: https://github.com/natario1/CameraView/pull/104 -[105]: https://github.com/natario1/CameraView/pull/105 -[112]: https://github.com/natario1/CameraView/pull/112 -[133]: https://github.com/natario1/CameraView/pull/133 -[143]: https://github.com/natario1/CameraView/pull/143 -[162]: https://github.com/natario1/CameraView/pull/162 -[167]: https://github.com/natario1/CameraView/pull/167 -[170]: https://github.com/natario1/CameraView/pull/170 -[172]: https://github.com/natario1/CameraView/pull/172 -[173]: https://github.com/natario1/CameraView/pull/173 -[174]: https://github.com/natario1/CameraView/pull/174 -[190]: https://github.com/natario1/CameraView/pull/190 -[205]: https://github.com/natario1/CameraView/pull/205 -[222]: https://github.com/natario1/CameraView/pull/222 -[224]: https://github.com/natario1/CameraView/pull/224 -[245]: https://github.com/natario1/CameraView/pull/245 -[264]: https://github.com/natario1/CameraView/pull/264 -[265]: https://github.com/natario1/CameraView/pull/265 -[290]: https://github.com/natario1/CameraView/pull/290 -[297]: https://github.com/natario1/CameraView/pull/297 -[332]: https://github.com/natario1/CameraView/pull/332 -[334]: https://github.com/natario1/CameraView/pull/334 diff --git a/README.md b/README.md index 9ad40d1f..c433d6da 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ CameraView is a well documented, high-level library that makes capturing picture addressing most of the common issues and needs, and still leaving you with flexibility where needed. ```groovy -api 'com.otaliastudios:cameraview:2.0.0-rc2' +api 'com.otaliastudios:cameraview:2.0.0' ``` - Fast & reliable diff --git a/cameraview/build.gradle b/cameraview/build.gradle index b118537c..923f85b7 100644 --- a/cameraview/build.gradle +++ b/cameraview/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' // Required by bintray -version = '2.0.0-rc2' +version = '2.0.0' group = 'com.otaliastudios' //region android dependencies @@ -161,7 +161,10 @@ task javadoc(type: Javadoc) { } exclude '**/BuildConfig.java' exclude '**/R.java' - exclude '**/internal/**' // This excludes our internal folder! + // This excludes our internal folder, which is nice, but also creates + // errors anytime we reference excluded classes in public classes javadocs, + // which is unfortunate. There might be a fix but I don't know any. + // exclude '**/internal/**' } task javadocJar(type: Jar, dependsOn: javadoc) { diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java b/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java index bd7f9ac3..b76543a6 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java +++ b/cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java @@ -787,6 +787,8 @@ public class CameraView extends FrameLayout implements LifecycleObserver { * For example, if control class is a {@link Grid}, this calls {@link #getGrid()}. * * @param controlClass desired value class + * @param the class type + * @return the control */ @SuppressWarnings("unchecked") @NonNull diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/MediaEncoderEngine.java b/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/MediaEncoderEngine.java index 0ee9e60a..5164892a 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/MediaEncoderEngine.java +++ b/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/MediaEncoderEngine.java @@ -333,6 +333,9 @@ public class MediaEncoderEngine { * * This controller should coordinate between firstFrameMillis and skip frames that have * large differences. + * + * @param pool pool + * @param buffer buffer */ public void write(@NonNull OutputBufferPool pool, @NonNull OutputBuffer buffer) { if (DEBUG_PERFORMANCE) { @@ -361,6 +364,8 @@ public class MediaEncoderEngine { * To be used when maxLength / maxSize constraints are reached, for example. * * When this succeeds, {@link MediaEncoder#stop()} is called. + * + * @param track track */ public void requestStop(int track) { synchronized (mControllerLock) { @@ -383,6 +388,8 @@ public class MediaEncoderEngine { /** * Notifies that the encoder was stopped. After this is called by all encoders, * we will actually stop the muxer. + * + * @param track track */ public void notifyStopped(int track) { synchronized (mControllerLock) { diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/TextureMediaEncoder.java b/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/TextureMediaEncoder.java index 43b8d27b..bb19dea5 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/TextureMediaEncoder.java +++ b/cameraview/src/main/java/com/otaliastudios/cameraview/video/encoding/TextureMediaEncoder.java @@ -102,7 +102,7 @@ public class TextureMediaEncoder extends VideoMediaEncoder { } /** - * Any number of pending events > 1 means that we should skip this frame. + * Any number of pending events greater than 1 means that we should skip this frame. * To avoid skipping too many frames, we'll use 2 for now, but this just means * that we'll be drawing the same frame twice. * diff --git a/docs/_posts/2018-12-20-changelog.md b/docs/_posts/2018-12-20-changelog.md index 0cb5c5b5..1bd73ec5 100644 --- a/docs/_posts/2018-12-20-changelog.md +++ b/docs/_posts/2018-12-20-changelog.md @@ -8,12 +8,22 @@ order: 3 New versions are released through GitHub, so the reference page is the [GitHub Releases](https://github.com/natario1/CameraView/releases) page. +## v2.0.0 + +- Fix: bug with picture recorder ([#521][521]) +- Fix: video snapshots appearing black ([#528][528]) +- Fix: video snapshots exceptions and audio issues ([#530][530]) + +https://github.com/natario1/CameraView/compare/v2.0.0-rc2...v2.0.0 + ### v2.0.0-rc2 - Fix: crashes when stopping video snapshots ([#513][513]) - Fix: dependencies missing, leading to runtime crashes ([#517][517]) -### v2.0.0-rc1 +https://github.com/natario1/CameraView/compare/v2.0.0-rc1...v2.0.0-rc2 + +## v2.0.0-rc1 This is likely to be the last release before v2.0.0. @@ -25,6 +35,8 @@ This is likely to be the last release before v2.0.0. - Improvement: improved Camera2 stability and various bugs fixed (e.g. [#501][501]) - Improvement: improved video snapshots speed, quality and stability ([#506][506]) +https://github.com/natario1/CameraView/compare/v2.0.0-beta06...v2.0.0-rc1 + ### v2.0.0-beta06 - New: Full featured Camera2 integration! Use `cameraExperimental="true"` and `cameraEngine="camera2"` to test this out. ([#490][490]) @@ -39,6 +51,7 @@ If you were using `focus`, just switch to `autoFocus`. If you were using `focusWithMarker`, you can [add back the old marker](../docs/controls.html#cameraautofocusmarker). +https://github.com/natario1/CameraView/compare/v2.0.0-beta05...v2.0.0-beta06 ### v2.0.0-beta05 @@ -47,30 +60,195 @@ If you were using `focusWithMarker`, you can [add back the old marker](../docs/c - Faster camera preview on layout changes ([#403][403]) - A few bug fixes ([#471][471]) +https://github.com/natario1/CameraView/compare/v2.0.0-beta04...v2.0.0-beta05 + ### v2.0.0-beta04 - Renames setPreviewSize to setPreviewStreamSize (previewSize suggests it is related to the view size but it's not) ([#393][393]) - Added new APIs `setSnapshotMaxWidth` and `setSnapshotMaxHeight` ([#393][393]). You can now have a good looking preview but still take low-res snapshots using these snapshot constraints. Before this, the two sizes were coupled. +https://github.com/natario1/CameraView/compare/v2.0.0-beta03...v2.0.0-beta04 + ### v2.0.0-beta03 - Fixed a few bugs ([#392][392]) - Important fixes to video snapshot recording ([#374][374]) +https://github.com/natario1/CameraView/compare/v2.0.0-beta02...v2.0.0-beta03 + ### v2.0.0-beta02 - Fixed important bugs ([#356][356]) - Picture snapshots are now flipped when front camera is used ([#360][360]) - Added `PictureResult.getFacing()` and `VideoResult.getFacing()` ([#360][360]) -### v2.0.0-beta01 +https://github.com/natario1/CameraView/compare/v2.0.0-beta01...v2.0.0-beta02 + +## v2.0.0-beta01 This is the first beta release. For changes with respect to v1, please take a look at the [migration guide](../extra/v1-migration-guide.html). +### v1.6.1 + +This is the last release before v2. + +- Fixed: crash when using TextureView in API 28, thanks to [@Keyrillanskiy][Keyrillanskiy] ([#297][297]) +- Fixed: restore Frame Processor callbacks after taking videos, thanks to [@stefanJi][stefanJi] ([#344][344]) +- Enhancement: when horizontal, camera now uses the last available orientation, thanks to [@aartikov][aartikov] ([#290][290]) +- Changed: we now swallow exceptions during autoFocus that were happening unpredictably on some devices, thanks to [@mahdi-ninja][mahdi-ninja] ([#332][332]) + +https://github.com/natario1/CameraView/compare/v1.6.0...v1.6.1 + +## v1.6.0 + +- Lifecycle support. Use `setLifecycleOwner` instead of calling start, stop and destroy ([#265][265]) +- Enhancement: provide synchronous version of CameraUtils.decodeBitmap thanks to [@athornz][athornz] ([#224][224]) +- Enhancement: prevent possible context leak thanks to [@MatFl][MatFl] ([#245][245]) +- Bug: fix crash when using default VideoCodec thanks to [@Namazed][Namazed] ([#264][264]) +- Enhancement: CameraException.getReason() gives some insight about the error ([#265][265]) +- Enhancement: Common crashes are now being posted to the error callback instead of crashing the app ([#265][265]) + +https://github.com/natario1/CameraView/compare/v1.5.1...v1.6.0 + +### v1.5.1 + +- Bug: byte array length for Frames was incorrect thanks to [@ssakhavi][ssakhavi] ([#205][205]) +- Bug: gestures were crashing in some conditions ([#222][222]) +- Bug: import correctly the ExifInterface library ([#222][222]) +- Updated dependencies thanks to [@caleb-allen][caleb-allen] ([#190][190]) + +https://github.com/natario1/CameraView/compare/v1.5.0...v1.5.1 + +## v1.5.0 + +- New: set encoder for video recordings with `cameraVideoCodec` ([#174][174]) +- New: set max duration for videos with `cameraVideoMaxDuration` ([#172][172]) +- Enhancement: reduced lag with continuous gestures (ev, zoom) ([#170][170]) +- Bug: tap to focus was crashing on some devices ([#167][167]) +- Bug: capturePicture was breaking if followed by another event soon after ([#173][173]) + +https://github.com/natario1/CameraView/compare/v1.4.2...v1.5.0 + +### v1.4.2 + +- Add prefix to XML resources so they don't collide, thanks to [@RocketRider][RocketRider] ([#162][162]) +- Add `videoMaxSize` API and XML attribute, to set max size video in bytes, thanks to [@chaitanyaraghav][chaitanyaraghav] ([#104][104]) +- Improved the preview size selection, thanks to [@YeungKC][YeungKC] ([#133][133]) +- Improved the playSounds attribute, was playing incorrectly, thanks to [@xp-vit][xp-vit] ([#143][143]) + +https://github.com/natario1/CameraView/compare/v1.4.1...v1.4.2 + +### v1.4.1 + +- Fixed a bug that would flip the front camera preview on some devices ([#112][112]) +- Two new `CameraOptions` APIs: `o.getSupportedPictureSizes()` and `o.getSupportedPictureAspectRatios()` ([#101][101]) +- Most controls (video quality, hdr, grid, session type, audio, white balance, flash, facing) now inherit + from a base `Control` class ([#105][105]). This let us add new APIs: + + - `CameraView.set(Control)`: sets the control to the given value, e.g. `set(Flash.AUTO)` + - `CameraOptions.supports(Control)`: returns true if the control is supported + - `CameraOptions.getSupportedControls(Class)`: returns list of supported controls of a given kind + +https://github.com/natario1/CameraView/compare/v1.4.0...v1.4.1 + +## v1.4.0 + +- CameraView is now completely thread-safe. All actions are asynchronous. ([#97][97]) + This has some breaking drawbacks. Specifically, the `get` methods (e.g., `getWhiteBalance`) might + not return the correct value while it is being changed. So don't trust them right after you have changed the value. + Instead, always check the `CameraOptions` to see if the value you want is supported. +- Added error handling ([#97][97]) in `CameraListener.onCameraError(CameraException)`. + At the moment, all exceptions there are unrecoverable. When the method is called, the camera is showing + a black preview. This is a good moment to show an error dialog to the user. + You can also try to `start()` again but that is not guaranteed to work. +- Long requested ability to set the picture output size ([#99][99]). Can be done through + `CameraView.setPictureSize()` or through new XML attributes starting with `cameraPictureSize`. + Please refer to docs about it. +- Deprecated `toggleFacing`. It was unreliable and will be removed. +- Deprecated `getCaptureSize`. Use `getPictureSize` instead. +- Fixed bugs. + +https://github.com/natario1/CameraView/compare/v1.3.2...v1.4.0 + +### v1.3.2 + +- Fixed a memory leak thanks to [@andrewmunn][andrewmunn] ([#92][92]) +- Reduced memory usage when using cropOutput thanks to [@RobertoMorelos][RobertoMorelos] ([#93][93]) +- Improved efficiency for Frame processors, recycle buffers and Frames ([#94][94]) + +https://github.com/natario1/CameraView/compare/v1.3.1...v1.3.2 + +### v1.3.1 + +- Fixed a bug that would make setFacing and other APIs freeze the camera ([#86][86]) +- Fixed ConcurrentModificationExceptions during CameraListener callbacks ([#88][88]) + +https://github.com/natario1/CameraView/compare/v1.3.0...v1.3.1 + +## v1.3.0 + +- Ability to inject frame processors to do your own visual tasks (barcodes, facial recognition etc.) ([#82][82]) +- Ability to inject external loggers (e.g. Crashlytics) to listen for internal logging events ([#80][80]) +- Improved CameraUtils.decodeBitmap, you can now pass maxWidth and maxHeight to avoid OOM ([#83][83]) +- Updated dependencies thanks to [@v-gar][v-gar] ([#73][73]) + +https://github.com/natario1/CameraView/compare/v1.2.3...v1.3.0 + +[aartikov]: https://github.com/aartikov +[athornz]: https://github.com/athornz +[v-gar]: https://github.com/v-gar +[andrewmunn]: https://github.com/andrewmunn +[chaitanyaraghav]: https://github.com/chaitanyaraghav +[YeungKC]: https://github.com/YeungKC +[RobertoMorelos]: https://github.com/RobertoMorelos +[RocketRider]: https://github.com/RocketRider +[xp-vit]: https://github.com/xp-vit +[caleb-allen]: https://github.com/caleb-allen +[ssakhavi]: https://github.com/ssakhavi +[MatFl]: https://github.com/MatFl +[Namazed]: https://github.com/Namazed +[Keyrillanskiy]: https://github.com/Keyrillanskiy +[mahdi-ninja]: https://github.com/mahdi-ninja +[stefanJi]: https://github.com/stefanJi [cneuwirt]: https://github.com/cneuwirt [agrawalsuneet]: https://github.com/agrawalsuneet [RAN3000]: https://github.com/RAN3000 + +[73]: https://github.com/natario1/CameraView/pull/73 +[80]: https://github.com/natario1/CameraView/pull/80 +[82]: https://github.com/natario1/CameraView/pull/82 +[83]: https://github.com/natario1/CameraView/pull/83 +[86]: https://github.com/natario1/CameraView/pull/86 +[88]: https://github.com/natario1/CameraView/pull/88 +[92]: https://github.com/natario1/CameraView/pull/92 +[93]: https://github.com/natario1/CameraView/pull/93 +[94]: https://github.com/natario1/CameraView/pull/94 +[97]: https://github.com/natario1/CameraView/pull/97 +[99]: https://github.com/natario1/CameraView/pull/99 +[101]: https://github.com/natario1/CameraView/pull/101 +[104]: https://github.com/natario1/CameraView/pull/104 +[105]: https://github.com/natario1/CameraView/pull/105 +[112]: https://github.com/natario1/CameraView/pull/112 +[133]: https://github.com/natario1/CameraView/pull/133 +[143]: https://github.com/natario1/CameraView/pull/143 +[162]: https://github.com/natario1/CameraView/pull/162 +[167]: https://github.com/natario1/CameraView/pull/167 +[170]: https://github.com/natario1/CameraView/pull/170 +[172]: https://github.com/natario1/CameraView/pull/172 +[173]: https://github.com/natario1/CameraView/pull/173 +[174]: https://github.com/natario1/CameraView/pull/174 +[190]: https://github.com/natario1/CameraView/pull/190 +[205]: https://github.com/natario1/CameraView/pull/205 +[222]: https://github.com/natario1/CameraView/pull/222 +[224]: https://github.com/natario1/CameraView/pull/224 +[245]: https://github.com/natario1/CameraView/pull/245 +[264]: https://github.com/natario1/CameraView/pull/264 +[265]: https://github.com/natario1/CameraView/pull/265 +[290]: https://github.com/natario1/CameraView/pull/290 +[297]: https://github.com/natario1/CameraView/pull/297 +[332]: https://github.com/natario1/CameraView/pull/332 +[344]: https://github.com/natario1/CameraView/pull/344 [356]: https://github.com/natario1/CameraView/pull/356 [360]: https://github.com/natario1/CameraView/pull/360 [374]: https://github.com/natario1/CameraView/pull/374 @@ -92,3 +270,5 @@ This is the first beta release. For changes with respect to v1, please take a lo [506]: https://github.com/natario1/CameraView/pull/506 [513]: https://github.com/natario1/CameraView/pull/513 [517]: https://github.com/natario1/CameraView/pull/517 +[521]: https://github.com/natario1/CameraView/pull/521 +[528]: https://github.com/natario1/CameraView/pull/528 diff --git a/docs/_posts/2018-12-20-install.md b/docs/_posts/2018-12-20-install.md index aabb5911..76ac533e 100644 --- a/docs/_posts/2018-12-20-install.md +++ b/docs/_posts/2018-12-20-install.md @@ -24,7 +24,7 @@ allprojects { Then simply download the latest version: ```groovy -api 'com.otaliastudios:cameraview:2.0.0-rc2' +api 'com.otaliastudios:cameraview:2.0.0' ``` No other configuration steps are needed. \ No newline at end of file