Account
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 "Account" class | An URL, that You will get from the Loyale administrators | A schemeId, that You will get from the Loyale administrators |
An example of use:
val account = LoyaleManager.AuthenticationAccount(this@MainActivity, "https://some_url.com/", "some_scheme_id")
Class itself:
class AuthenticationAccount(
override val activity: Activity,
override val baseUrl: String,
override val schemeId: String
) : LoyaleManager {
}
Updated over 2 years ago