react-native-pdf
react-native-pdf copied to clipboard
apk size is bigger than before
at the beginning , I use the 'rn-pdf-reader-js' library, the apk size is 50M, now I use react-native-pdf to view pdf, the apk size is 64M, why is so big
is there any one konw this
I can't help here, but I'd guess the js library is smaller but slower.
But @wonday I would also like to know the size impacts of the module to a RN app. Could we somehow put that into the README?
On Android, this library bundles its own pdfium binaries. If reduced size is a priority, you could try react-native-pdf-light
(disclosure: I am the library's author). react-native-pdf-light
uses pdf renderer APIs from Android OS; cuts a lot of the install size, but means fewer features, and some unfixable render bugs on older devices.