Skip to content

Commit

Permalink
Prepare for release of v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pbowyer committed Mar 27, 2022
1 parent 0e92f4d commit 3125914
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [3.0.0](https://github.com/capacitor-community/camera-preview/compare/v2.1.0...v3.0.0) (2022-03-27)
The version number has increased in line with Semver as there's one backwards-incompatible change for Android.

### Features

* [Android] Require Gradle 7. Thank you to contributor [@riderx](https://github.com/riderx)! ([#195](https://github.com/capacitor-community/camera-preview/pull/195))

## [2.1.0](https://github.com/capacitor-community/camera-preview/compare/v2.0.0...v2.1.0) (2022-03-06)

### Features
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</p>
<br>

Version 2 of this plugin is compatible with Ionic 5+ and Capacitor 3. If your project uses Capacitor 2, please make sure you install [version 1](https://github.com/capacitor-community/camera-preview/releases/tag/v1.2.1) of this plugin.
Version 2+ of this plugin is compatible with Ionic 5+ and Capacitor 3. If your project uses Capacitor 2, please make sure you install [version 1](https://github.com/capacitor-community/camera-preview/releases/tag/v1.2.1) of this plugin.

**PR's are greatly appreciated.**

Expand Down Expand Up @@ -45,6 +45,8 @@ npx cap sync
```

## Extra Android installation steps
**Important** `camera-preview` 3+ requires Gradle 7. If you are using Gradle 4, please use [version 2](https://github.com/capacitor-community/camera-preview/tree/v2.1.0) of this plugin.

Open `android/app/src/main/AndroidManifest.xml` and above the closing `</manifest>` tag add this line to request the CAMERA permission:
```xml
<uses-permission android:name="android.permission.CAMERA" />
Expand Down

0 comments on commit 3125914

Please sign in to comment.