docs(react-native): document .env.local for Expo auth token#17898
Draft
betegon wants to merge 1 commit into
Draft
docs(react-native): document .env.local for Expo auth token#17898betegon wants to merge 1 commit into
betegon wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
The wizard expandable mentioned "env.local" (missing the leading dot, now fixed) but never showed what it should contain. The Expo plugin snippet showed a bare shell export command which doesn't work for EAS builds. Changes: - Expo plugin snippet: replace shell export with .env.local file format and add a note about using EAS secrets for EAS builds - expo.mdx Notes: replace vague "use an environment variable" with explicit .env.local and EAS secret guidance - index.mdx + expo.mdx: fix "env.local" → ".env.local" typo in wizard task expandables
52c3126 to
9debd59
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The wizard listed
.env.localas a file it creates, but never showed what goes in it. The Expo plugin snippet also showed a bareexportshell command, which doesn't work for EAS builds.What changed:
react-native-expo-plugin-code-snippet.mdx: replaced the shellexportcommand with a proper.env.localcode block (format that actually works for local builds), and added a note directing EAS users to addSENTRY_AUTH_TOKENas an EAS secret insteadexpo.mdxNotes: replaced vague "use an environment variable likeSENTRY_AUTH_TOKEN" with explicit.env.localand EAS secret guidanceindex.mdx+expo.mdx: fixed typoenv.local→.env.localin the wizard task expandablesFeedback from Antonis Lilis testing
sentry initon Expo — the missing.env.localmeant EAS builds couldn't upload source maps.