Norman Breau
0d86764b90
refactor(android): replace image path usage with image uris ( #906 )
...
* refactor(android): clean up image file path usages
* removed references of image paths in log messages
2024-10-28 12:35:50 -03:00
Norman Breau
7adccc8ee9
fix(ios): Sync camera API return to match Android changes ( #911 )
2024-10-27 08:32:38 -03:00
Norman Breau
53795454f4
fix(browser): Make data uri be returned as actual URI strings ( #912 )
2024-10-27 08:32:14 -03:00
Norman Breau
2eaa9a3972
fix: return content uris when possible when selecting from gallery ( #902 )
2024-10-26 00:58:24 -03:00
Norman Breau
a672c31efb
fix(android): Return data uris as an URI ( #910 )
2024-10-26 00:58:00 -03:00
Norman Breau
16325102c7
fix(android): Improper serialization of image uri in save instance state ( #903 )
2024-10-25 13:59:29 -03:00
Norman Breau
36bf8e7331
fix(android): improper cache path construction during image manipulation ( #905 )
2024-10-25 13:15:59 -03:00
Norman Breau
feb7643bc3
fix(android): Use VERSION_CODES instead of hard-coded API literals ( #904 )
2024-10-25 13:10:05 -03:00
Norman Breau
44480300d9
fix(android): Isolate provider access to a subdirectory ( #901 )
2024-10-25 13:09:03 -03:00
ravi-yk
faa4615ee0
Remove media permissions to make complaint with Android 14 requirements ( #889 )
...
Co-authored-by: Ravi Yakasiri <ravi.yakasiri@planonsoftware.com>
2024-10-24 13:38:18 -03:00
jcesarmobile
20293f3d64
fix!: remove deprecated platforms ( #848 )
2023-09-01 00:34:30 +02:00
エリス
505ccefb4c
feat(android)!: Android 13 support ( #844 )
...
* feat(android)!: Android 13 support
* refactor(android): simplify getPermissions logic
* feat(android)!: bump cordova-android requirement to >=12.0.0
* feat(android): update saveAlbumPermission to include Android 9 and below use case
---------
Co-authored-by: ochakov <evgeny@ochakov.com>
2023-08-26 20:21:32 +09: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
Norman Breau
84166f6355
chore(android): Cleanup obsolete BuildConfig comments ( #831 )
2023-04-14 08:48:12 -03:00
seamlink-aalves
2c09ade500
fix(android): set applicationId ( #827 )
...
Co-authored-by: Alexandre Alves <aalves@seamlink.com>
2023-04-14 08:06:30 -03:00
jcesarmobile
d0545c879f
fix(browser): use navigator.mediaDevices.getUserMedia ( #810 )
2022-09-30 00:59:27 +02:00
Scott Murphy
4608f8ef80
fix(ios): preserving EXIF data ( #712 )
2022-03-22 16:23:56 +09:00
Dave Alden
e9db20e381
fix(android): return exception message (where it exists) ( #687 )
...
Co-authored-by: エリス <erisu@users.noreply.github.com>
Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
2021-08-11 16:56:42 +09:00
Francis
c7971d9f63
fix(android): file path correction if Uri authority is FileProvider ( #585 )
...
Co-authored-by: Tim Brust <ratchet.player@gmx.de>
Co-authored-by: Francis Monier <contactpro@francismonier.com>
Co-authored-by: Norman Breau <norman@normanbreau.com>
2021-08-11 16:34:20 +09:00
エリス
0227cdcf14
feat(android)!: support AndroidX ( #751 )
...
* feat: migrate FileProvider to androidx
* feat: add androidx.core:core with variable override ANDROIDX_CORE_VERSION
2021-08-09 23:09:29 +09:00
Pieter Van Poyer
75bf807261
Bugfix issue 711 heic format ( #731 )
...
* Android - issue/711 - support .heic format
2021-08-09 15:36:58 +02:00
Pieter Van Poyer
f704689200
Bugfix issue 665 ( #700 )
...
* GH-665 - store the imageFilePath when the app is paused (onSaveInstance) and restore it back.
* Update src/android/CameraLauncher.java whitespace layout
Co-authored-by: Tim Brust <github@timbrust.de>
Co-authored-by: Tim Brust <github@timbrust.de>
2021-02-02 14:43:26 -04:00
エリス
8975171d7a
chore(android): add missing apache license header ( #686 )
2020-11-04 10:12:19 +09:00
jcesarmobile
2d1ee66a2b
fix(ios): correctly append exif on iOS 14 ( #685 )
2020-10-28 18:47:10 +01:00
Pieter Van Poyer
ebe0517a24
Bugfix issue 341 save to photo gallery - Fixes #341 , fixes #577 ( #669 )
...
* GH-341 - GH-577 Fixed the Save Photo To Album starting from camera - Android
- saveToPhotoAlbum feature fixed by taken into count content - uri. (writeUncompressedImage method) ( see: https://github.com/apache/cordova-plugin-camera/issues/611#issuecomment-700273405 )
- make saveToPhotoAlbum future proof by using the MediaStore to insert the taken image
- made a method to calculate the compressFormat based on the encodingType (JPEG or PNG)
- layout of the performCrop method is adjusted
- removed unused rotate variable inside processResultFromGallery method
* Add extra VO class to the plugin.xml
* added package declaration to new VO
* GH-341 - GH-577 https://github.com/apache/cordova-plugin-camera/pull/669#discussion_r504632953 listen to review
2020-10-16 23:48:22 -03:00
jcesarmobile
0333d001c7
breaking: remove NATIVE_URI DestinationType ( #637 )
2020-08-07 14:38:05 +02:00
jcesarmobile
e2ecd7fe91
fix(android): return error if file url is null ( #632 )
2020-07-23 12:11:55 +02:00
Loïc Le Malliaud
eb7fc333ee
fix(android): use provider prefix to avoid conflicts other plugin providers ( #510 )
...
Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
2020-07-16 13:08:40 +02:00
jcesarmobile
fd155d9705
breaking(android): stop using CordovaUri helper class ( #617 )
2020-07-14 16:26:09 +02:00
エリス
973bbbbac7
feat: migrate to @cordova/eslint-config@3.x ( #629 )
2020-07-14 19:15:29 +09:00
jcesarmobile
d89c25cd82
fix(ios): tempFilePath called twice if using CameraUsesGeolocation ( #612 )
2020-06-25 18:23:01 +02:00
Jesse MacFadyen
df14414203
Cache images in device storage, devices have enough space now.
2020-04-28 13:57:00 -07:00
jcesarmobile
bfa38fed2c
fix(ios): return copy of video when picking from gallery on iOS 13 ( #580 )
2020-04-15 11:41:21 +02:00
exxbrain
f4067e22d9
Fix UI API called on a background thread ( #550 , #530 , #447 ) ( #551 )
...
Co-authored-by: Denis Zakharov <d.zakharov@bssys.com>
2020-04-09 13:54:26 +00:00
klodha
a9436b1a18
ImagePicker returning same image ( #306 )
...
ImagePicker returning same image
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
Co-authored-by: Tim Brust <github@timbrust.de>
2019-09-16 11:40:54 +02:00
Hazem Saleh
295e928784
(Android) Fix NullPointerException error on some Android phones ( #429 )
2019-05-05 19:16:20 +02:00
Hazem Saleh
a13665d530
AAR-232: (android) Enhancement: Camera plugin code cleanup ( #425 )
2019-03-01 14:00:39 -05:00
Álvaro Herrero
81b878da59
GH-329: (android) Fixes issue: Exif data lost on many cases ( #331 )
...
* GH-329 android: Fix Exif data lost when correctOrientation is true
* Changed variable name
2019-02-21 16:51:54 +01:00
pz
24c8b6c43d
GH-376 (ios) fixes UIImagePickerController cancel handling for iOS11+ ( #377 )
2018-12-16 12:20:01 +01:00
jcesarmobile
60e779559e
Android: return DATA_URL for ALLMEDIA if it's an image ( #382 )
2018-12-09 12:39:06 +01:00
jcesarmobile
ce77aab010
CB-13813: (iOS) Remove old iOS code ( #381 )
2018-12-04 12:21:39 +01:00
Ams
cd72047dfc
CB-13865: (IOS-Ipad) Making popover Window Size configurable using popoverOptions - imagePicker ( #314 )
2018-11-25 13:59:51 +01:00
Chris Brody
dc73954108
Merge pull request #242 from DisruptiveMind/master
...
CB-11714: (windows) added check for encoding in savePhoto() without height/width
2018-10-03 18:42:51 -04:00
Jan Piotrowski
c1b9772dca
replace double quotes with single quotes
2018-10-03 20:54:06 +02:00
Tyler Pham
eb57b02ba8
CB-11714: reuse picture.name instead of pictureName
2018-09-16 19:22:16 -04:00
Tyler Pham
dca4b9c82b
simplify picture.copyAsync
2018-09-16 19:19:13 -04:00
bvmensvoort
5c23b65af9
CB-14097: (android) Fix crash when selecting some files with getPicture ( #322 )
...
* CB-14097: (android) Fix crash when selecting some files with getPicture of urls with raw://
Handles both urls:
content://com.android.providers.downloads.documents/document/1111
content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2Ffilename.pdf
* Optimization: Remove TextUtils dependency, return null when no id could be extracted
2018-07-06 00:16:25 +02:00
Matthew Vander Vliet
5163d38465
CB-13384: (browser) Added deprecation of video.src compatibility ( #288 )
...
* CB-13384: (browser) Added deprecation of video.src compatibility
* CB-13384: Updated to reflect property detection rather than deprecation exception.
2018-05-25 12:44:23 +08:00
Andrew Decker
36343a8e07
Update CameraProxy.js ( #284 )
...
Remove audio flag from getUserMedia on the browser. Including audio resulted in some nasty audio feedback, and audio isn't really needed for taking pictures anyway.
2018-05-24 13:42:39 +08:00
Hazem Saleh
5ec121bf98
CB-14047: (android) CameraLauncher: Replacing Repeated String literals with final variables ( #319 )
2018-04-22 14:33:52 -04:00