Build the sample app
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
versusyarn install
. Since the yarn is a Facebook tool, it usually has fixes patched for installing dependencies.
- Then change the directory to install iOS dependencies.
cd ios
pod update
Run the app
Run the following in your terminal.
yarn start
yarn ios
- Run an Android emulator.
- Run the following in your terminal.
yarn start
yarn android
Updated 2 months ago