Neddar Islam
0%
📱Mobile Development

How to Find Your EAS Project ID for Expo Applications

A complete guide to finding your EAS project ID and updating it in your configuration files for Expo React Native applications.

Islam Neddar
3 min read
expo
eas
react-native
mobile-development
configuration
project-setup

To find your EAS project ID and update it in your configuration files, follow these steps:

Get Your EAS Project ID

Run the following commands in your project root directory:

bash
# Login to EAS (if you haven't already)
npx eas login

# Initialize or get your project ID
npx eas project:init

The npx eas project:init command will either:

  • Create a new EAS project and display the generated project ID, or
  • Show your existing project ID if your app is already registered with EAS

The output will look something like this:

bash
✅ Project your-app-name is already registered with EAS
Project ID: 12345678-abcd-1234-efgh-1234567890ab

Update Your Configuration Files

Once you have your project ID, you need to update it in two places:

In eas.json (at the root level)

json
{
  "cli": {
    "version": ">= 5.9.1",
    "appVersionSource": "remote"
  },
  "projectId": "12345678-abcd-1234-efgh-1234567890ab", // Replace with your actual project ID
  // rest of your configuration...
}

In app.config.ts (under extra.eas.projectId)

typescript
export default {
  // other configuration...
  extra: {
    // other configuration...
    eas: {
      projectId: '12345678-abcd-1234-efgh-1234567890ab' // Replace with your actual project ID
    }
  }
}

Verify Your Changes

After updating both files, you can run the following command to verify that EAS recognizes your project:

bash
npx eas project:info

This should display information about your project, confirming that the project ID is correctly configured.

Troubleshooting

Invalid UUID Error

The project ID must be in a valid UUID format (e.g., 12345678-abcd-1234-efgh-1234567890ab). If you see an error like "Invalid UUID appId" when running EAS commands, it means:

  • The project ID is not correctly formatted
  • The project ID is not properly set in your configuration files
  • There's a mismatch between the IDs in eas.json and app.config.ts

Common Issues

IssueSolution
Project not foundRun npx eas project:init to register your project
Invalid UUID formatEnsure project ID follows UUID v4 format with hyphens
Configuration mismatchVerify both eas.json and app.config.ts have the same project ID
Permission deniedEnsure you're logged in with npx eas login

Best Practices

  • Always backup your configuration files before making changes
  • Use environment variables for sensitive configuration when possible
  • Verify your setup with npx eas project:info after any changes
  • Keep your EAS CLI updated to the latest version for best compatibility

With your EAS project ID properly configured, you can now use EAS services like EAS Build, EAS Submit, and EAS Update for your Expo React Native application!

Share: