Git Product home page Git Product logo

Comments (9)

andywall66 avatar andywall66 commented on August 16, 2024 1

Same issue here. It seems to be an issue at the native level. The iOS implementation of this relies on the PDFViewWillClickOnLink of the delegate - whatever that means (I am not very familiar with underlying native patterns) - and it does not get triggered when I tap on a link. So far, I've put logs in a couple of places in the native code in RNPDFPdfView.mm, and am seeing:

  • Logging at notifyOnChangeWithMessage - which sends all messages to the JS side - is working
  • Logging at handleSingleTap - is working, firing every time I single-tap, whether over a link or not
  • Logging at PDFViewWillClickOnLink - is not working.

This is with:
iOS 17.5.1
react-native 0.74.2
react-native-pdf 6.7.5
react-native-blob-util 0.19.9

And to be clear - I am not using Expo at all.

from react-native-pdf.

harrymash2006 avatar harrymash2006 commented on August 16, 2024

Any luck on this?

from react-native-pdf.

jasonxbliu avatar jasonxbliu commented on August 16, 2024

Please make sure you have installed the right version of @config-plugins/react-native-blob-util,@config-plugins/react-native-pdf, react native pdf and RN.

image image

from react-native-pdf.

TajGoud avatar TajGoud commented on August 16, 2024

@jasonxbliu we are using the cli.

"react-native": "0.73.6",
"react-native-pdf": "^6.7.5",
"react-native-blob-util": "^0.19.9",

from react-native-pdf.

jasonxbliu avatar jasonxbliu commented on August 16, 2024

@jasonxbliu we are using the cli.

"react-native": "0.73.6",
"react-native-pdf": "^6.7.5",
"react-native-blob-util": "^0.19.9",

What is the version of expo and plugin? As the screenshot I posted, as you use the version of 6.7.5, the right version of expo is expo51. I have encountered the same issue and fixed it until I made all the related version compatible. You can check it again. @TajGoud

from react-native-pdf.

SruthiVj avatar SruthiVj commented on August 16, 2024

I'm using the correct versions. But still facing the issue

from react-native-pdf.

TajGoud avatar TajGoud commented on August 16, 2024

@jasonxbliu we are using the cli.

"react-native": "0.73.6",
"react-native-pdf": "^6.7.5",
"react-native-blob-util": "^0.19.9",

What is the version of expo and plugin? As the screenshot I posted, as you use the version of 6.7.5, the right version of expo is expo51. I have encountered the same issue and fixed it until I made all the related version compatible. You can check it again. @TajGoud

Am not using expo using cli version is 12.3.2 @jasonxbliu

from react-native-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.