reevaluateTestMode

fun reevaluateTestMode(config: Config? = configState.value.getConfig(), appUserId: String? = null, aliasId: String? = null)(source)

Re-evaluates test mode with the current identity and config. If test mode was active but the current user no longer qualifies, clears test mode and resets subscription status. If a new user qualifies, activates test mode and shows the modal.