From e637798e05ba3bfc1c78be1b0f70e8b0ac22554d Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 16 Nov 2023 11:16:31 -0800 Subject: Refactor account-creation to use react-query and a reducer (react-query refactor) (#1931) * Refactor account-creation to use react-query and a reducer * Add translations * Missing translate --- src/lib/constants.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/constants.ts') diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 89c441e98..f8f651305 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,4 +1,10 @@ -import {Insets} from 'react-native' +import {Insets, Platform} from 'react-native' + +export const LOCAL_DEV_SERVICE = + Platform.OS === 'android' ? 'http://10.0.2.2:2583' : 'http://localhost:2583' +export const STAGING_SERVICE = 'https://staging.bsky.dev' +export const PROD_SERVICE = 'https://bsky.social' +export const DEFAULT_SERVICE = PROD_SERVICE const HELP_DESK_LANG = 'en-us' export const HELP_DESK_URL = `https://blueskyweb.zendesk.com/hc/${HELP_DESK_LANG}` -- cgit 1.4.1