diff --git a/library/src/main/java/hotchemi/android/rate/AppRate.java b/library/src/main/java/hotchemi/android/rate/AppRate.java index 748ada7..ac07633 100644 --- a/library/src/main/java/hotchemi/android/rate/AppRate.java +++ b/library/src/main/java/hotchemi/android/rate/AppRate.java @@ -83,6 +83,12 @@ public AppRate clearAgreeShowDialog() { return this; } + public AppRate clearSettingsParam() { + PreferenceHelper.setAgreeShowDialog(context, true); + PreferenceHelper.clearSharedPreferences(context); + return this; + } + public AppRate setAgreeShowDialog(boolean clear) { PreferenceHelper.setAgreeShowDialog(context, clear); return this;