> ## Documentation Index
> Fetch the complete documentation index at: https://docs.viral-app.com/llms.txt
> Use this file to discover all available pages before exploring further.

# App Configuration

> Configure app settings

# App Configuration

## Files

| File            | Purpose               |
| --------------- | --------------------- |
| `app.json`      | Expo config           |
| `eas.json`      | Build config          |
| `lib/config.ts` | Runtime config        |
| `.env`          | Environment variables |

## app.json

```json theme={null}
{
  "expo": {
    "name": "Your App",
    "slug": "your-app",
    "ios": {
      "bundleIdentifier": "com.yourcompany.yourapp"
    }
  }
}
```

## lib/config.ts

```typescript theme={null}
export const config = {
  supabase: {
    url: process.env.EXPO_PUBLIC_SUPABASE_URL,
    publishableKey: process.env.EXPO_PUBLIC_SUPABASE_PUBLISHABLE_KEY,
  },
  revenueCat: {
    apiKey: process.env.EXPO_PUBLIC_REVENUECAT_API_KEY,
  },
};
```

## Environment Variables

Only `EXPO_PUBLIC_` prefixed variables are available in client code.
