Questions tagged [react-native-pdf]
37 questions
0
votes
0 answers
React native pdf - cannot view pdf in android
I am using react-native Expo, and using react-native-pdffor viewing the pdf.
However, in android device, users cannot view the pdf, but they can view the pdf in IOS device.
The url I am…

CCCC
- 5,665
- 4
- 41
- 88
0
votes
0 answers
How can I get to know that pdf is password protected or not in react native
I am using react-native document-picker for pick pdf in react native
How can I get to know that the pdf I choose which is password protected or not without opening pdf file, if pdf is password protected then open a input pop or show input field…

Abdul Rehman
- 37
- 5
0
votes
1 answer
Why is my PDF not displayed in a modal in React Native?
I'm building a React Native app using Expo and I have a modal that opens when the user taps on a document. The modal contains a PDF component using react-native-pdf and the source is set dynamically when the user selects a document. However, the PDF…

Imaddin
- 11
0
votes
0 answers
How to convert pixel coordinates in 1/72 inches?
guys. I am working on documents signature implementation. It have few steps:
User see PDF file and should tap on the place where signature should be placed. On this step I'm using https://github.com/wonday/react-native-pdf this library to display…

Stas Motorny
- 141
- 1
- 8
0
votes
0 answers
Why is the react native pdf module not working
I am trying to build an app that renders a pdf and I am getting errors for every module I am trying.
I am right now tring the react-native-pdf module.
As a template, I am using the template in the git hub post :
import * as React from…

Samy35
- 11
- 2
0
votes
0 answers
pdf preview using react-native-pdf not working
I am trying to open a open a pdf in my application through react-native-pdf. I am able to see current page number and total page number in debug console. But my pdf is not opening in my application. If you have any solution, please answer.
Here I…
0
votes
1 answer
Local PDF not loading iOS react native pdf
I want to load my local PDF in PDF view so i am using this plugin for that https://www.npmjs.com/package/react-native-pdf
So below is my code
let finalURL = require('../../html/html/pdf/VIVJOA-Full-Prescribing-Information.pdf')
const source = {
…

Harshal Kalavadiya
- 2,412
- 4
- 38
- 71
0
votes
0 answers
Why would a react native package ask you to install another package separately?
I'm using react-native-pdf in my React Native app, and it says you should install react-native-pdf and react-native-blob-util. Why would it ask us to install react-native-blob-util rather than its just being a dependency in react-native-pdf?

gkeenley
- 6,088
- 8
- 54
- 129
0
votes
0 answers
How to solve Duplicate symbols for architecture x86_64 under Xcode
I want to show a pdf in React native iOS. But the pdf is not properly display in iOS. Its seems like the pdf is corrupted but same pdf on android is showing properly without any issue.
I am greeting below error after installing react-native-pdf and…
0
votes
0 answers
React Native PDF signature using React-Native-PDF in Expo
all,
I am having issue to place the signature to the correct place in my project which is using react-native-pdf library.
Most code are referenced this article: https://medium.com/alameda-dev/react-native-pdf-digital-signature-b63e12cdc714
The…

QIAN TANG
- 81
- 2
0
votes
0 answers
Extracting text from PDF in React Native?
I have this component that allows the user to pick a file from their device:
import React, { useState } from "react"
import { StyleSheet, Text, View, Button, TouchableOpacity } from "react-native"
import * as DocumentPicker from…

DingleberrySmith
- 83
- 10
0
votes
1 answer
Cannot scroll pdf file in android app using react-native-pdf
I have used react-native-pdf in my app, basically the top portion is the pdf, while at the bottom part there can be links, or text.
it is working fine in on ios, which means the pdf scrolls perfectly but in android, it is not scrolling when there is…

apkr x
- 11
- 3
0
votes
1 answer
how can i dowload react native Component file without using url as PDF formate
I am trying to create and download react-native component as pdf file

Yaswanth
- 1
- 3
0
votes
0 answers
React Native Pdf not showing
When using react-native-pdf and the example uri provided it does not appear in my app. A loading bar is only displayed. Does anyone know what may be causing this issue?
Loading bar displayed underneath messages:
Code below:
return

AJDee
- 147
- 1
- 14
0
votes
1 answer
react-native-pdf cannot set currentPage state to show up on display
i've done the react-native-pdf to show the slides of my pdf file. But, I want to set the current page state to show up on the display. And when the value is set, it'll refresh that screen and goes back to the first page automatically.
this is my…

Surapat Pongsuwan
- 57
- 1
- 7