-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
version installed:
"react-native": "0.83.1",
"react-native-pdf-light": "^3.0.1",
"react-native-gesture-handler": "^2.30.0",
sample code
import React from 'react';
import { ZoomPdfView } from 'react-native-pdf-light/Zoom';
import { PdfUtil } from 'react-native-pdf-light';
const source = {
uri: 'https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf',
};
PdfUtil.getPageCount(source.uri).then(count => {
console.log('🚀 ~ count:', count);
});
export const HelpScreen = () => {
return (
<ZoomPdfView
page={1}
source={source.uri}
style={{ flex: 1 }}
onLoadComplete={() => {
console.log('🚀 ~pdf onLoadComplete');
}}
onError={() => {
console.log('🚀 ~pdf onError');
}}
/>
);
};
while building the iOS application getting this error
'react_native_pdf_light-Swift.h' file not found
Please check the screenshot
@alpha0010 please check and provide the solution. Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working