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    

General

The information entered here can be found in the app.json file in the root of the project directory.

Name

Here is where you set the name for your app. This name will also be the name of the folder that is downloaded when you export your project.

Slug

If you are planning on publishing your application on Expo, the slug refers to the application's URL ending. Since this will be used in a URL, make sure to separate words with '-' instead of spaces.

Description

Here is where you can add more information about your application and what it's for.

App Icon

Here you can upload a .png image to use as your app's icon that will be displayed on a phone's home screen. Additionally, the icon will be displayed in Draftbit on the App page.

Splash Screen

Here you can configure the screen that will be displayed while the application is loading.

Background Image

Here you can select an image that will be the background of the container.

Background Color

If a background image is uploaded and its contents don't fill the screen, this color will appear around the image.

Resize Mode

Set how to resize the background image when the dimensions of the screen don't match the actual dimensions of the image.

  • Cover
    The image is resized to fill the container will retaining its proportions, even if the container is larger than the dimensions of the image.

  • Contain
    The image is resized so that the picture fits within the container and is fully visible, even if that means the image will not fill the entire container.

Platform

Here you can define if your application supports Android, iOS, or both systems. Defaults to 'Both'.

Orientation

Here you can select how your application is oriented on the screen. Defaults to 'Default' which means the application will be not be constrained to just portrait or landscape.

Primary Color

Android Only. Here you can select a custom color for the app in the multitasker.

iOS

Supports Tablet

Here you can define if your application supports tablets. Defaults to 'No'.

Bundle Identifier

Here you can set a bundle identifier which is a unique identifier for your app. This is normally set in reverse domain name notation (as seen in the placeholder).

Android

Package Identifier

Here you can set a package identifier which is a unique identifier for your app. This is normally set in reverse domain name notation (as seen in the placeholder).

Permissions

Here you can define what permissions the app will ask for when installed. All permissions are enabled by default.

Resources

Expo Docs

Settings


Suggested Edits are limited on API Reference Pages

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