Skip to content

Copy version name, links and permission info to clipboard on long click in app details.

Tobias_Groza requested to merge Tobias_Groza/fdroidclient:copy-links into master

This adds support to copy the following app info to the clipboard:

  • links:
  • permissions: a long click copies the actual Android permission name to the clipboard and not the textual description of it. I thought that this is more useful than copying the permission's description. However, the shown text and the copied text differ. Is this ok?
  • version names: the version name is copied when long clicking on the whole version item.

A toast is shown informing the user that data has been copied to the clipboard on Android 32 and earlier. Newer Android versions have a clipboard popup that already tells the user that something has been copied and gives the user additional actions.

I also added a white space between the "New:" prefix and the actual permission text.

Before After
grafik.png f-droid-permissions.png

One deprecation was fixed, too.

Closes #1408 (closed)

Merge request reports