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
- Download the sample app NativeBase KitchenSink v3
- Install yarn
- Install cocoapods
Install the sample app
- From your terminal, cd to the nativebase-v3-kitchensink.
cd ../ea_react_native_module-master/Example/nativebase-v3-kitchensink
- 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.
- Then change directory to install iOS dependencies.
cd ios
pod update
Run the app on iOS
- Run the following in your terminal.
yarn start
yarn ios
Run the app on Android
- Make sure you have an Android emulator installed and running.
- Run the following in your terminal.
yarn start
yarn android
Updated about 2 months ago