nextcloud / nextcloud/notes-android

Option to disable automatic phone number detection

Open
#1,460 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Editor::Plain enhancement
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

Is your feature request related to a problem? Please describe.
Hi! I'm trying to write down bank account numbers (groups of 3-3-4 digits separated by spaces), but the app detects and formats them as phone numbers (note that 3-3-4 is not even a valid phone number format in my country). Clicking them by accident opens up the Phone app, which is annoying.

Describe the solution you'd like
I would like to completely disable automatic detection of phone numbers, either globally or for individual notes. Personally I have never needed to click phone numbers in a notes app, so it would be nice to have the option to disable automatic detection and formatting of phone numbers.

Describe alternatives you've considered

  • I looked at the markdown syntax reference, but there was no mention of phone number parsing. I found that wrapping the number inside a code block works, but it doesn't make semantic sense.
  • An alternative solution might be to fix phone number detection to understand phone number formats based on the user's country, but that seems needlessly complicated, still prone to false positives, and could cause issues for users who take notes with international numbers.

Additional context
I'm using 3.4.18 with Android 9.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Android client's automatic phone-number detection and formatting entry points; the payload does not name specific files or tests. Determine how a global or per-note setting could control detection, then verify that disabled detection leaves bank-account-like numbers unformatted and non-interactive.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.