flutter_rustore_pay 10.3.0
flutter_rustore_pay: ^10.3.0 copied to clipboard
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 - 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.LIGHTparameter - IntentInteractor.proceedIntent() - Added optional
sdkTheme: SdkTheme = SdkTheme.LIGHTparameter - PurchaseInteractor.purchase() - Added optional
sdkTheme: SdkTheme = SdkTheme.LIGHTparameter - PurchaseInteractor.purchaseTwoStep() - Added optional
sdkTheme: SdkTheme = SdkTheme.LIGHTparameter
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:
SdkThemeSubscriptionInfoSubscriptionPeriod
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
SubscriptionPurchasemodel to represent subscription-type purchases. - Added the
SubscriptionPurchaseStatusenum for tracking subscription states (active,paused,terminated, etc.). - The
getPurchases()method can now return a list containing bothProductPurchaseandSubscriptionPurchaseobjects.
- Introduced the
- FIX: Significantly improved error handling and mapping.
- Native
PlatformExceptions are now correctly mapped to specific DartRuStoreExceptiontypes (e.g.,RuStoreProductPurchaseException,RuStorePurchaseCancelledException). This provides developers with richer error objects and fixes bugs where generic or incorrect exceptions were previously thrown. - The
messagefield inRuStoreProductPurchaseExceptionandRuStorePurchaseCancelledExceptionnow contains detailed error information from the native SDK.
- Native
- FIX: Fixed a bug where the
ApplicationSchemeWasNotProvidedexception 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
purchaseOneStepmethod has been replaced bypurchase- Added support for deep links
7.0.0 #
- Initial release.