flutter_rustore_pay 10.3.0 copy "flutter_rustore_pay: ^10.3.0" to clipboard
flutter_rustore_pay: ^10.3.0 copied to clipboard

PlatformAndroid

Flutter RuStore Pay SDK

RU EN

10.3.0 #

Added #

Purchase with Faster Payment System (SBP) binding account

  • Faster Payment System (SBP) binding account purchase - product purchase is now possible to pay with Faster Payment System (SBP) binding account

Loyalty program

  • Loyalty program - loyalty program was implemented

Changed #

  • Display of offers improved

Removed #

  • No removed items in this release

Deprecated #

  • No deprecated items in this release

10.2.0 #

Added #

Purchase with mobile phone account

  • Mobile phone account purchase - product purchase is now possible to pay with mobile phone account

PurchaseEventListener

  • PurchaseEventListener - new interface with set of callbacks that are called during purchase
  • PurchaseInteractor.purchase() - added optional parameter purchaseEventListener: PurchaseEventListener = null
  • PurchaseInteractor.purchaseTwoStep() - added optional parameter purchaseEventListener: PurchaseEventListener = null

Manual SDK initialization

  • ConsoleApplicationId - the class constructor is now public, which allows manual initialization of SDK
  • Offers links - offers links are now shown during purchase

Changed #

  • Error handling improved

Removed #

  • Unnecessary analytics code has been removed

Deprecated #

  • No deprecated items in this release

10.1.0 #

Added #

Theme Support

  • SdkTheme - New enum class for managing SDK themes with LIGHT and DARK variants
  • ApplicationInteractor.purchase() - Added optional sdkTheme: SdkTheme = SdkTheme.LIGHT parameter
  • IntentInteractor.proceedIntent() - Added optional sdkTheme: SdkTheme = SdkTheme.LIGHT parameter
  • PurchaseInteractor.purchase() - Added optional sdkTheme: SdkTheme = SdkTheme.LIGHT parameter
  • PurchaseInteractor.purchaseTwoStep() - Added optional sdkTheme: SdkTheme = SdkTheme.LIGHT parameter

Enhanced Subscription Support

  • SubscriptionInfo - New class for subscription information
  • SubscriptionPeriod - New class for subscription period management
  • Product.subscriptionInfo - New field containing subscription metadata in the Product model

Anonymous User Authorization

  • Automatic authorization screen display - SDK now automatically shows the authorization screen when an anonymous user attempts to purchase a subscription

Changed #

  • No breaking changes to existing functionality

Removed #

  • Removed Coil image loading library dependency; implemented custom image loading solution

Deprecated #

  • No deprecated items in this release

Public API Summary #

New Public Classes:

  • SdkTheme
  • SubscriptionInfo
  • SubscriptionPeriod

Modified Public Methods:

  • IntentInteractor.proceedIntent(sdkTheme)
  • PurchaseInteractor.purchase(sdkTheme)
  • PurchaseInteractor.purchaseTwoStep(sdkTheme)

Migration Guide: No migration required. All changes are backward compatible with default parameter values.

10.0.0 #

  • BREAKING CHANGE: Updated RuStore Pay SDK to 10.0.0.
  • FEATURE: Added support for subscription purchases.
    • Introduced the SubscriptionPurchase model to represent subscription-type purchases.
    • Added the SubscriptionPurchaseStatus enum for tracking subscription states (active, paused, terminated, etc.).
    • The getPurchases() method can now return a list containing both ProductPurchase and SubscriptionPurchase objects.
  • FIX: Significantly improved error handling and mapping.
    • Native PlatformExceptions are now correctly mapped to specific Dart RuStoreException types (e.g., RuStoreProductPurchaseException, RuStorePurchaseCancelledException). This provides developers with richer error objects and fixes bugs where generic or incorrect exceptions were previously thrown.
    • The message field in RuStoreProductPurchaseException and RuStorePurchaseCancelledException now contains detailed error information from the native SDK.
  • FIX: Fixed a bug where the ApplicationSchemeWasNotProvided exception was not handled correctly.

9.0.2 #

  • Updated RuStore Pay SDK to 9.0.2

9.0.1 #

  • Updated RuStore Pay SDK to 9.0.1
  • Added a method getUserAuthorizationStatus
  • Added new error types

8.0.0 #

  • Updated RuStore Pay SDK to 8.0.0
  • purchaseOneStep method has been replaced by purchase
  • Added support for deep links

7.0.0 #

  • Initial release.