Questions tagged [react-native-pdf]

37 questions
29
votes
8 answers

Execution failed for task ':app:mergeDebugNativeLibs'. in react native

I installed react-native-pdf and now when I run "npx react-native run-android", it fails with the following: * What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. > A failure occurred while executing…
zainal abidin
  • 363
  • 1
  • 3
  • 12
15
votes
1 answer

Facing ReactNativeBlobUtil request error in React Native

I was facing issue in React Native when using react-native-pdf to display pdf in App logs displayed in console: Error: ReactNativeBlobUtil request error: java.lang.IllegalStateException: Use of own trust manager but…
راجہ مخلص
  • 1,177
  • 6
  • 15
5
votes
1 answer

react-native-pdf iOS and Android build errors

Tried to create build in iOS and Android. App is using react-native-pdf library. Getting build errors Error: Unable to resolve module react-native-blob-util from /Users/runner/work/1/s/node_modules/react-native-pdf/index.js: react-native-blob-util…
Harish Kumar Kailas
  • 419
  • 1
  • 5
  • 10
5
votes
1 answer

React Native PDF Signature

I’m trying to implement a pdf digital signature component for a react-native app. I am using react-native-pdf for rendering the pdf on the screen and react-native-draggable for dragging the signature on top of the pdf view. With…
uokesita
  • 191
  • 1
  • 11
4
votes
2 answers

Use react-native-view-pdf shows blank view

I use react-native-view-pdf, React Native version is 0.59.5 https://github.com/rumax/react-native-PDFView I just follow the tutorial but show blank screen. I can't figure it out. I don't know why they are showing empty screens. Step1: npm install…
Morton
  • 5,380
  • 18
  • 63
  • 118
2
votes
0 answers

Failed to resolve Plugins for module react-native-blob-util and react-native-pdf

I am using expo Version : 46.0.0 and i want to install react-native-pdf but the mention module requires react-native-blob-util after installing both and adding plugins in app.json i am getting error for failed to resolve plugins. Can anyone help me…
2
votes
0 answers

Load pdf failed - react-native-pdf - ios

im trying to load pdf using react-native-pdf it works for most of the pdfs, but for some it throws an error "load pdf failed" i am getting the pdf in base64 state and pass it to react-native-pdf. ive looked everywhere and cant find a fix. any idea…
eyal gromzin
  • 155
  • 2
  • 11
2
votes
1 answer

React-Native-pdf load failed on ios after got path with document Picker

i'm using react-native-document-picker to select a PDF. After the selection i'm passing the URI of the file to PDF of react-native-pdf. It returns me this error, but only on iOS. In Android works fine. Any suggestions? ON ERROR --- Error: Load pdf…
denno
  • 129
  • 1
  • 4
  • 17
2
votes
1 answer

React-Native, Pdf showing on android simulator but getting error on actual android device

I have installed react-native-pdf and rn-fetch-blob packages to show pdf file.It work's fine on simulator but for some reason i am getting "Error: open failed: ENOENT (No such file or directory)". Here is my code below: import React, { Component }…
1
vote
1 answer

ERROR TypeError: null is not an object (evaluating '_NativeBlobUtils.default.getConstants') while integrating "react-native-pdf"

ERROR TypeError: null is not an object (evaluating '_NativeBlobUtils.default.getConstants') WARN Module RNFetchBlob requires main queue setup since it overrides `constantsToExport` but doesn't implement `requiresMainQueueSetup`. In a future…
Surezz
  • 561
  • 4
  • 12
1
vote
0 answers

Does the PDFTron support get image from api in react native?

is there a way to select image data from API as signature then paste it in pdf instead of selecting image from gallery/photo/camera in react-native-pdftron ?
1
vote
1 answer

React/RCTBlobManager.h file not found in react-native-pdf issue

My React Native version is 0.60.5 . I tried to installed react-native-view-pdf library .While Building Xcode it is throwing error says "React/RCTBlobManager.h file not found in react-native-pdf issue"
1
vote
0 answers

react-native-pdf, ios, somtimes writes cant open pdf file

im trying to show a file using react-native-pdf i pass the base 64 to to the component . and it works for most pdfs. but for 1 of them it doesnt . for the pdf that doesnt work on ios, it works on android. i tried with and without caching. tried…
1
vote
0 answers

how to convert file in pdf and download in react native

I am trying to convert in pdf and download to my phone . I am trying below example . I have done npm i react-native-html-to-pdf and below code . But after presing "Download Receipt" it is coming to the fucntion but after that app is getting crash…
1
vote
1 answer

Getting the exact x and y coordinates on react-native using react-native-pdf

Im trying to create a PDF viewer and modify it by inserting items(text, images) to the exact x and y coordinates on a PDF our app. Im using the react-native-pdf to view the pdf @skynetcmg47/react-native-drag-resize to drag and resize, and…
rzurita
  • 11
  • 6
1
2 3