Franchise

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

activitybaseUrlschemeId
The current activity, from which You will call "Franchise" classAn URL, that You will get from the Loyale administratorsA schemeId, that You will get from the Loyale administrators

An example of use:

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

Class itself:

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