Skip to content

Expo integration example#1

Open
ghandic wants to merge 1 commit intodmno-dev:mainfrom
ghandic:expo-integration-example
Open

Expo integration example#1
ghandic wants to merge 1 commit intodmno-dev:mainfrom
ghandic:expo-integration-example

Conversation

@ghandic
Copy link

@ghandic ghandic commented Mar 12, 2026

This pull request introduces a new Expo example app demonstrating Varlock integration, along with updates to dependencies across several example projects to use the latest Varlock and integration packages. The Expo example showcases features like sensitive value protection, Babel and Metro integration, and console log redaction. Additionally, a configuration change improves compatibility with Expo when using pnpm.

New Expo Example Integration

  • Added a complete Expo example app under examples/expo, including configuration files, server routes, client demo screen, Babel and Metro integration, and documentation. The app demonstrates inlining non-sensitive env values, server-only access to sensitive values, and log redaction features. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Dependency Updates

  • Updated varlock and related integration packages (@varlock/astro-integration, @varlock/vite-integration, @varlock/nextjs-integration) to their latest versions across all example projects for improved compatibility and features. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Configuration Improvements

  • Added .npmrc setting node-linker=hoisted to improve Expo compatibility with pnpm, as recommended in Expo monorepo documentation.

Documentation

  • Provided a detailed README.md for the Expo example, explaining the integration approach, features, and setup instructions.

Sensitive Environment Variable Handling

  • Defined .env.schema in the Expo example to mark SECRET_KEY as sensitive, ensuring it is only accessible in server routes and protected from client exposure.

@ghandic ghandic changed the title working with expo example Expo integration example Mar 12, 2026
Copy link
Member

@theoephraim theoephraim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice job! 🙏 Thank you!

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