Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Phone Number Linking #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukenewman
Copy link

This PR adds PhoneNumberLinkifier (phone_number.dart) that parses phone numbers and allows opening of phone number URLs (tel:##########).

@lukenewman
Copy link
Author

I have tested this on iOS but not on Android. I have no physical Android device to test this on.

@Cretezy
Copy link
Owner

Cretezy commented Mar 5, 2021

Sorry I haven't been able to address this sooner.

Could you please add tests? It's unclear from the regex what type of phone numbers (they are multiple formats internationally) are support from this. Additionally, adding some docs in the README would be useful. I wouldn't activate this as a default linkifier as it may parse non-phone numbers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants