Overview

TerraCore v0

Overview#

TerraNotification is a client library for communicating with Notification service.

Prerequisite#

Before using features of TerraNotification make sure:

  • Your app uses TerraAuth, and uses built-in login methods or has finished integrating your own auth system.
  • Your user's profile must contains phone number or email address (or both) in order to send notifications to users via phone number/email.
  • Your app has integrated with FCM.

Installation#

Firstly please refer to Teko repository access guide for instruction to setup the environment.

When the environment is ready, add the code below to import TerraNotification:

Using Gradle

Add to your project's build.gradle.kts

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

Configuration#

Please contact Terra team for support.

Usage#

You can get instance of TerraNotification through TerraApp

val notificationService = TerraNotification.getInstance(terraApp)