Other

In order to use embed functions You need to pass and override next variables:

activity

baseUrl

schemeId

The current activity, from which You will call "Other" class

An URL, that You will get from the Loyale administrators

A schemeId, that You will get from the Loyale administrators

Example of use:

val other = LoyaleManager.Other(this@MainActivity, "https://some_url.com/", "some_scheme_id")

Class itself:

class Other(
    override val activity: Activity,
    override val baseUrl: String,
    override val schemeId: String
) : LoyaleManager {
}