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 Linking API combined with onPress event to mimic 'a' tag behavior #59

Closed

Conversation

hichem-dahi
Copy link

Clicking on the 'a' tag on the native app, generates an error <a> "href" handling is not implemented in React Native.

This PR adds support for navigating both links and telephone numbers.

Fixes #58

@necolas
Copy link
Contributor

necolas commented Mar 25, 2024

I don't think this is quite what we want as links also need to be able to use to navigate within an app and conform to patterns used on web to implement routingwith accessible links (e.g., use of preventDefault). More like Expo router

@hichem-dahi
Copy link
Author

It's true, I didn't cover all aspects of navigation. closing this PR.
Perhaps you can cover more of what's expected in a new issue or here #58.

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

Successfully merging this pull request may close these issues.

(Feature) Implement Linking API in react native to mimic 'a' tag behavior
3 participants