Flashlight plugin for Android

Demo to preview the plugin:

Introduction

This simplest plugin allows you to turn on/off the flashlight on Android. Use its single action to enable or disable the flashlight.
👛 Please support our efforts to keep this plugin free—your donations help us invest the time and resources needed to continue maintaining and improving it for everyone’s benefit: https://zeroqo.de/support.
Image without caption

How to setup

  1. Add the Plugin Element
      • Drag and drop the Flash Light element onto your Bubble page.
        • This is the main element that enables the plugin to interact with the device's flashlight.
        • Ensure the element is placed on the page where you want to use the flashlight functionality.
          • Element → Flash Light.
            Element → Flash Light.
  1. Configure the Events
    1. A Flash Light Light_on
      • This event is triggered when the flashlight is successfully turned on.
      • Use this event to perform actions or display notifications indicating the flashlight is on.
      A Flash Light Light_off
      • This event is triggered when the flashlight is successfully turned off.
      • Use this event to perform actions or display notifications indicating the flashlight is off.
        • Workflow event.
          Workflow event.
  1. Configure the Actions
    1. Turn On/Off Torch A Flash Light
      • This action allows you to control the flashlight, toggling it between ON and OFF states.
      • Parameters:
        • State: Defines whether the flashlight should be turned ON or OFF.
          • Workflow action → Turn on/off torch flashlight.
            Workflow action → Turn on/off torch flashlight.

Plugin Element Properties

Flash Light

Element properties.
Element properties.

Element Actions

  1. Turn on/off torch - This action allows you to control the flashlight by toggling it between ON and OFF states. You can use this in workflows to programmatically activate or deactivate the device's flashlight based on user interaction or other triggers.
    1. Workflow action.
      Workflow action.

Element Events

Workflow event.
Workflow event.
Title
Description
light_on
Triggered when the flashlight is successfully turned on. Use this to perform actions such as displaying a notification or updating the app's UI to reflect the flashlight's state.
light_off
Triggered when the flashlight is successfully turned off. Use this to perform actions like notifying the user or updating the app's UI to indicate the flashlight has been deactivated.
Image without caption

Changelogs