Installation

TerraCore v0

Installation#

TerraAuth 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 module you needed to optimize app size. For example, an app without facebook login does not need to import facebook-login module.. etc..

For Auth core API only, add this module

implement("vn.teko.android.auth:terra-auth:$version")

For Facebook login, add this module

implement("vn.teko.android.auth:facebook-login:$version")

For Google login, add this module

implement("vn.teko.android.auth:google-login:$version")

For built-in UI, add this module (will include core, Facebook login & Google login inside)

implement("vn.teko.android.auth:login-ui:$version")

Configuration#

Please contact us we will setup it for you.

  • If you use Facebook login method, you will need to create a Facebook app then give us the Facebook AppID
  • If you use Google login method, you will need to create client then give us the Google ClientID
  • If you use Apple login method, you will need to create app id then give us the Apple AppID

Next step: login user#

You can login user into your app with various options: