Installation
The library for managing mini-apps is called Hestia
In Greek mythology, she is the God of family, you know... 😎
Prerequisite#
Before using the features of this module, make sure:
- The application has been integrated with
Terra. If not, please follow this Terra integration instruction. - Some mini-apps may require login before start, which requires the application has been integrated with
TerraAuth. If not, please follow this Authentication installation instruction. - This module must be configured in Terra dashboard. Please contact us we will do it for you.
- To use a mini-app, you need to connect the mini-app with our application in Terra Dashboard. Please contact us we will do it for you.
Installation#
TerraHestia can be installed through Gradle (Android) or CocoaPods(iOS). The libraries are in Teko's private repositories, so please refer to Teko repository access guide page for more info.
We recommend you to add only the modules you needed to optimize app size. For example, an app without using any React-native mini-app does not need to import vn.teko.hestia:hestia-android-react-native-ui-fragment package.
- Android
- iOS
For core package, add this dependency to build.gradle file:
For using Native mini-apps:
For using React-native mini-apps:
For using Web mini-apps:
For core package, add this dependency to Podfile file:
For using Native mini-apps:
For using React-native mini-apps:
For using Web mini-apps: