The Forgot Device action deletes a previously paired or connected Bluetooth device from the application memory. This action is used when the device needs to be forgotten—for example, when a device is no longer in use, there is a user change, or you want to re-pair the device after connection issues.
Technical Specifications
1. Bluetooth Datasource Definition
2. Creating a New Bluetooth Method
3. Add the Forgot Device Action
Parameter Definitions
This action does not require any special parameters. The action is performed through the Bluetooth data source to which it is linked.
In a manufacturing facility, a field worker is no longer using the Bluetooth-enabled barcode reader they previously paired with and wants to connect to a new device. For this process, the application must forget the current device and then scan for new devices.
1. Go to the UI Design module.
2. When this button is clicked, add the following action from the + ADD ACTION menu to forget the current device:
3. As the next action, add the following to scan for new devices:
With this flow, when the user clicks the “Forget Device” button, the current pairing is removed first, then new devices are scanned and listed. This allows the user to easily pair with another barcode reader.
Technical Risks and Precautions
The Forgot Device action is ideal for clearing the history of Bluetooth devices in your mobile apps and simplifying connection management. It provides a powerful and secure way to reset the user's device usage history and re-establish connections.