minibits-cash / minibits_wallet

MIT License
74 stars 7 forks source link

Disable Automatic Clipboard Pasting #38

Closed crimsonleaf363 closed 8 months ago

crimsonleaf363 commented 10 months ago

The current version of the app automatically pastes content from the clipboard when it is opened.

Feature

Introduce a toggle in the app's settings to enable or disable automatic clipboard pasting.

Benefit

Users can choose whether they prefer the convenience of automatically pasting clipboard content.

minibits-cash commented 10 months ago

Thank you for your request.

As I am aware of, there is no automatic clipboard pasting as of now. Where used (tokens, urls, addresses) user needs to press the Paste button.

There is an empty stub function to read clipboard in WalletScreen.tsx, however it's used in dev only (tracing is available only in dev environment)

If you'd point out where such thing happens, please leave a comment, I'll fix that.

crimsonleaf363 commented 9 months ago

Thank you for your request.

As I am aware of, there is no automatic clipboard pasting as of now. Where used (tokens, urls, addresses) user needs to press the Paste button.

There is an empty stub function to read clipboard in WalletScreen.tsx, however it's used in dev only (tracing is available only in dev environment)

If you'd point out where such thing happens, please leave a comment, I'll fix that.

When I open the app with text in my clipboard, a popup message appears: "MiniBits pasted from your clipboard."

To Reproduce

  1. Copy text to your clipboard.
  2. Open MiniBits
  3. See message

Device:

minibits-cash commented 9 months ago

Hi thank you for coming back with more detailed information.

I have just released over the air update for version 0.1.6 that removes reading of clipboard in WalletScreen.tsx. It might be that GrapheneOS tracks it and pops up the warning despite of the fact, that clipboard is not logged outside of development environment.

If so, you should stop to see the warning after updating to v0.1.6-beta.2. Please restart app or go to Settings screen to get the OTA update and report the result.

crimsonleaf363 commented 9 months ago

After the latest update, I no longer see the pop-up message.