diff --git a/android/app/build.gradle b/android/app/build.gradle index eaa91cb9..fee8236c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -131,8 +131,8 @@ def reactNativeArchitectures() { return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } -def VERSION_CODE = 48 -def VERSION_NAME = "2.1.7" +def VERSION_CODE = 49 +def VERSION_NAME = "2.1.8" android { ndkVersion rootProject.ext.ndkVersion diff --git a/config/dev/config.js b/config/dev/config.js index ac96acb5..dfd7c367 100644 --- a/config/dev/config.js +++ b/config/dev/config.js @@ -1,4 +1,5 @@ export const BASE_AV_APP_URL = 'https://dev-longhorn-portal.np.navi-tech.in/field-app'; -export const SENTRY_DSN = 'https://acef93c884c1424cacc4ec899562e203@glitchtip.cmd.navi-tech.in/173'; +export const SENTRY_DSN = 'https://acef93c884c1424cacc4ec899562e203@qa-longhorn-portal.np.navi-tech.in/glitchtip-events/173'; export const JANUS_SERVICE_URL = 'https://dev-longhorn-portal.np.navi-tech.in/api/events/json'; export const ENV = 'dev'; +export const IS_SSO_ENABLED = false; \ No newline at end of file diff --git a/config/prod/config.js b/config/prod/config.js index 91ef6149..72f1af30 100644 --- a/config/prod/config.js +++ b/config/prod/config.js @@ -1,4 +1,5 @@ export const BASE_AV_APP_URL = 'https://longhorn.navi.com/field-app'; -export const SENTRY_DSN = 'https://5daa4832fade44b389b265de9b26c2fd@glitchtip.cmd.navi-tech.in/172'; +export const SENTRY_DSN = 'https://5daa4832fade44b389b265de9b26c2fd@longhorn.navi.com/glitchtip-events/172'; export const JANUS_SERVICE_URL = 'https://longhorn.navi.com/api/events/json'; export const ENV = 'prod'; +export const IS_SSO_ENABLED = false; \ No newline at end of file diff --git a/config/qa/config.js b/config/qa/config.js index 51eaf9bc..79d564d2 100644 --- a/config/qa/config.js +++ b/config/qa/config.js @@ -1,4 +1,5 @@ export const BASE_AV_APP_URL = 'https://qa-longhorn-portal.np.navi-tech.in/field-app'; -export const SENTRY_DSN = 'https://8e6f0a36d1a4433693cde5f20f27cfac@glitchtip.cmd.navi-tech.in/170'; +export const SENTRY_DSN = 'https://acef93c884c1424cacc4ec899562e203@qa-longhorn-portal.np.navi-tech.in/glitchtip-events/173'; export const JANUS_SERVICE_URL = 'https://qa-longhorn-portal.np.navi-tech.in/api/events/json'; export const ENV = 'qa'; +export const IS_SSO_ENABLED = false; \ No newline at end of file diff --git a/package.json b/package.json index 365617dc..a4832354 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "AV_APP", - "version": "2.1.7", + "version": "2.1.8", "private": true, "scripts": { "android:dev": "yarn move:dev && react-native run-android", diff --git a/src/constants/config.js b/src/constants/config.js index 51eaf9bc..79d564d2 100644 --- a/src/constants/config.js +++ b/src/constants/config.js @@ -1,4 +1,5 @@ export const BASE_AV_APP_URL = 'https://qa-longhorn-portal.np.navi-tech.in/field-app'; -export const SENTRY_DSN = 'https://8e6f0a36d1a4433693cde5f20f27cfac@glitchtip.cmd.navi-tech.in/170'; +export const SENTRY_DSN = 'https://acef93c884c1424cacc4ec899562e203@qa-longhorn-portal.np.navi-tech.in/glitchtip-events/173'; export const JANUS_SERVICE_URL = 'https://qa-longhorn-portal.np.navi-tech.in/api/events/json'; export const ENV = 'qa'; +export const IS_SSO_ENABLED = false; \ No newline at end of file diff --git a/src/screens/login/index.tsx b/src/screens/login/index.tsx index f08b8d89..abfb88ce 100644 --- a/src/screens/login/index.tsx +++ b/src/screens/login/index.tsx @@ -19,6 +19,7 @@ import { addClickstreamEvent } from '../../services/clickstreamEventService'; import { CLICKSTREAM_EVENT_NAMES } from '../../common/Constants'; import { StyleSheet } from 'react-native'; import Layout from '../layout/Layout'; +import { IS_SSO_ENABLED } from '../../constants/config'; interface ILoginForm { phoneNumber: string; @@ -105,6 +106,7 @@ const Login = () => { showLoader={isLoading} testID={'test_get_otp'} /> + {IS_SSO_ENABLED ? <> { dark> OR -