wonday / react-native-pdf

A <Pdf /> component for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HyperLinks on onPressLink is not working in IOS.

TajGoud opened this issue · comments

In the PDF package, hyperlinks are functioning correctly on Android, but the onPressLink functionality is not working as expected on iOS.

<Pdf
source={
description.PrivacyPolicy
}
onLoadProgress={() => setLoading(true)}
onLoadComplete={() => setLoading(false)}
trustAllCerts={false}
enableDoubleTapZoom={false}
style={styles.pdfView}
renderActivityIndicator={() => }
onPressLink={uri => Linking.openURL(uri)}
/>

Any luck on this?