NTP-62863 | add personalised_offer changes (#16236)

Co-authored-by: Kamalesh Garnayak <Kamalesh.Garnayak@navi.com>
Co-authored-by: ayushmansharma <ayushman.sharma@navi.com>
This commit is contained in:
Venkat Praneeth Reddy
2025-05-22 12:47:41 +05:30
committed by GitHub
parent a5e33c10da
commit b65ccba55f
28 changed files with 1225 additions and 172 deletions

View File

@@ -232,11 +232,15 @@ constructor(
SpecialRewardType.IPL_REWARD -> {
processIplRewardGratification(requestId = requestId, screenName = screenName)
}
else -> {
processRewardGratification(requestId = requestId, screenName = screenName)
}
}
}
private suspend fun processRewardGratification(requestId: String, screenName: String) {
scratchCardNudgeHelperV1
scratchCardNudgeHelperV2
.getGratification(requestId = requestId, screenName = screenName)
.collect { gratificationStatus ->
processRewardGratificationCallback(gratificationStatus, screenName)