Comments (14)
+1 to this. The plugin is great! It works very well except that it saves to the album which for the user will be annoying if he tries to take a picture and have both original and resized image in the camera roll.
from cordova-plugin-camera-preview.
Hi guys. I'll work on this issue soon. Thanks for your feedback.
from cordova-plugin-camera-preview.
I have made a branch which solves this on ios. You might want to check it out. I did not make a PR since it changes the behaviour, and only on iOS for now.
https://github.com/stephan-nordnes-eriksen/CordovaCameraPreview
from cordova-plugin-camera-preview.
thanks @stephan-nordnes-eriksen , this is great!
Will try your branch when I sit on my next project.
Can you tell me how does it work?
Does it only save the preview image?
from cordova-plugin-camera-preview.
It saves both preview and original, for now. But it saves them to your applications folder, not to the gallery.
I would actually like if it only saved the original image, and did not try to do much more than that. If the developer want's a preview, then they can fix that themselves, or possibly provide a method that creates a preview for them. Eg.: createPreview(image_url, width, height);
from cordova-plugin-camera-preview.
That's exactly what I've wanted for my project. I just want it to be saved somewhere else but not on the camera roll. Will try it tomorrow! Thank you very much @stephan-nordnes-eriksen
Cheers.
from cordova-plugin-camera-preview.
@stephan-nordnes-eriksen You are a life saver!!! I used your plugin instead and it worked perfectly...
from cordova-plugin-camera-preview.
@joshuaohana does stephans plugin work for both ios and android?
from cordova-plugin-camera-preview.
glad i could help @joshuaohana :)
@DaCardinal Yes, I believe so. (don't really remember :s )
from cordova-plugin-camera-preview.
hi @stephan-nordnes-eriksen
I just wanted to ask if your branch is also updated?
What I mean is the "toBack" param is also supported on your branch?
from cordova-plugin-camera-preview.
I haven't touched this since I made the branch back in February. Feel free to do PR if there are any features you lack there ;)
from cordova-plugin-camera-preview.
@stephan-nordnes-eriksen @mbppower would be great to get the latest from both of these versions merged together :)!
from cordova-plugin-camera-preview.
I hate objective c, so I won't do that. If you need it feel free to create a pull request ;)
from cordova-plugin-camera-preview.
Hi guys, I would really like to improve this project, but I've out of time for now, so if anyone that is working on this could do a PR, that would be great.
from cordova-plugin-camera-preview.
Related Issues (20)
- takeSnapshot return blank image HOT 1
- camera is taking entire screen height and flip and close,capture buttons are not visible in native device,Please let me know if anyone has solution for this,z index is already given same as in the code HOT 2
- is platform windows supported ? HOT 3
- is platform browser supported ? HOT 1
- error building with xcode 13.4.1 HOT 6
- How to add barcode scanning ability using another plugin?
- takePicture error only on Android 9
- How to disallow Screenshot
- Android Studio forces me to set android:exported="true" in AndroidManifest.xml HOT 1
- Image is saved as Base64 regardless of storeToFile setting
- Illegal Access HOT 1
- This plugin doesn't seem to install in Android 13, API 33 HOT 2
- takePicture does not resolve promise on iPhone 15 Pro HOT 4
- AVCaptureStillImageOutput' is deprecated: first deprecated in iOS 10.0 - Use AVCapturePhotoOutput instead.
- iPhone 13 Pro Max autofocus issue on close objects HOT 3
- Documentation wrong for takeSnapshot and takePicture
- Can not perform this action after onSaveInstanceState
- photos Android clearer
- how do i ? HOT 1
- devicesWithMediaType is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-camera-preview.