Repository navigation
feat: auto-fill OTP verification codes from Android notifications - #303
Open
aislingheart wants to merge 1 commit into
Open
aislingheart wants to merge 1 commit into
aislingheart wants to merge 1 commit into
Conversation
aislingheart
force-pushed
the
feat/otp-autofill
branch
from
October 17, 2026 13:14
b73ee9e to
8a2c664
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Detects one-time verification codes in mirrored Android notifications and copies them to the Mac clipboard for quick pasting (Mac-local only, never synced back to Android).
How
OtpCodeExtractor(Core/Util/OTP/): keyword gate (code, otp, verification, 2fa, …) so years/prices/counts never trigger, then matches grouped (123 456,123-456,73 91 08) preferred over plain (482910), 4–8 digits, year-like 1900–2099 rejected.AppState.addNotification— the single funnel both WebSocket and BLE already flow through — gated oncontentChangedso repeat/ongoing updates don't re-copy.isOtpAutofillEnabledsetting (defaults on, persisted), toggle + hint in Sync → Clipboard Sync. Strings inen.jsononly (Crowdin picks up the rest).Verification
AirSync Self Compiledscheme: BUILD SUCCEEDED.