Skip to main content

Expo Example App

This example demonstrates a complete Expo application with Turbopush integration, allowing you to test over-the-air updates in minutes.

What you'll see here

  • QR Code Ready to Use - We have a pre-built APK ready for you to test immediately without building anything.
  • Publish an update to your app and test it over-the-air.
  • See how fast you can release an update to your users.
  • Troubleshooting tips if you encounter any issues.

Quick Start

1. Clone the Repository

git clone https://github.com/turbopushdev/example-expo-turbopush.git
cd example-expo-turbopush

2. Install Dependencies

npm install 

3. Log in to Turbopush

tip

if you already did this before, you can skip this step.

npx turbopush login

This will open your browser to authenticate. Once authenticated, you can close the browser and continue with the next steps.

4. Create an app

npx turbopush app add <app-name-android>

Copy the Staging Deployment Key and keep it handy, you'll need it in the next steps.

5. Install App

QR Code Ready to Use

Want to test immediately without building? We have a pre-built APK ready for you. Simply scan this QR Code:

Scan this QR Code with your device:

Open your camera app and scan this QR code to install the app.

6. Configure Your Deployment Key

Paste the Staging Deployment Key you copied in the previous step to generate a QR code:

7. Test an Over-the-Air Update

Now let's publish an update to test the OTA functionality:

  1. Make a change in the src/app/playground.tsx file, in the config object at the top of the file.
  2. Release the update using Turbopush CLI:
npx turbopush release-expo <app-slug> android 1.0.0 -d Staging --mandatory
  1. Click in the "sync" button in the initial screen.
  2. Watch the update download and install automatically!
  3. Click in the "Playground" button in the initial screen to see the change you made.
  4. That's it! You've successfully published an update to your app and tested it over-the-air. 🎉

Next Steps

Troubleshooting

Updates not appearing?

  1. Check that the update's target binary version matches your app version
  2. Verify your deployment keys are correct
  3. Check the logs in screen to see if there are any errors.

Still not working?

open an issue.