DEV Community

Lucky Oniovosa
Lucky Oniovosa

Posted on

How to publish your React Native app to Expo Store 2024

I recently tried publishing my React Native app to the Expo store, only to discover that most articles on this topic are obsolete.

This article aims to help anyone trying to publish their React Native app to the Expo Store by following these simple steps.

  • Create your project
npx create-expo-app@latest
Enter fullscreen mode Exit fullscreen mode
  • Install EAS CLI
sudo npm install --global eas-cli
Enter fullscreen mode Exit fullscreen mode
  • Ensure you have an account on Expo

Create Expo account here

  • Login to your Expo account on the terminal
npx expo login
Enter fullscreen mode Exit fullscreen mode
  • Create or link to your Expo project

To create a new project, use the command below

eas init
Enter fullscreen mode Exit fullscreen mode

if you already have an existing project on your Expo dashboard, use this command

eas init --id [paste your project ID gotten from your dashboard]
Enter fullscreen mode Exit fullscreen mode
  • Deploy to expo
eas update
Enter fullscreen mode Exit fullscreen mode

If you encountered an error like I did while deploying, you might want to clear the cache and re-deploy.
cache error while deploying

To clear the cache

sudo npm cache clean --force
Enter fullscreen mode Exit fullscreen mode

I hope you find this article helpful,
Happy reading, Happy Coding😀

Top comments (0)