Open vishwajeet-gade-101 opened 2 years ago
I got the same error, any solution for this issue?
I'm getting the same error, anything beyond 30-40 mb in size on Android. Any soloution for this?
I've tried to add largeHeap="true" in android manifest and set
org.gradle.jvmargs=-Xms4096m -Xmx4096m -XX:MaxPermSize=512m
In gradle.properties.
Ive booseted the RAM on my test device I've virtually googled for 2 weeks now on the issue but nothing...
What
react-native
version are you using? "react-native": "0.62.2"What
react-native-pdf
version are you using? "react-native-pdf": "^6.4.0"What platform does your issue occur on? (android/ios/both) Android
Describe your issue as precisely as possible : I'm getting Out of Memory error when I'm trying to use larger size PDF file (base64). I want to know what is size limit for PDF file. Pdf file which I'm using is approx 60mb - 100mb with over 77 pages.
Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
const [Uri, setUri] = useState(route.params.items.base64);
`<Pdf source={{ uri: "data:application/pdf;base64," + Uri }} onLoadProgress={percent => { setPrecentageLoader(Math.round(percent * 100)); }} renderActivityIndicator={(progress) =>