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

onLinkHandle : how to stop open safari browser after click link inside PDF and just get value text http:// without open safari #105

Closed
suxma opened this issue Sep 30, 2020 · 2 comments

Comments

@suxma
Copy link

suxma commented Sep 30, 2020

I use iPhone 11 iOS 13.3 for test my project.

I used onLinkHandle for handle value text link when click a link ( http://domain.com ) inside PDF File.
But always safari browser will open after click the link inside pdf file (for example link is "https://pub.dev". )

Can I stop open safari browser after click link inside PDF File, and just get text link with onLinkHandle without open safari browser?

@endigo
Copy link
Owner

endigo commented Oct 1, 2020

In that case, you need to set not only onLinkHandle but also preventLinkNavigation to true.

@endigo endigo closed this as completed Oct 1, 2020
@suxma
Copy link
Author

suxma commented Oct 2, 2020 via email

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

No branches or pull requests

2 participants