Real-time Preview
The preview panel shows your app running in real-time, allowing you to test features and interactions as you build.How It Works
The preview runs your actual Expo app in a web-based environment. It’s not a mockup—it’s the real app with full interactivity.Changes typically appear in 5-30 seconds after the AI finishes generating code, depending on complexity.
Preview Controls
The preview header includes several useful controls:| Control | Function | Availability |
|---|---|---|
| 🔄 Reload | Refresh the preview to latest code | All projects |
| 📱 QR Code | Get QR code for mobile preview | All projects |
| ↔️ Layout | Toggle between different view layouts | All projects |
| 📊 Logs | View console logs | All projects (frontend); Liquid Backend only (backend) |
| 🗄️ Database | Browse database tables | Liquid Backend only |
Which backend am I using? If you see a “Database” button, you’re on Liquid Backend. Otherwise, you’re using Supabase. See Backend Systems.
Testing Your App
Navigation
- Tap buttons and links to navigate
- Swipe to go back on iOS-style navigation
- Test tab bars and bottom navigation
Forms & Input
- Text fields accept keyboard input
- Dropdowns and pickers work as expected
- Form submission triggers your logic
Gestures
- Scroll through lists and content
- Swipe gestures for actions like delete
- Pull-to-refresh where implemented
Preview on Your Device
For the most accurate testing, preview on your actual phone:Install Expo Go
Download Expo Go from the App Store or Play Store
Benefits of Device Preview
- Accurate gestures - Touch feels native
- Real performance - See actual speed and animations
- Native features - Test camera, notifications, etc.
- Device differences - Catch iOS vs Android issues
Preview Limitations
Some features work differently in preview vs. production:| Feature | Preview | Production |
|---|---|---|
| Push Notifications | Simulated only | Full functionality |
| Camera | Limited support | Full access |
| Deep Links | Not available | Fully working |
| App Icon | Generic Expo | Your custom icon |
| Native Modules | Some limitations | All features |
Viewing Logs
Click the Logs icon to see console output from your app.Frontend Logs (All Projects)
Frontend logs are available for all projects:- Console.log messages from your code
- Errors and warnings for debugging
- Network requests showing API calls
- React Native logs for deeper debugging
Backend Logs
- Liquid Backend
- Supabase
Backend logs are available in Natively:
- Click the Logs icon in the preview header
- Switch to the Backend tab
- View API calls, errors, and server logs
Using Logs for Debugging
When something isn’t working:- Open the logs panel
- Reproduce the issue in the preview
- Look for error messages or unexpected values
- Share log content with the AI for help
Database Viewer
- Liquid Backend
- Supabase
The Database Viewer lets you inspect your data directly in Natively:
- Browse tables - See all your data tables
- View records - Inspect individual entries
- Verify data - Confirm your app is saving correctly
Layout Options
Switch between different layout modes:Dual Panel
- Chat on the left
- Preview on the right
- Best for focused development
Triple Panel (Code Visible)
- Chat on the left
- Code Editor in the middle
- Preview on the right
- Best when editing code directly
Mobile View
On smaller screens, toggle between chat and preview with the bottom tab bar.Troubleshooting Preview
Preview Not Loading
Shows blank or loading indefinitely
Shows blank or loading indefinitely
- Click the Reload button
- Check if build is still in progress (status indicators)
- Try a hard refresh of the browser page
Shows error screen
Shows error screen
- Read the error message for clues
- Check the logs for more details
- Ask the AI to fix the issue
QR code not connecting
QR code not connecting
- Ensure phone and computer are on same network
- Check if VPN is blocking connection
- Try closing and reopening Expo Go
Changes Not Appearing
Code changed but preview unchanged
Code changed but preview unchanged
- Wait for build to complete
- Click Reload button
- Check for build errors in activity feed
State seems stale
State seems stale
Sometimes preview state persists. Reload the preview for a fresh start.
Best Practices
Test Early and Often
Check the preview after each AI response to catch issues quickly
Use Device Preview
Test on your actual phone for critical features and before deployment
Check Both Platforms
iOS and Android can behave differently—test both if possible
Monitor Logs
Keep logs open to catch errors and debug issues faster