Skip to content

Remove hardcoded invalid Supabase credentials; add env example files#3

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-login-error-messages
Draft

Remove hardcoded invalid Supabase credentials; add env example files#3
Copilot wants to merge 2 commits intomainfrom
copilot/fix-login-error-messages

Conversation

Copy link
Contributor

Copilot AI commented Feb 27, 2026

mobile/eas.json had hardcoded Supabase credentials referencing a deleted/non-existent project (poinneeautppohsjmhqr.supabase.co), causing DNS_PROBE_FINISHED_NXDOMAIN on login. The README also referenced a .env.local.example template that didn't exist in the repo.

Changes

  • mobile/eas.json — Stripped env blocks from preview and production build profiles. Credentials must now be supplied via EAS environment variables/secrets or a local .env file.
  • .env.local.example (new) — Web app env template, unblocking the cp .env.local.example .env.local step documented in the README.
  • mobile/.env.example (new) — Expo app env template with EXPO_PUBLIC_SUPABASE_URL and EXPO_PUBLIC_SUPABASE_ANON_KEY placeholders.
  • .gitignore / mobile/.gitignore — Allow *.example env files to be committed; tighten mobile ignore to cover all .env* (was only .env*.local).

Setup (after merging)

Web: cp .env.local.example .env.local → fill in Project URL + anon key from Supabase dashboard → Settings → API.

Mobile (local): cp mobile/.env.example mobile/.env → fill in same values with EXPO_PUBLIC_ prefix.

Mobile (EAS cloud builds): Add EXPO_PUBLIC_SUPABASE_URL and EXPO_PUBLIC_SUPABASE_ANON_KEY as EAS environment variables.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@vercel
Copy link
Contributor

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vibe-chat Ready Ready Preview, Comment Feb 27, 2026 0:24am

…e files

Co-authored-by: Abdul-Rasheed-Talal <192765082+Abdul-Rasheed-Talal@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix login issue with unreachable site error Remove hardcoded invalid Supabase credentials; add env example files Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants