Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Phone Number Parsing Issue in Messages App

Summary

The Messages app incorrectly parses phone numbers followed by a date/number, underlining part of the date along with the phone number as a dialer link.

Description

What is the current behavior?

When a phone number is followed by a date, the app incorrectly underlines part of the date as part of the clickable phone number. For example:

  • A message containing +420123456789 is correctly parsed and underlined for tapping and opening the dialer.
  • A message containing +420123456789 10.10.2024 results in +420123456789 10 being underlined, incorrectly including part of the date as part of the phone number.

What is the improved behavior?

The app should only underline the phone number (e.g., +420123456789) without including the date or other non-relevant information in the clickable link.

What does it bring?

This improvement will ensure that users can click on correctly parsed phone numbers without inadvertently selecting extra characters, such as dates, reducing the chance of dialing errors or confusion.

Mock-ups

Examples

Validation