File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,19 @@ void setMidZoom(float zoom);
117
117
void setMaxZoom(float zoom);
118
118
```
119
119
120
+ ## Possible questions
121
+ ### Why resulting apk is so big?
122
+ Android PdfViewer depends on PdfiumAndroid, which is set of native libraries (almost 16 MB) for many architectures.
123
+ Apk must contain all this libraries to run on every device available on market.
124
+ Fortunately, Google Play allows us to upload multiple apks, e.g. one per every architecture.
125
+ There is good article on automatically splitting your application into multiple apks,
126
+ available [ here] ( http://ph0b.com/android-studio-gradle-and-ndk-integration/ ) .
127
+ Most important section is _ Improving multiple APKs creation and versionCode handling with APK Splits_ , but whole article is worth reading.
128
+ You only need to do this in your application, no need for forking PdfiumAndroid or so.
129
+
130
+ ## One more thing
131
+ If you have any suggestions on making this lib better, write me, create issue or write some code and send pull request.
132
+
120
133
## License
121
134
122
135
Created with the help of android-pdfview by [ Joan Zapata] ( http://joanzapata.com/ )
You can’t perform that action at this time.
0 commit comments