-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@capacitor/camera take multiple photos via the camera in one session #1616
Comments
This would be great to have. 👍 |
I've been working on this, specifically the Android side. I've made significant progress, but there are some things I'm wondering about. I noticed that the ❓Is there a reason that the project does not use the layout XML? I ask because in order to support multiple photos, the Android camera plugin will need to use a custom view. Currently the plugin calls the native device camera using an This leads me to another question: ❓Is the project opposed to using Jetpack Compose? Jetpack Compose is supposed to be the "new modern" way to do UI for Android. Finally, last question: ❓Would the project accept contributions to the camera plugin that use Kotlin code? I have been working in Java only so far, but there are some niceties about Kotlin, so I'm just wondering. Thanks! |
Here is a demo video of my work on the multi photo mode. demo.mp4I think that it is feature complete. There may be a few more tweaks that I need to make. Features
Next stepsI am working on getting the changes into my fork. iOSThis work in the demo is only for Android. Getting the same done for iOS will require me to figure out how to setup XCode and I am on Linux and don't have any iOS devices. |
@isbecker any way to use your fork? |
Hi @blahblehblah, I think that you should be able to add something like the following to your "dependencies": {
"@capacitor/camera": "github:isbecker/capacitor-plugins:camera"
} |
Sorry to bump, but any update on this for iOS too? |
Hi @isbecker , could you merge your progress in your fork? |
Hi @isbecker, Any Update for IOS part ? |
When this feature can be completed, it is undoubtedly very useful for users. |
Feature Request
Plugin
Camera
Description
Support for taking multiple photos using the camera without having to reopen the camera each time.
Example real-world use case: An inspector who may need to capture photos of an issue from multiple angles.
Platform(s)
Preferred Solution
A new method for the camera plugin (e.g.
takePhotos
) which allows the user to continue taking photos until they confirm they are finished. At which point,Photo[]
is returned by the plugin.Alternatives
Additional Context
Seems like this functionality is available in the cordova-plugin-media-capture captureImage method
The text was updated successfully, but these errors were encountered: