update sentry config TP-24634 (#234)
* update sentry config TP-24634 * add to config SSO feature TP-24634 * add versioning TP-24634
This commit is contained in:
committed by
GitHub Enterprise
parent
644fb45fd4
commit
cf7a81b5c7
@@ -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
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
@@ -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 ? <>
|
||||
<Text
|
||||
style={[
|
||||
GenericStyles.centerAlignedText,
|
||||
@@ -114,13 +116,15 @@ const Login = () => {
|
||||
dark>
|
||||
OR
|
||||
</Text>
|
||||
<Button
|
||||
<Button
|
||||
title="SSO login for Navi Employees"
|
||||
onPress={signInWithGoogle}
|
||||
style={[GenericStyles.w100, GenericStyles.mt24]}
|
||||
showLoader={isLoading}
|
||||
testID={'test_sso_login'}
|
||||
/>
|
||||
/>
|
||||
</>
|
||||
: null }
|
||||
</SafeAreaView>
|
||||
</Layout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user