new AppUpdater(this) .showEvery(5)
Following the above code i have created a method where i pass duration in int value but i was unable to start the update dialog if i pass duration which is larger than 0.If i pass 0 then update dialog shows up.
I am adding my code below,
public void getUpdate(int duration, boolean shouldRepeat) {
new appUpdater.setUpdateFrom(UpdateFrom.GOOGLE_PLAY)
.setDisplay(Display.DIALOG)
.setButtonDoNotShowAgain("") // will get rid of DoNotShowAgain
.setButtonDismiss(R.string.no_thanks)
.showAppUpdated(true);
if (duration != 0) {
appUpdater.showEvery(duration); //Fire in that given duration
}
appUpdater.start();
}
new AppUpdater(this) .showEvery(5)
Following the above code i have created a method where i pass duration in int value but i was unable to start the update dialog if i pass duration which is larger than 0.If i pass 0 then update dialog shows up. I am adding my code below,