storesafe / cordova-sqlite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API
Other
2.15k stars 715 forks source link

Last release 6.0.0 doesn't work with ProGuard #978

Open sergip76 opened 3 years ago

sergip76 commented 3 years ago

If I install the last release 6.0.0 of cordova-sqlite-storage, using the plugin cordova-plugin-proguard, it doesn't work when I create a signed bundle or apk to upload it to the store. It works correctly with the release 5.1.0. Does anybody know what do I have to insert in proguard-custom.txt in order to make it work?

I tried this lines but it also fails:

-keep class org.sqlite.** { *; }
-keep class org.sqlite.database.** { *; }
-keep class my.app.package.name.**

Thanks.