106 Commits

Author SHA1 Message Date
Manuel Beck
90ad137398 fix(ios)! remove iPadOS popover code (#941)
- On iPadOS it was possible to configure a popover for setting the position, width and arrow position of the popover.  The code used the deprecated `UIPopoverController`, which would have to be fixed. To keep the plugin also maintainable, this was removed.
- The popover could repositioned with a `CameraPopoverHandle` on a `window.onorientationchange`. This was removed also.
- Removed documentation for popover from `README.md`
2026-01-15 17:26:37 +01:00
Manuel Beck
dc682b2532 feat(ios): use PHPickerViewController for iOS 14+ (#937)
- Does not need any permissions for reading images
- The PHPickerViewController class is an alternative to UIImagePickerController. PHPickerViewController improves stability and reliability, and includes several benefits to developers and users, such as the following:
- Deferred image loading and recovery UI
- Reliable handling of large and complex assets, like RAW and panoramic images
- User-selectable assets that aren’t available for UIImagePickerController
- Configuration of the picker to display only Live Photos
- Availability of PHLivePhoto objects without library access
- Stricter validations against invalid inputs
- See documentation of PHPickerViewController: https://developer.apple.com/documentation/photosui/phpickerviewcontroller?language=objc
- Added tests for PHPickerViewController in `CameraTest.m`

* Documentation and formatting

- Document `takePicture` and `showCameraPicker` in `CDVCamera.m`
- A pragmas for UIImagePickerControllerDelegate methods and CLLocationManager methods
- Format some long methods declarations to multi-line instead single-line for better readability
- Remove unnecessry `dispatch_async(dispatch_get_main_queue() ...` in `takePicture` before calling `showCameraPicker`. This is already done in `showCameraPicker`.
- Source out code for permission denied alert dialog when accessing the camera or UIImagePickerController on iOS < 14 for picking images

* feat(ios): proper formatting of methods

- Use linux brace style: A brace have to be on a new line for method declarations
- Remove unnecessary whitespaces in method declrations

* doc: readme update

- Better document usage descriptions
- `NSPhotoLibraryUsageDescription` not needed for iOS 14+ when only picking images
- Improve formatting for xml, js
- sourceType `SAVEDPHOTOALBUM` is the same as `PHOTOLIBRARY` on Android and iOS 14+
- Use `PHOTOLIBRARY` as sourceType instead of `SAVEDPHOTOALBUM` in  photo picker example

* Android: Document `SAVEDPHOTOALBUM``

- Make clear that `SAVEDPHOTOALBUM` is the same like `PHOTOLIBRARY` and has only an effect on iOS < 14
- Format code when creating image chooser and document the request code parameter
2026-01-13 08:33:59 +01:00
Manuel Beck
80a2f18a05 chore!: bump 9.0.0-dev and cordova-ios to 7.0.0 (#939)
- Increased cordova-ios version to 7.x to make newer features availabe
- Removed wrong cordovaDependency for `5.0.4-dev`. `cordovaDependencies` matches only against npm released versions.
2025-12-08 16:32:50 +01:00
Norman Breau
979155ee98 chore: 8.0.1-dev 2024-10-30 11:12:59 -03:00
Norman Breau
7f33ef4add chore: version 8.0.0 2024-10-30 11:08:58 -03:00
Erisu
9eecbaa1af chore: bump version 7.0.1-dev 2023-09-06 17:02:23 +09:00
Erisu
24839eb71f release(camera-v7.0.0): updated version and RELEASENOTES.md 2023-09-06 16:55:23 +09:00
jcesarmobile
20293f3d64 fix!: remove deprecated platforms (#848) 2023-09-01 00:34:30 +02:00
エリス
61a6e9bb44 dep(dev)!: bump @cordova/eslint-config@5.0.0 (#846)
* dep(dev)!: bump @cordova/eslint-config@5.0.0
* chore: apply automatic lint fix
2023-08-18 00:59:25 +09:00
エリス
c2eb21d201 chore: bump plugin version 7.0.0-dev (#845) 2023-08-17 21:43:13 +09:00
Erisu
5b8263732a Increment package version to 6.0.1-dev 2021-08-23 14:25:23 +09:00
Erisu
869f02da1a Updated version and RELEASENOTES.md for release 6.0.0 (camera-v6.0.0) 2021-08-19 17:14:44 +09:00
エリス
4ee90a84f3 feat: bump plugin version for next major (#749)
Co-authored-by: Niklas Merz <nmerz@gedys-intraware.de>
2021-08-09 20:52:50 +09:00
Niklas Merz
5587bec320 Bump 5.0.4-dev 2021-08-09 10:53:00 +02:00
Erisu
d523142cf2 Updated version and RELEASENOTES.md for release 5.0.3 (camera-v5.0.3) 2021-08-04 13:16:27 +09:00
PVPoyer
7bc311fba9 Incremented plugin version. (cordova-plugin-camera20210511) 2021-05-11 22:45:53 +02:00
PVPoyer
e419a74546 Updated version and RELEASENOTES.md for release 5.0.2 (cordova-plugin-camera20210511) 2021-05-11 22:12:25 +02:00
Erisu
db2ffedecc Increment package version to 5.0.2-dev 2020-11-09 18:15:06 +09:00
Erisu
0d13b71d33 Updated version and RELEASENOTES.md for release 5.0.1 (camera-20201104) 2020-11-04 10:24:25 +09:00
Erisu
e2e04ba3d8 Increment package version to 5.0.1-dev 2020-09-18 12:06:07 +09:00
Erisu
4584f15d9f Updated version and RELEASENOTES.md for release 5.0.0 (camera-20200914) 2020-09-14 12:19:36 +09:00
jcesarmobile
0333d001c7 breaking: remove NATIVE_URI DestinationType (#637) 2020-08-07 14:38:05 +02:00
エリス
3f42591363 chore: remove deprecated file transfer plugin (#634) 2020-07-23 20:16:36 +09:00
エリス
973bbbbac7 feat: migrate to @cordova/eslint-config@3.x (#629) 2020-07-14 19:15:29 +09:00
エリス
8766956abb breaking: bump version 5.0.0-dev (#627) 2020-07-14 17:55:04 +09:00
Jesse MacFadyen
ba4f77468f chore(release): 4.2.0-dev 2020-05-07 01:34:03 -07:00
Jesse MacFadyen
adf15799d9 Updated version and RELEASENOTES.md for release (Camera-4.2.0) 2020-05-07 00:45:53 -07:00
Jan Piotrowski
db4b4b947d chore(release): 4.1.1-dev 2019-06-27 21:04:04 +02:00
Jan Piotrowski
ae3531acfa chore(release): 4.1.0 (version string) 2019-06-27 21:01:58 +02:00
Jan Piotrowski
06dc38f9ab docs: remove outdated test docs translations 2019-06-27 18:46:33 +02:00
Jan Piotrowski
cad8bd1442 chore: fix repo and issue urls and license in package.json and plugin.xml 2019-06-27 18:45:52 +02:00
Ams
cd72047dfc CB-13865: (IOS-Ipad) Making popover Window Size configurable using popoverOptions - imagePicker (#314) 2018-11-25 13:59:51 +01:00
jcesarmobile
eed44330a4 Bump minor version (#370) 2018-11-13 23:02:58 +01:00
jcesarmobile
c0d78ad644 Revert "Bump minor version to 4.1.0-dev (#357)" (#363)
This reverts commit 7ee91a927d.
2018-10-30 16:44:58 +01:00
jcesarmobile
7ee91a927d Bump minor version to 4.1.0-dev (#357) 2018-10-24 13:26:07 +02:00
Steve Gill
d9d80e40c1 Set VERSION to 4.0.4-dev (via coho) 2018-04-12 18:06:58 -07:00
Steve Gill
6ce1443622 fixed issue with version, 4.0.3 2018-04-12 18:04:49 -07:00
Steve Gill
37e12e85fb Set VERSION to 4.0.4-dev (via coho) 2018-04-12 17:16:12 -07:00
Steve Gill
9d05a1e58f CB-14030 Updated version and RELEASENOTES.md for release 4.0.3 (via coho) 2018-04-12 17:06:17 -07:00
Suraj Pindoria
ad8788a5e6 CB-13826 Incremented plugin version. 2018-01-25 11:47:20 -08:00
Suraj Pindoria
4b276ee534 CB-13826 Updated version and RELEASENOTES.md for release 4.0.2 2018-01-25 11:40:16 -08:00
Simon MacDonald
b00cf97a04 Set VERSION to 4.0.2-dev (via coho) 2017-12-27 19:13:49 -05:00
Simon MacDonald
fb02f48745 CB-13714 Updated version and RELEASENOTES.md for release 4.0.1 (via coho) 2017-12-27 19:13:36 -05:00
Steve Gill
82f1c83a76 Set VERSION to 4.0.1-dev (via coho) 2017-12-15 17:26:41 -08:00
Steve Gill
4ae0de1c5e CB-13681 Updated version and RELEASENOTES.md for release 4.0.0 (via coho) 2017-12-15 17:25:06 -08:00
Steve Gill
1f86358156 Set VERSION to 3.0.1-dev (via coho) 2017-11-06 14:38:37 -08:00
Steve Gill
d456eeb711 CB-13542 Updated version and RELEASENOTES.md for release 3.0.0 (via coho) 2017-11-06 14:37:41 -08:00
Audrey So
16c4325fef CB-12895 : updated src files to use eslint format 2017-07-31 13:29:36 -07:00
filmaj
1422b0a4f2 Set VERSION to 2.4.2-dev (via coho) 2017-04-27 10:27:41 -07:00
filmaj
ba9a803b69 CB-12736 Updated version and RELEASENOTES.md for release 2.4.1 2017-04-27 10:26:08 -07:00