storesafe/cordova-sqlite-storage

Driver.so files in apk

jntr06 opened this issue · 4 comments

Hi Chris,
This plugins include five driver.so files in apk file of the app which increase the app size by almost 2 mb. I do not want to change the plugin as it works absolutely fine in my app. Is there any way we can avoid these files to reduce the app size.

You could leave some of the *.so files out. For example: if you omit 64-bit *.so files then it should work on 32-bit platform. Also you may not want both armeabi and armeabi-v7a libs. But you have to do this for all libraries. For example: if you omit 64-bit *.so files for this plugin but NOT for another library then it will not work. Also for armeabi and armeabi-v7a.

Next major release may be make without the *.so files ref: #687

Chris
Thanks for your response on this. That would be great, sqlite without the so files.
Any timeline for next major release. By when we can expect this to be available.

Unfortunately I really cannot make any promises due to some other urgent issues and commitments. As I said in #729 (comment) I may support this in a special "express" version instead.

New express version without the *.so objects is now tracked in #740, closing this one.