The Draftbit Developer Hub

Welcome to the Draftbit developer hub. You'll find comprehensive guides and documentation to help you start working with Draftbit as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Exporting and Publishing Your Project

Export

Once you've built the best app ever, it's time to export your project out of Draftbit and onto your own machine. Click "View Code" at the top of the screen and then click "Export Project".

If you're not set up with Expo CLI then now is the perfect time to do so.

Installing Expo CLI

Open up your terminal and enter yarn global add expo-cli or npm install -g expo-cli.

Running Your Project

In the terminal, navigate into the project directory and run yarn install or npm install to install all the necessary dependencies. Then, run expo start. A new tab will open in your browser that will give you a QR code to scan to view your project on your phone. Additionally, you can click Run on Android device/emulator or Run on iOS simulator and Expo will start the project in Android Studio or XCode if they are installed on your computer.

The QR code will also be generated in the terminal along with a menu of options.

Publishing your Project

To publish your project, run the command expo publish in your project's directory in the terminal. You can read more on publishing in Expo's docs.

Exporting and Publishing Your Project


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.