minibits-cash / minibits_wallet

MIT License
56 stars 6 forks source link

Disable Automatic Clipboard Pasting #38

Closed crimsonleaf363 closed 4 months ago

crimsonleaf363 commented 5 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 5 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 5 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 5 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 5 months ago

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