AutoFill and OTP Notifications

zwaldowski
zwaldowski
Community Member

Hey, all! I'm so excited about Password Autofill in iOS 12. I'm quite pleased with the use of a local notification to replace the "Copied One-Time Password to Clipboard" popup in the action extension. (Aside: I kind of prefer it!) However, I think they should expire pretty quickly and not stay in Notification Center. Ideally, it should never go into Notification Center at all and just be completely transient. Otherwise, maybe the extension can request background time and pull the notification at the end of it? I haven't had to do this before with the notifications API, so I'm completely spitballing here.


1Password Version: 7.2 (70200001)
Extension Version: N/A
OS Version: 12.0 beta 9
Sync Type: N/A

Comments

  • Hey @zwaldowski, thanks for the feedback! We've been looking into this exact thing. Your suggestion is a good one, however beginBackgroundTaskWithName:expirationHandler: is a method on UIApplication and there is no UIApplication instance inside of the Password AutoFill extension.

This discussion has been closed.