Skip to content
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

Is it possible to add a simple turn on/off torch feature? #64

Open
tgomezc opened this issue Oct 27, 2019 · 11 comments
Open

Is it possible to add a simple turn on/off torch feature? #64

tgomezc opened this issue Oct 27, 2019 · 11 comments

Comments

@tgomezc
Copy link

tgomezc commented Oct 27, 2019

While the library is very complete and easy to use i think this is a good feature that is missing.

@Farry1
Copy link

Farry1 commented Feb 24, 2020

I am also very interested in this feature. Did you come up with something already?

@carlosabud
Copy link

Same here. Does anybody know anything about this feature?

@basst314
Copy link
Owner

Thanks for pushing for this. While the webcam component itself can be "disabled" by using ng-if and conditionally (not) rendering it, the component does not currently have a dedicated on/off switch.

I will put that on my todo list for future versions.

Does conditional rendering work for you as a workaround?

@carlosabud
Copy link

I think we are referring to different things.

We are asking (or maybe requesting) for a camera torch or camera flash functionality.

@basst314
Copy link
Owner

Hi @carlosabud,

Thanks for clarifying! That sounds like an exciting feature! Will do some research and get back to you all here.

Cheers!

@sagarwasule
Copy link

Any solution for this feature ?

@maxulm
Copy link

maxulm commented Feb 3, 2021

Also interested in such a feature!

@LocoUnPocoNadaMas
Copy link

#169 I have this for now it's not a solution but it may help, it needs love (time to learn and write a lot of code).

@sophieelsa
Copy link

sophieelsa commented Oct 9, 2023

getPhotoCapabilities method from ImageCapture allow to manage torch on device phone. It works on my side

@LocoUnPocoNadaMas
Copy link

yes, after search for a while I found this image-capture.d.ts

@ganholete
Copy link

Any solution? How can I use it? It would be beautiful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants