You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to retrieve data from device localStorage in apps that are released through Google Play (on any track), an error pops up: Preferences plugin is not implemented. This issue does not appear during development, can be fixed when minifyEnabled is set to false in de build.gradle file and does not appear for other plugins. As such, it seems like ProGuard possibly removes references to the Preferences plugin.
Expected Behavior
Preferences plugin can be used while minifyEnabled can be set to true to reduce filesize.
Code Reproduction
Since the issue only appears on apps published through the Play Store, I am unable to reproduce this issue!
The text was updated successfully, but these errors were encountered:
This issue needs more information before it can be addressed.
In particular, the reporter needs to provide a minimal sample app that demonstrates the issue.
If no sample app is provided within 15 days, the issue will be closed.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
Bug Report
Plugin(s)
Capacitor Version
Platform(s)
Android
Current Behavior
When trying to retrieve data from device localStorage in apps that are released through Google Play (on any track), an error pops up:
Preferences plugin is not implemented
. This issue does not appear during development, can be fixed whenminifyEnabled
is set tofalse
in de build.gradle file and does not appear for other plugins. As such, it seems like ProGuard possibly removes references to the Preferences plugin.Expected Behavior
Preferences plugin can be used while
minifyEnabled
can be set totrue
to reduce filesize.Code Reproduction
Since the issue only appears on apps published through the Play Store, I am unable to reproduce this issue!
The text was updated successfully, but these errors were encountered: