Repository Access Guide
Terra's libraries can be installed through Gradle (Android) or CocoaPods(iOS). However they are stored in Teko's private repositories so please follow below instruction to access:
#
VersionPlease check Library Versions for stable & latest version of all Terra
libraries
#
Setup environment variablesAdd this line to your ~/.bashrc
:
Please contact us, we will provide you the token name & secret.
#
Setup project- Android
- iOS
Add below code to your project's build.gradle.kts
, then sync the project:
UPDATE since 07/2021 we move artifacts to new repository, please follow this then
At the beginning of your Podfile
, define the source:
Then run your pod
command as follow:
The first time you run pod install
, you will be asked for username & password to access this private Pod repo, kindly enter username as <your_token_name>
& password as <your_token_secret>
.
Note: please do not commit <your_token_secret>
to github
or it will be revoked