mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-19 10:51:19 +00:00

- Update outdated Expo packages to latest compatible versions - Remove unmaintained expo-random package - Remove unnecessary @types/react-native package - Configure eas.json with preview and production profiles for iOS - Fix updates URL in app.json with correct project ID - Add /android and /ios to .gitignore to resolve workflow conflict - Create comprehensive iOS TestFlight submission guide - Add production flag in theme constants - Hide development-only Programs tab in production builds - Remove debug UI and console logs from social feed in production - Update CHANGELOG.md with TestFlight preparation changes All checks from expo-doctor now pass (15/15).
61 lines
1.4 KiB
TypeScript
61 lines
1.4 KiB
TypeScript
// lib/theme/constants.ts
|
|
import { COLORS } from './colors';
|
|
|
|
/**
|
|
* Application configuration
|
|
*/
|
|
|
|
/**
|
|
* Set to true for production builds (TestFlight, App Store)
|
|
* This should be automatically configured based on the EAS build profile
|
|
*
|
|
* For local development, keep this as false
|
|
* For TestFlight/App Store builds, set to true
|
|
*/
|
|
export const IS_PRODUCTION = true;
|
|
|
|
/**
|
|
* App version information
|
|
*/
|
|
export const APP_VERSION = '1.0.0';
|
|
|
|
export interface NavigationThemeColors {
|
|
background: string;
|
|
border: string;
|
|
card: string;
|
|
notification: string;
|
|
primary: string;
|
|
text: string;
|
|
tabActive: string;
|
|
tabInactive: string;
|
|
tabIndicator: string;
|
|
}
|
|
|
|
export const NAV_THEME: {
|
|
light: NavigationThemeColors;
|
|
dark: NavigationThemeColors;
|
|
} = {
|
|
light: {
|
|
background: COLORS.light.background,
|
|
border: COLORS.light.border,
|
|
card: COLORS.light.card,
|
|
notification: COLORS.destructive,
|
|
primary: COLORS.purple.DEFAULT,
|
|
text: COLORS.light.foreground,
|
|
tabActive: COLORS.light.foreground,
|
|
tabInactive: COLORS.light.mutedForeground,
|
|
tabIndicator: COLORS.purple.DEFAULT,
|
|
},
|
|
dark: {
|
|
background: COLORS.dark.background,
|
|
border: COLORS.dark.border,
|
|
card: COLORS.dark.card,
|
|
notification: COLORS.destructive,
|
|
primary: COLORS.purple.DEFAULT,
|
|
text: COLORS.dark.foreground,
|
|
tabActive: COLORS.dark.foreground,
|
|
tabInactive: COLORS.dark.mutedForeground,
|
|
tabIndicator: COLORS.purple.DEFAULT,
|
|
},
|
|
};
|