Skip to content

YOU-i-Labs/samples-and-guides

Repository files navigation

You.i Engine One React Native Samples and Guides

This project is a collection of guides and samples to help you get started with You.i Engine One.


Installation

Please note that you will need access to the You.i Engine SDK in order to build and run this application.

Install You.i Engine SDK

There are a few dependencies that needs to be pre-installed before building the app, depending on your platform. Please follow the installation instructions at our Developer Portal before continuing.

Usage

To get started, simply clone the repository and install all dependencies:

git clone https://github.com/YOU-i-Labs/samples-and-guides
cd samples-and-guides
yarn install

Building The app is done via the generate and build scripts in the youi folder. generate will create the relevant project based on platform (Xcode, Android Studio, Visual Studio, etc.) in the corrosponding build folder.

Additional supported platforms are: osx, android, ios, tvos, tizen-nacl, uwp, ps4, linux

For example, to build for OSX:

cd youi
./generate.rb -p osx [-c debug|release]
./build.rb -b build/osx [-c debug|release]

For additional information on the build scripts please refer to this page.

Start Metro bundler:

yarn start &

Run the app:

# from within the `youi` folder
open build/osx/Debug/Training

Debugging

You.i Engine apps support remote debugging just like a regular React Native app. To turn on debugging press or touch any corner of the app 3 times in a row. The You.i Engine debug menu will open where you can turn on Remote JS debugging

Note: Debugging incurs a performance hit and is not recommended when running on low end devices.

Support

These samples are provided as-is. For any questions, please reach out to your account manager.

Contributing

Contributing is currently closed. Please refer to CONTRIBUTING for more information.

License

You.i Engine samples are available under the MIT license.

About

You.i Engine Samples and Guides

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published