diff --git a/README.md b/README.md index 1d750f3..a9431fd 100644 --- a/README.md +++ b/README.md @@ -78,16 +78,15 @@ Documentation consists of template and API docs produced from the plugin JS code Since iOS 10 it's mandatory to add a `NSCameraUsageDescription` and `NSPhotoLibraryUsageDescriptionentry` in the info.plist. -* `NSCameraUsageDescription` describes the reason that the app accesses the user’s camera. -* `NSPhotoLibraryUsageDescriptionentry` describes the reason the app accesses the user's photo library. +- `NSCameraUsageDescription` describes the reason that the app accesses the user’s camera. +- `NSPhotoLibraryUsageDescriptionentry` describes the reason the app accesses the user's photo library. When the system prompts the user to allow access, this string is displayed as part of the dialog box. To add this entry you can pass the following variables on plugin install. -* `CAMERA_USAGE_DESCRIPTION` for `NSCameraUsageDescription` -* `PHOTOLIBRARY_USAGE_DESCRIPTION` for `NSPhotoLibraryUsageDescriptionentry` - +- `CAMERA_USAGE_DESCRIPTION` for `NSCameraUsageDescription` +- `PHOTOLIBRARY_USAGE_DESCRIPTION` for `NSPhotoLibraryUsageDescriptionentry` - Example: diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a136b0f..c7c0ff7 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,16 +20,56 @@ --> # Release Notes +### 2.3.0 (Sep 08, 2016) +* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies +* [CB-11661](https://issues.apache.org/jira/browse/CB-11661) Add mandatory **iOS 10** privacy description +* [CB-11714](https://issues.apache.org/jira/browse/CB-11714) **windows** added more explicit content-type when converting to target data on canvas +* [CB-11295](https://issues.apache.org/jira/browse/CB-11295) Add **WP8.1** quirk when choosing image from `photoalbum` +* [CB-10067](https://issues.apache.org/jira/browse/CB-10067) Update `PictureSourceType` JSDoc to reflect `README` update +* [CB-9070](https://issues.apache.org/jira/browse/CB-9070) Update `CameraPopoverHandle` docs to reflect `README` update +* Plugin uses `Android Log class` and not `Cordova LOG class` +* [CB-11631](https://issues.apache.org/jira/browse/CB-11631) Appium tests: A working fix for a flaky `selection canceled` failure +* [CB-11709](https://issues.apache.org/jira/browse/CB-11709) Tests should use `resolveLocalFileSystemURL()` instead of deprecated `resolveFileSystemURI()` +* [CB-11695](https://issues.apache.org/jira/browse/CB-11695) Increased session creation timeout for Appium tests +* [CB-11656](https://issues.apache.org/jira/browse/CB-11656) (**Android**) Appium tests: Fixed side menu opening on some more resolutions +* [CB-11376](https://issues.apache.org/jira/browse/CB-11376) (**ios**): fix `CameraUsesGeolocation` error +* [CB-10067](https://issues.apache.org/jira/browse/CB-10067) (**ios**) clarifications on `PictureSourceType` +* [CB-11410](https://issues.apache.org/jira/browse/CB-11410) (**ios**) fix `cameraPopoverHandle.setPosition` +* [CB-9070](https://issues.apache.org/jira/browse/CB-9070) (**ios**) Fixed `CameraPopoverHandle` documentation +* [CB-11447](https://issues.apache.org/jira/browse/CB-11447) Respect output format when retrieving images from gallery +* [CB-11447](https://issues.apache.org/jira/browse/CB-11447) Resolve **iOS** tests failures due to **iOS** quirks +* [CB-11553](https://issues.apache.org/jira/browse/CB-11553) Pend failing Appium tests on Sauce Labs for the time being (reverted from commit b69571724035f41642f3ee612c5b66e1f0c4386c) +* [CB-11553](https://issues.apache.org/jira/browse/CB-11553) Pend failing Appium tests on Sauce Labs for the time being +* [CB-11498](https://issues.apache.org/jira/browse/CB-11498) [**Android**] Appium tests should not fail when there is no camera +* Add badges for paramedic builds on Jenkins +* [CB-11296](https://issues.apache.org/jira/browse/CB-11296) Appium: Better element clicking and session error handling +* [CB-11232](https://issues.apache.org/jira/browse/CB-11232) Appium tests: fixed element tapping on **iOS 9** +* [CB-11183](https://issues.apache.org/jira/browse/CB-11183) Appium tests: Added image verification +* fixed some bad formatting that hid `HTML` tags and added link to sample +* Set **android** quality default value to 50 on the java code +* Moving message in PR template to a comment +* Add pull request template. This closes #213 +* [CB-11228](https://issues.apache.org/jira/browse/CB-11228) **browser**: Add classes for styling purposes +* [CB-10139](https://issues.apache.org/jira/browse/CB-10139) **browser**: Respect target width and height +* [CB-11227](https://issues.apache.org/jira/browse/CB-11227) **browser**: Fix incorrect `mime type` +* [CB-11162](https://issues.apache.org/jira/browse/CB-11162) Appium tests: retry spec on failure +* [CB-4078](https://issues.apache.org/jira/browse/CB-4078) Fix for `orientation/scaling` on **Android 4.4+** devices +* [CB-11165](https://issues.apache.org/jira/browse/CB-11165) removed peer dependency +* [CB-11147](https://issues.apache.org/jira/browse/CB-11147) Appium tests: generate descriptive spec names +* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to `README.md` +* [CB-11128](https://issues.apache.org/jira/browse/CB-11128) Appum tests: Fixed some of the flaky failures +* [CB-11003](https://issues.apache.org/jira/browse/CB-11003) Added Sample section to the Camera plugin README + ### 2.2.0 (Apr 15, 2016) -* CB-10873 Avoid crash due to usage of uninitialized variable when writing geolocation data to image destination. Properly handle 'CameraUsesGeolocation' option by properly setting geolocation data in EXIF header in all cases -* CB-11073 Appium tests stability improvements +* [CB-10873](https://issues.apache.org/jira/browse/CB-10873) Avoid crash due to usage of uninitialized variable when writing geolocation data to image destination. Properly handle 'CameraUsesGeolocation' option by properly setting geolocation data in EXIF header in all cases +* [CB-11073](https://issues.apache.org/jira/browse/CB-11073) Appium tests stability improvements * Replace `PermissionHelper.java` with `cordova-plugin-compat` * Making focus handler work only for **windows 10** phone -* CB-10865 Run **ios** native tests on **Travis** -* CB-10120 Fixing use of constants and `PermissionHelper` -* CB-10120 Fix missing CAMERA permission for **Android M** -* CB-10756 Adding sterner warnings about `DATA_URL` -* CB-10460 `getRealPath` return null in some cases +* [CB-10865](https://issues.apache.org/jira/browse/CB-10865) Run **ios** native tests on **Travis** +* [CB-10120](https://issues.apache.org/jira/browse/CB-10120) Fixing use of constants and `PermissionHelper` +* [CB-10120](https://issues.apache.org/jira/browse/CB-10120) Fix missing CAMERA permission for **Android M** +* [CB-10756](https://issues.apache.org/jira/browse/CB-10756) Adding sterner warnings about `DATA_URL` +* [CB-10460](https://issues.apache.org/jira/browse/CB-10460) `getRealPath` return null in some cases ### 2.1.1 (Mar 09, 2016) * [CB-10825](https://issues.apache.org/jira/browse/CB-10825) **Android** should request READ permission for gallery source @@ -59,10 +99,10 @@ ### 2.1.0 (Jan 15, 2016) * added `.ratignore` -* CB-10319 **Android** Adding reflective helper methods for permission requests -* CB-9189 **Android** Implementing `save/restore` API to handle Activity destruction -* CB-10241 App Crash cause by Camera Plugin **iOS 7** -* CB-8940 Setting `z-index` values to maximum for UI buttons. +* [CB-10319](https://issues.apache.org/jira/browse/CB-10319) **Android** Adding reflective helper methods for permission requests +* [CB-9189](https://issues.apache.org/jira/browse/CB-9189) **Android** Implementing `save/restore` API to handle Activity destruction +* [CB-10241](https://issues.apache.org/jira/browse/CB-10241) App Crash cause by Camera Plugin **iOS 7** +* [CB-8940](https://issues.apache.org/jira/browse/CB-8940) Setting `z-index` values to maximum for UI buttons. ### 2.0.0 (Nov 18, 2015) * [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated `RELEASENOTES` to be newest to oldest diff --git a/package.json b/package.json index d88d5db..1579e17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-camera", - "version": "2.2.1-dev", + "version": "2.3.0", "description": "Cordova Camera Plugin", "cordova": { "id": "cordova-plugin-camera", diff --git a/plugin.xml b/plugin.xml index a2174b3..354dbbb 100644 --- a/plugin.xml +++ b/plugin.xml @@ -22,7 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:rim="http://www.blackberry.com/ns/widgets" id="cordova-plugin-camera" - version="2.2.1-dev"> + version="2.3.0"> Camera Cordova Camera Plugin Apache 2.0 diff --git a/tests/plugin.xml b/tests/plugin.xml index 7fa533e..9b309e6 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:rim="http://www.blackberry.com/ns/widgets" id="cordova-plugin-camera-tests" - version="2.2.1-dev"> + version="2.3.0"> Cordova Camera Plugin Tests Apache 2.0