Bug 513896 - OTP code not detected in Apple ID SMS on Windows
Summary: OTP code not detected in Apple ID SMS on Windows
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: desktop-application (other bugs)
Version First Reported In: 25.11.80
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-27 22:36 UTC by Bruno
Modified: 2025-12-27 22:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2025-12-27 22:36:31 UTC
SUMMARY
OTP code not detected in Apple ID SMS on Windows (KDE Connect 25.11.80)

STEPS TO REPRODUCE
1. Pair an Android phone with KDE Connect 25.11.80 on Windows
2. Receive an Apple ID verification SMS forwarded by KDE Connect
3. Observe the SMS notification on Windows

Example SMS text (dummy code):
"Your Apple ID verification code is:  123456"
(note the double space before the code)

OBSERVED RESULT
The SMS notification is shown correctly, but the OTP code is not detected and the "Copy code" button is missing.

EXPECTED RESULT
The OTP code should be detected and a "Copy code" button should be shown in the notification.

SOFTWARE/OS VERSIONS
Windows: Windows 10 / Windows 11
macOS: N/A
Linux/KDE Plasma: N/A
KDE Plasma Version: N/A
KDE Frameworks Version: N/A
Qt Version: N/A

ADDITIONAL INFORMATION
Likely caused by overly strict OTP regex not handling double spaces or Unicode formatting common in iPhone SMS.