Skip to main content

Methods

MethodParametersReturnsNotes
GetState()PromotionStateCurrent promotion/review state
ConfigureReview(minSessions, minDaysSinceInstall, maxRequestsPerYear, cooldownDays)int, int, int, intvoidSet review eligibility thresholds
RequestReview(force)bool (optional, default false)voidShow review dialog if eligible. force: true bypasses all checks
RequestReviewAfterPositiveEvent(force)bool (optional, default false)voidSkips session/day checks. force: true bypasses all checks
CanRequestReview()boolCheck eligibility without prompting
SetNeverAskAgain(value)boolvoidPermanent opt-out
AddListener(listener)Actionvoid
RemoveListener(listener)Actionvoid

PromotionState

FieldTypeNotes
SessionCountintTotal app opens tracked
FirstSessionTimestamplongEpoch millis of first session
LastReviewRequestTimestamplongEpoch millis of last review prompt
ReviewRequestCountintTotal review prompts shown
NeverAskAgainboolPlayer opted out of reviews

Default Review Configuration

ParameterDefault
minSessions5
minDaysSinceInstall7
maxRequestsPerYear3
cooldownDays120