apphudSubscriptionsUpdated abstract method
Returns array of subscriptions that user ever purchased. Empty array means user never purchased a subscription.
If you have just one subscription group in your app, you will always receive just one subscription in an array.
This method is called when subscription is purchased or updated
(for example, status changed from trial
to expired
or isAutorenewEnabled
changed to false
).
SDK also checks for subscription updates when app becomes active.
Implementation
Future<void> apphudSubscriptionsUpdated(
List<ApphudSubscriptionWrapper> subscriptions,
);