Skip to content

dont show flashlight button on unsupported devices #65

@pajowu

Description

@pajowu

the "torch" can only be activated on certain devices. we should only show the button on those.

I see three options:

  1. Enable it only on known working devices
  2. Disable it on known non-working devices
  3. Dynamically check if it can be enabled
    We should only show the button if there is at least on media track with torch: true

Known working:

  • Chrome on android

Known non-working:

  • Safari on iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions