TP-72435 | Girish Suragani | Adverse feedback changes (#11765)

This commit is contained in:
Girish Suragani
2024-07-11 13:53:16 +05:30
committed by GitHub
parent d57f0e5159
commit 3c7d2d7281
6 changed files with 14 additions and 9 deletions

View File

@@ -30,6 +30,7 @@ import com.navi.base.utils.BaseUtils
import com.navi.common.CommonLibManager
import com.navi.common.adverse.AdverseDependencyProvider
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper.ADVERSE_NETWORK_TIMEOUT
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper.DISABLE_ALFRED
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper.PULSE_EVENT_BATCH_SIZE
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper.PULSE_EVENT_INTERVAL_IN_SECS
@@ -133,6 +134,7 @@ object NaviSDKHelper {
appVersionCode = getVersionCode(),
appVersionName = BuildConfig.VERSION_NAME,
flavor = BuildConfig.FLAVOR,
timeoutInSec = FirebaseRemoteConfigHelper.getLong(ADVERSE_NETWORK_TIMEOUT)
),
AdverseDependencyProvider()
)

View File

@@ -97,7 +97,7 @@ moengage-inapp = "6.5.0"
moengage-push-amp-plus = "6.2.1"
moengage-rich-notification = "4.3.2"
mvel2 = "2.4.15.Final"
navi-adverse = "1.0.1"
navi-adverse = "1.1.0"
navi-alfred = "1.10.0"
navi-guarddog = "3.3.0"
navi-pulse = "1.5.0"

View File

@@ -415,11 +415,10 @@ fun RenderPostPaymentScreen(
FirebaseRemoteConfigHelper.getString(
NAVI_BBPS_PPS_CROSS_SELL_AD_RE_ID
),
timeoutValueInSec =
timeoutInMillis =
FirebaseRemoteConfigHelper.getLong(
NAVI_BBPS_PPS_CROSS_SELL_AD_FALLBACK_TIMEOUT
)
.toInt(),
NAVI_BBPS_PPS_CROSS_SELL_AD_FALLBACK_TIMEOUT
),
loadingView = { CrossSellLoadingShimmer() },
fallbackView = {
CrossSellFallbackSection(

View File

@@ -184,6 +184,7 @@ object FirebaseRemoteConfigHelper {
const val UPI_PROFILE_CONFIG_SYNC_DISABLED = "UPI_PROFILE_CONFIG_SYNC_DISABLED"
const val UPI_DELAYED_ONB_SYNC_TIME = "UPI_DELAYED_ONB_SYNC_TIME"
const val ENABLE_BHARAT_QR_PARSING_LOGIC = "ENABLE_BHARAT_QR_PARSING_LOGIC"
const val ADVERSE_NETWORK_TIMEOUT = "ADVERSE_NETWORK_TIMEOUT"
const val WEB_REDIRECTION_DEFAULT_DELAY_IN_MILLIS = "WEB_REDIRECTION_DEFAULT_DELAY_IN_MILLIS"

View File

@@ -518,4 +518,8 @@
<key>NAVI_PAY_SCREENSHOT_SHARE_RECEIPT_ENABLED</key>
<value>true</value>
</entry>
<entry>
<key>ADVERSE_NETWORK_TIMEOUT</key>
<value>10L</value>
</entry>
</defaultsMap>

View File

@@ -202,11 +202,10 @@ fun PaymentSummaryTransactionDetailSectionV2(
FirebaseRemoteConfigHelper.getString(
NAVI_PAY_PPS_CROSS_SELL_AD_RE_ID
),
timeoutValueInSec =
timeoutInMillis =
FirebaseRemoteConfigHelper.getLong(
NAVI_PAY_PPS_CROSS_SELL_AD_FALLBACK_TIMEOUT
)
.toInt(),
NAVI_PAY_PPS_CROSS_SELL_AD_FALLBACK_TIMEOUT
),
loadingView = { CrossSellLoadingShimmer() },
fallbackView = {
CrossSellFallbackSection(