twofas / 2fas-ios

Source code for 2FAS iOS app
GNU General Public License v3.0
505 stars 38 forks source link

Feature Request: interactable Widget #56

Closed chillSeCdW closed 6 months ago

chillSeCdW commented 9 months ago

It would be awesome to copy my tokens when pressing on the entry of the widget. Currently this just opens the app, where I have to search for the Entry and copy it from there.

adocyn commented 9 months ago

@chillSeCdW Hi, widgets (fixes for iOS 17 and probably some interactivity) are queued for 5.3. We're currently working on 5.2 so it will take some time.

adocyn commented 6 months ago

We've implemented the interaction for widgets but it's very limited. The idea was to copy to Pasteboard from within the widgets but it's not possible, because of a security measure on iOS side. Simply put - we can't access that resource from within the widget "app". So we're opening the 2FAS app, like the tap on widgets would, but there's a "copy token" action associated with that. Not ideal, but best we can do with this limited functionality.