When using one time code AutoFill feature, iMessage doesn't seem to recognize codes with a dash in them ( - ).
For example:
works: "your code is 1234", "the one time code is 334576"
won't work: "your code is 12-3456", "the one time code is 31-2222"
Is this intended?
Replies
I don’t think we document exactly how we determine whether a message allows for Security Code AutoFill. It’s more of a user thing that a developer thing. We did talked about this a little when we introduced the technology, WWDC 2018 Session 204 Automatic Strong Passwords and Security Code AutoFill, but I don’t recall how much depth we went into.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
ps DTS is closed 21 Dec through 1 Jan.
I believe it was documented that you will look for keywords such as "code" and identify the next number as the code, but it doesn't seem to consider it a number if it has a dash in it.
I believe it was documented …
OK, then it sounds like it’s working as documented then. If that current design is causing you grief, the best way to request a change is to file a bug report.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
ps DTS is closed 21 Dec through 1 Jan.