Bluetooth Permission Is Given Application Steps

1. Adding a Bluetooth Data Source

  • Log in to the Kuika platform.
  • Open your mobile project from the Apps screen.
  • Go to the Datasources module.
  • Open the new data source screen using the + icon on the left. Then select Bluetooth as the Datasource Type.
  • Fill in the required and optional fields:
    • Device Name (required)
    • Device ID (optional)
    • Device Address (optional)
  • Complete the registration with CREATE.

2. Define a New Method

  • Go to the data source you saved → click the ADD NEW METHOD button.
  • Fill in the required fields:
    • Name
    • Characteristic ID
    • Service ID
    • Characteristic Type (Read, Write, Notify)

3. Adding the Bluetooth Permission Is Given Action

  • Click on the method you created.
  • From the Properties panel on the right:
    • + ADD ACTION → Custom → userguide123 → Select BluetoothPermissionIsGiven_bluetooth.

Parameter Definitions

  • showAlert (Boolean): Should a warning be displayed if permission is not granted? Example: true
  • alertMessage (String) The warning message to be displayed to the user. Example: “Please grant Bluetooth permission”