react-native-webrtc / react-native-webrtc/react-native-incall-manager

Flash API

Open
#5 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Java
Stars
597
Forks
201
Avg merge
2h 42m
Merged PRs (30d)
1

Description

I'd like to see an API for determining availability of, as well as toggling, camera flash. I suggest the following:

isFlashAvailable(): Returns true if the available hardware supports a flash.
setFlashEnabled(bool): Sets the flash on or off.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by locating the repository entry points for React Native and native camera handling, then determine where the proposed isFlashAvailable() and setFlashEnabled(bool) APIs belong; done means availability can be reported and the camera flash can be toggled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.