AOSP's `Patterns.PHONE` matches any run of 3+ digits, so short codes, ZIP codes, version strings, sport scores, room numbers — anything numeric — surfaced as tappable `tel:` links on Android. iOS `NSDataDetector` is locale-aware and quieter but can still emit short matches in promotional text. Filter both shims at the conventional 7-digit minimum: NANP local is 7 digits, all international numbers run 7+. Below that the match is almost certainly not a dialable number. On Android `canonical_phone` returns an empty string and `run_pattern` drops the record; on iOS the detector block bails early before emitting the match. Fixes user reports of `88773` and `75309` (a famous 7-digit run minus its area code) being incorrectly flagged.
9.0 KiB
9.0 KiB