We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
react-native 0.73.x
react-native-pdf version 6.7.5
What platform does your issue occur on? both
The load complete callback doesn't happen because the code is trying to match case using upper case letters while the actual case is lower case.
Here's the fixed code (line 291 in index.js):
if (res && res.respInfo && res.respInfo.headers && !res.respInfo.headers["content-encoding"] && !res.respInfo.headers["transfer-encoding"] && res.respInfo.headers["content-length"]) { const expectedContentLength = res.respInfo.headers["content-length"];
The text was updated successfully, but these errors were encountered:
<Pdf ref={pdfRef} trustAllCerts={false} source={{ uri, }} onLoadProgress={(percent) => calculateLoadingProgress(percent)} style={{ width, height, }} onPageSingleTap={(e, x, y) => handlePosition(e, x, y)} onLoadComplete={(numberOfPages, path, { height, width }) => console.log(`height & width : ${height} ${width}`) } />
isn't these working?
Sorry, something went wrong.
No branches or pull requests
react-native 0.73.x
react-native-pdf version 6.7.5
What platform does your issue occur on? both
The load complete callback doesn't happen because the code is trying to match case using upper case letters while the actual case is lower case.
Here's the fixed code (line 291 in index.js):
if (res && res.respInfo && res.respInfo.headers && !res.respInfo.headers["content-encoding"] && !res.respInfo.headers["transfer-encoding"] && res.respInfo.headers["content-length"]) {
const expectedContentLength = res.respInfo.headers["content-length"];
The text was updated successfully, but these errors were encountered: