NTP-36470 | Value prop page improvements (#15222)
This commit is contained in:
@@ -10,6 +10,7 @@ package com.naviapp.registration.helper
|
||||
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper
|
||||
import com.navi.common.firebaseremoteconfig.FirebaseRemoteConfigHelper.LOGIN_OTP_SENDER_ID
|
||||
import com.navi.common.utils.log
|
||||
import com.naviapp.utils.Constants.NAVIHQ
|
||||
import com.naviapp.utils.Constants.RegistrationConstants.SENDER_NAME_SUFFIX
|
||||
import java.util.regex.Pattern
|
||||
|
||||
@@ -31,7 +32,9 @@ fun parseCode(message: String?): String? {
|
||||
fun generateSenderNames(): List<String> {
|
||||
val senderId = FirebaseRemoteConfigHelper.getString(LOGIN_OTP_SENDER_ID, SENDER_NAME_SUFFIX)
|
||||
val alphabet = ('A'..'Z').toList()
|
||||
return alphabet.flatMap { char1 -> alphabet.map { char2 -> "$char1$char2$senderId" } }
|
||||
val senderNames =
|
||||
alphabet.flatMap { char1 -> alphabet.map { char2 -> "$char1$char2$senderId" } }.plus(NAVIHQ)
|
||||
return senderNames
|
||||
}
|
||||
|
||||
enum class SenderVerificationStatus {
|
||||
|
||||
@@ -240,6 +240,7 @@ object Constants {
|
||||
const val PAGER_SCROLL = "pager_scroll"
|
||||
const val STATUS = "status"
|
||||
const val HTTP_REGEX = "^https?://"
|
||||
const val NAVIHQ = "NAVIHQ"
|
||||
|
||||
object Notification {
|
||||
const val HIDE_NOTIFICATION_COUNT = "hideNotificationCount"
|
||||
|
||||
@@ -96,7 +96,7 @@ navi-elex = "1.11.1"
|
||||
navi-guarddog = "3.14.0"
|
||||
navi-pulse = "1.15.0"
|
||||
navi-traceflow = "1.0.0"
|
||||
navi-uitron = "3.4.0"
|
||||
navi-uitron = "3.5.0"
|
||||
navigation = "2.8.5"
|
||||
okhttp-bom = "4.12.0"
|
||||
payu-checkoutPro = "2.4.3"
|
||||
|
||||
Reference in New Issue
Block a user