Skip to content

Add enableTorch parameter#30

Merged
kalinjul merged 3 commits intomainfrom
feat-torch
Nov 20, 2025
Merged

Add enableTorch parameter#30
kalinjul merged 3 commits intomainfrom
feat-torch

Conversation

@kalinjul
Copy link
Owner

@kalinjul kalinjul commented Nov 19, 2025

Implement torch functionality. A new parameter enableTorch is passed to Scanner Composable, which can be used to control the flash light.

There's also an additional module, camerautils, which includes a rememberCameraUtils composable to control the flashlight outside of the Scanner.

Both cannot (!) be used simultaneusly on Android.

closes #27, closes #24

TODO:

  • Update readme

@kalinjul kalinjul changed the title implement torch for android Add enableTorch parameter Nov 20, 2025
@kalinjul kalinjul merged commit e0210f4 into main Nov 20, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

Expose torch on/off functionality Flash mode support

1 participant