ably / ably-asset-tracking-swift

iOS client SDKs for the Ably Asset Tracking service.
Apache License 2.0
9 stars 6 forks source link

Allow copy/paste on Uploads view #482

Closed mikelee638 closed 1 year ago

mikelee638 commented 1 year ago

As an AAT iOS tester, I want to be able to copy and paste the upload file names in Settings > Uploads in the publisher example app so that when providing feedback, I don't have to type out the file names.

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3121

lawrence-forooghian commented 1 year ago

Dropping a note here: Had a quick look into how we might implement this and so far came away confused. The standard hold-and-press-copy (see this SO post for image) comes from UIMenuController, now replaced by UIEditMenuInteraction, neither of which seem to have a SwiftUI equivalent.

Here's some more info from the HIG about the Edit menu.

Perhaps we just add a button or use some other kind of SwiftUI menu. Or we do the UIKit bridging.

lawrence-forooghian commented 1 year ago

@mikelee638 just to mention, the implemented solution only works on iOS 15 and above. If this turns out to be a problem we can come up with something else.