Expo Example
Test Turbopush OTA updates with a pre-built Expo app — scan a QR code, publish an update, and see it live in seconds.
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.gitcd example-expo-turbopush2. Install Dependencies
npm installyarn installpnpm install3. Log in to Turbopush
if you already did this before, you can skip this step.
npx turbopush loginyarn turbopush loginpnpm turbopush loginThis 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>yarn turbopush app add <app-name-android>pnpm 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:
- Make a change in the src/app/playground.tsx file, in the config object at the top of the file.
- Release the update using Turbopush CLI:
npx turbopush release-expo <app-slug> android 1.0.0 -d Staging --mandatoryyarn turbopush release-expo <app-slug> android 1.0.0 -d Staging --mandatorypnpm turbopush release-expo <app-slug> android 1.0.0 -d Staging --mandatory- Click in the "sync" button in the initial screen.
- Watch the update download and install automatically!
- Click in the "Playground" button in the initial screen to see the change you made.
- That's it! You've successfully published an update to your app and tested it over-the-air.
Next Steps
Troubleshooting
Updates not appearing?
- Check that the update's target binary version matches your app version
- Verify your deployment keys are correct
- Check the logs in screen to see if there are any errors.
Still not working?
How is this guide?