Build the sample app

Overview

The Acoustic Tealeaf SDK provides the NativeBase KitchenSink v3 as a sample app you can build to view quick example implementations of all core SDK functionality.

The sample app provides you with an example app with all the UI components of NativeBase.

Before you begin

Install the sample app

  1. From your terminal, cd to the nativebase-v3-kitchensink.
cd ../ea_react_native_module-master/Example/nativebase-v3-kitchensink
  1. Run the yarn command to install the packages.

📘

Note:

There are several know issues between npm install versus yarn install. Since the yarn is a Facebook tool, it usually has fixes patched for installing dependencies.

  1. Then change directory to install iOS dependencies.
cd ios
pod update

Run the app on iOS

  1. Run the following in your terminal.
yarn start
yarn ios

Run the app on Android

  1. Make sure you have an Android emulator installed and running.
  2. Run the following in your terminal.
yarn start
yarn android