[ECO Bounty] iopay Input Field Allows Rapid Multiple Submissions ("Double Ask")

1. Summary

The Bino AI chat interface fails to disable the "Send" button or lock the input field immediately after a message is sent. This allows a user to tap the send button multiple times in rapid succession, resulting in the same query being sent and processed twice (or more).

2. Environment

  • App: ioPay Mobile Wallet

  • Feature: Bino AI Chat

  • Version: v5.1.0 (3963)

  • Platform: Android 13

3. Steps to Reproduce

  1. Open the ioPay app.

  2. Navigate to the Bino AI section.

  3. Type a query into the message bar (e.g., "What is the price of IOTX?").

  4. Rapidly tap the "Send" arrow icon two or three times before the first message is fully processed.

4. Expected Result

Upon the first tap, the input field should be cleared and the "Send" button should be disabled (greyed out or replaced by a loading indicator) until the AI begins its response or the message is successfully queued.

5. Actual Result

The app allows the user to trigger the send action multiple times. The chat interface displays the same message twice in the chat history, and Bino AI attempts to generate two separate responses for the identical prompt.

6. Suggested Fix

  • UI Locking: Implement a "Debounce" function on the Send button to ignore subsequent clicks within a ~1000ms window.

  • State Management: Disable the button and clear the text input immediately upon the onPress event of the Send icon.

Wallet Address: io1tkw393kejmxwnd454twc6020sxcyvh5dxqmren

Device & Environment:

-Operating system: Android 13

-Device model: Redmi Note 10 Pro

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

New Issue

Date

22 days ago

Author

cryptotestnet

Subscribe to post

Get notified by email when there are changes.