Forgot Device Action Advanced Customizations

  • Automatic Device Forgetting: In case of a specific error code (e.g., connection_failed), the device is forgotten with notify and confirmation steps added to the scenario.
  • Deletion with User Confirmation: A modal screen asking “Do you want to forget this device?” is displayed to obtain user confirmation; after confirmation, the device is forgotten. This process is controlled with notify and confirmation steps created according to the scenario.
  • Conditional Forgetting: Can be controlled with an If-Then-Else structure, such as “Forget if the connected device is X, otherwise skip.”
  • Notification Display: After the device is forgotten, the user can be notified with Notify.

Technical Risks and Precautions

  • Deletion While Active Connection: If the device is still connected, the Disconnect action must be applied first.
  • Data Loss Risk: If data has not been transferred from the device before it is forgotten, this information may be lost.
  • Wrong Device Deletion: Device name verification is recommended to prevent the user from deleting the wrong device.
  • Reconnection Problem: Some devices may experience problems reconnecting after being forgotten; therefore, the Scan → Pair → Connect sequence should be applied.

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.