summaryrefslogtreecommitdiff
path: root/apps/mobile/lib
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-18 03:02:11 +0000
committersoryu <soryu@soryu.co>2026-01-18 03:02:11 +0000
commitd7add3b010f53238b4237c2098f7c1597bfe1d0c (patch)
treefcbf640dba9ea3dd769481ceab51ac862e6003e3 /apps/mobile/lib
parentfcf9e70d54bd737d2dea848d25314120f37db503 (diff)
downloadsoryu-d7add3b010f53238b4237c2098f7c1597bfe1d0c.tar.gz
soryu-d7add3b010f53238b4237c2098f7c1597bfe1d0c.zip
feat(mobile): complete mobile app integration and verification
- Add ThemeColors type export to Colors.ts for type safety - Export SUPABASE_URL from supabase.ts and use environment variables - Update .env.example with correct default URLs - Add comprehensive README.md with setup instructions Verified: - TypeScript compiles without errors - App exports successfully for iOS and Android - All screens accessible (login, dashboard, tasks, settings, task detail) - Auth flow working with Zustand store and Supabase Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'apps/mobile/lib')
-rw-r--r--apps/mobile/lib/supabase.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/mobile/lib/supabase.ts b/apps/mobile/lib/supabase.ts
index 2329494..f7d005a 100644
--- a/apps/mobile/lib/supabase.ts
+++ b/apps/mobile/lib/supabase.ts
@@ -1,10 +1,9 @@
import { createClient } from '@supabase/supabase-js';
import * as SecureStore from 'expo-secure-store';
-// Supabase configuration
-// In production, these would come from environment variables
-const SUPABASE_URL = 'https://your-project.supabase.co';
-const SUPABASE_ANON_KEY = 'your-anon-key';
+// Supabase configuration from environment variables
+export const SUPABASE_URL = process.env.EXPO_PUBLIC_SUPABASE_URL || 'https://ynxyjytytmfwxjqxljzm.supabase.co';
+const SUPABASE_ANON_KEY = process.env.EXPO_PUBLIC_SUPABASE_ANON_KEY || 'your-anon-key';
// Custom storage using expo-secure-store for React Native
const ExpoSecureStoreAdapter = {