LogoLogo
  • A better way to do...stuff!
  • How we build the app
    • Overview
  • Documentation
    • Draftbit
      • Using Live Preview
      • Workspaces and Billing
      • Introduction to the Builder
      • Layout
      • Intro to Navigation
      • Fetching Data
      • Direct Integrations
      • FAQs
      • Draftbit
      • Draftbit
      • Custom Blocks
      • Borders, Background, and Elevation
      • Actions
      • Custom Screen Code
      • Exporting and Publishing Your Project
      • Sharing Your Project Online
      • Publishing Your App as a PWA
      • Stack Navigator
      • Tab Navigator
      • Draftbit
      • Draftbit
      • Basic
      • Media
      • REST Services & Endpoints
      • REST API Integrations
      • Themes & Styling
      • Submitting Data
      • Draftbit
      • Draftbit
    • Xano
      • resources-and-tips-1
        • 🎞️ Xano Video Tutorials
        • 🤝Community Corner
        • 💰Share Xano. Make money
      • FAQ
      • getting-started
        • ⚡ Jumpstart
        • 🎞️ The Xano Interface
      • instances
        • What is an Instance?
        • Early Access Instance
        • Upgrading an Instance
        • Sharing
        • Bandwidth Usage
        • API Rate Limit
      • What is a Workspace?
      • Dashboard
      • Database
      • Airtable Import
      • API
      • Library
      • Marketplace
      • Settings
      • authentication
        • Authentication
        • Sign-up & Log in
      • data-manipulation
        • The Function Stack
        • Addons (GraphQL-Like)
        • The Expression Builder
        • External Query Manipulation
        • Timestamp
        • Filters
        • Images
    • Expo
      • Creating your first build - Expo Documentation
    • Kommunicate
      • Installation
      • Installation
      • Installation
      • Installation
      • Installation
      • Flutter Installation
      • Installation
      • Zapier Integration
      • Authentication
      • CMS Installation
      • Authentication
      • Conversation
      • Conversation Assignment
      • Customization
      • Localization
      • Logout
      • Web Troubleshooting
      • Installation
      • Authentication
      • Push Notification
      • Conversation
      • Customization
      • Localization
      • Logout
      • Installation
      • Authentication
      • Push Notification
      • Conversation
      • Customization
    • Formito
      • basics
        • Getting Started
        • Variables
        • Are you GDPR ready?
        • How to prefill the values of my chatbot?
      • connect
        • How to connect Formito to Zapier?
      • convert
        • How to convert old formito chatbots to the new version?
        • How to convert Google Forms into a chatbot?
        • How to convert a Monday.com board to a chatbot?
        • How to create chatbot from QuickBase table?
      • guide
        • How to add my chatbot to WordPress?
        • How to create a chatbot for Zendesk?
      • shopify
        • How to embed my chatbot into a Shopify page?
        • How to display Formito chatbot on bottom corner of my Shopify store?
        • How to open my chatbot after clicking on links or buttons?
    • Stonly
  • Flex Stuff
    • App
    • APIs
    • Database
    • Website
    • Design
    • Style Guide
  • Content
    • Guides
    • ChatBots
    • Blogs
    • Whitepapers
  • Company
    • About us
    • Brand
    • Roadmap
    • Policies
  • Flex Together
    • Overview
    • Fair Finance
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Draftbit

Using Live Preview

PreviousDraftbitNextWorkspaces and Billing

Last updated 4 years ago

Was this helpful?

The builder allows you to view and modify the layout of your screen live in the browser. However, when designing and building mobile apps, it's much better to separate layout from aesthetics and look directly at your phone for a sense of how it will actually look. That's exactly what live preview allows you to do: view the screens live, on your phone, and they are instantly updated when you make changes.

How do I get Live Preview set up?

  1. Download the Expo app to your phone. To use live preview, you need to install the Expo Client app. You can download it for iOS or Android.

  2. Locate Your Device ID. Open the Expo Client app, and navigate to the Projects tab at the bottom. In small lettering, you should see "Device ID: XXXX-XXXX". See screenshot examples below.

  3. In Draftbit, open the Live Preview modal. Along the top of the builder, click Live Preview. In the modal window, you should see a field labeled Device Id. Enter your Device ID, including the dash, and hit Save.

  4. That's it! Now when you are editing app projects, you'll see them automatically in your list of projects in the Expo Client app, and you can open them from there. You can also use the QR code for faster access, see below.

Alternatively, you can use the QR Code:

  1. Download the Expo app to your phone. To use live preview, you need to install the Expo Client app. You can download it for iOS or Android.

  2. Scan the QR code. Along the top of the builder, click Live Preview. In the modal window, you should see a QR code. Open your phone or QR code reader app, and scan the QR code.

  3. That's It! When detected, this QR code will open the project in Expo, and will let you (or anyone you know) live preview the project you're working on. This is a great way to collaborate with friends or coworkers.

Updated 29 days ago