diff --git a/.env.template b/.env.template index 8bab465..e922141 100644 --- a/.env.template +++ b/.env.template @@ -12,6 +12,7 @@ BEARD_URI=https://beard.shapeshift.com GOME_URI=https://gome.shapeshift.com JUICE_URI=https://juice.shapeshift.com WOOD_URI=https://wood.shapeshift.com +NEO_URI=https://neo.shapeshift.com # used for support widget, a la intercom CHATWOOT_URI=https://app.chatwoot.com diff --git a/src/components/DeveloperModeModal.tsx b/src/components/DeveloperModeModal.tsx index 69cd736..ea0343c 100644 --- a/src/components/DeveloperModeModal.tsx +++ b/src/components/DeveloperModeModal.tsx @@ -5,6 +5,7 @@ import { CAFE_URI, DEVELOP_URI, GOME_URI, + NEO_URI, JUICE_URI, RELEASE_URI, SHAPESHIFT_PRIVATE_URI, @@ -82,6 +83,11 @@ const ENVIRONMENTS: Environment[] = [ title: 'wood', url: WOOD_URI, }, + { + key: 'neo', + title: 'neo', + url: NEO_URI, + }, { key: 'localhost', title: 'localhost', diff --git a/src/lib/navigationFilter.ts b/src/lib/navigationFilter.ts index c7979f9..80e4492 100644 --- a/src/lib/navigationFilter.ts +++ b/src/lib/navigationFilter.ts @@ -12,6 +12,7 @@ import { GOME_URI, JUICE_URI, WOOD_URI, + NEO_URI, WALLETCONNECT_VERIFY_SERVER, WALLETCONNECT_VERIFY_FALLBACK_SERVER, } from 'react-native-dotenv' @@ -36,6 +37,7 @@ export const shouldLoadFilter = (request: ShouldStartLoadRequest) => { request.url.startsWith(GOME_URI) || request.url.startsWith(JUICE_URI) || request.url.startsWith(WOOD_URI) || + request.url.startsWith(NEO_URI) || request.url.startsWith(CHATWOOT_URI) || request.url.startsWith(WALLETCONNECT_VERIFY_SERVER) || request.url.startsWith(WALLETCONNECT_VERIFY_FALLBACK_SERVER) diff --git a/types/react-native-dotenv.d.ts b/types/react-native-dotenv.d.ts index b30b59f..446ed9e 100644 --- a/types/react-native-dotenv.d.ts +++ b/types/react-native-dotenv.d.ts @@ -18,6 +18,7 @@ declare module 'react-native-dotenv' { export const GOME_URI: string export const JUICE_URI: string export const WOOD_URI: string + export const NEO_URI: string /** * chatwoot support widget */