From d7add3b010f53238b4237c2098f7c1597bfe1d0c Mon Sep 17 00:00:00 2001 From: soryu Date: Sun, 18 Jan 2026 03:02:11 +0000 Subject: 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 --- apps/mobile/lib/supabase.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/mobile/lib') 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 = { -- cgit v1.2.3