File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed
main/java/com/pdffromimage
oldarch/java/com/pdffromimage Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 33 React Native Pdf From Image Library
44</h1 >
55
6- Generate PDF documents from an array images.
6+ Generate PDF documents from an array of images.
77
88<p align =" center " >
99 <a href =" https://www.npmjs.com/package/react-native-pdf-from-image " >
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ class PdfFromImageModuleImpl {
7979 document.writeTo(FileOutputStream (documentFile))
8080 document.close()
8181
82- // create result map
8382 val filePath = documentFile.path
8483 resultMap.putString(" filePath" , filePath)
8584 } catch (e: FileNotFoundException ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import java.io.File
1212class PdfFromImageModule (
1313 context : ReactApplicationContext ,
1414) : ReactContextBaseJavaModule(context) {
15- // declare an instance of the implementation and use it in all the methods
1615 private var implementation: PdfFromImageModuleImpl = PdfFromImageModuleImpl ()
1716
1817 override fun getName (): String = PdfFromImageModuleImpl .NAME
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-pdf-from-image" ,
33 "version" : " 0.3.3" ,
4- "description" : " Generate PDF documents from an array images." ,
4+ "description" : " Generate PDF documents from an array of images." ,
55 "source" : " ./src/index.tsx" ,
66 "main" : " ./lib/commonjs/index.js" ,
77 "module" : " ./lib/module/index.js" ,
You can’t perform that action at this time.
0 commit comments