Skip to main content

React Native

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.getPurchases();
    • RustoreBillingClient.getProducts(productIds);
    • RustoreBillingClient.purchaseProduct({...});
  • 900 passed from the latest SDK method call:
    • RustoreBillingClient.getPurchases();
    • RustoreBillingClient.getProducts(productIds);
    • RustoreBillingClient.purchaseProduct({...}).

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