Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 944 Bytes

BUILD.md

File metadata and controls

42 lines (27 loc) · 944 Bytes

Building Bitkit from source

Setup

  1. Clone the repository
git clone git@github.com:synonymdev/bitkit.git && cd bitkit
  1. Switch Node version

Switch to the Node.js version defined in .nvmrc. If nvm (or similar) is installed on your system you can run nvm use.

  1. Install dependencies
yarn install

Build

iOS

For iOS: Open the ios folder in Xcode to build the project.

Android

For Android: yarn bundle.

Moreover, to build the Android APK, it is necessary to configure a signing store to sign the apk, as explained by React Docs.

It is recommend to use the already presented debug.store in android/app. Add the following lines to ~/.gradle/gradle.properties:

BITKIT_UPLOAD_STORE_FILE=debug.keystore
BITKIT_UPLOAD_STORE_PASSWORD=android
BITKIT_UPLOAD_KEY_ALIAS=androiddebugkey
BITKIT_UPLOAD_KEY_PASSWORD=android