Skip to main content

Flutter

Section contents

Authorization requests

In the table below it is described how often the user gets authorization request.

ConditionsAuthorization requestAspects
RuStore is not installed on the user's device

Authorization request is triggered:

  • during each session when calling SDK methods:
    • RustoreBillingClient.purchases;
    • RustoreBillingClient.products(ids);
    • RustoreBillingClient.purchase(id);
  • 900 passed from the latest SDK method call:
    • RustoreBillingClient.purchases;
    • RustoreBillingClient.products(ids);
    • RustoreBillingClient.purchase(id).

Subsequent authorization calls require only one click.

To check whether RuStore is installed on the uses device, use the RustoreBillingClient.isRustoreInstalled() methods from the RuStoreUtils set. The method will return true or false depending on whether RuStore is installed.

RuStore is installed, the user is authorizedAuthorization goes seamlessly for the userN/A