mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 11:13:14 +00:00
Keychain token storage, Axios client with async token injection, Cognito PKCE auth via react-native-app-auth, Redux auth slice, TanStack Query config, offline draft queue with NetInfo auto-submit, and SHOC theme.
12 lines
387 B
TypeScript
12 lines
387 B
TypeScript
const Config = {
|
|
API_URL: __DEV__
|
|
? 'http://localhost:5000/api'
|
|
: 'https://api.proposals.seahaven.com/api',
|
|
COGNITO_DOMAIN: 'proposal-system.auth.us-east-1.amazoncognito.com',
|
|
COGNITO_CLIENT_ID: '',
|
|
COGNITO_USER_POOL_ID: '',
|
|
COGNITO_REDIRECT_URI: 'com.seahavenind.proposals://auth/callback',
|
|
COGNITO_SCOPES: ['openid', 'email', 'profile'],
|
|
};
|
|
|
|
export default Config;
|