Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
format
  • Loading branch information
amirh committed Oct 28, 2020
commit 8400c670dcd9b67c70f404a7f6dc49e76b4779c4
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class GooglePlayConnection
_purchaseUpdatedController = StreamController.broadcast();
;
}

/// Returns the singleton instance of the [GooglePlayConnection].
static GooglePlayConnection get instance => _getOrCreateInstance();
static GooglePlayConnection _instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ abstract class InAppPurchaseConnection {
enum IAPSource {
/// Google's Play Store.
GooglePlay,

/// Apple's App Store.
AppStore
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,17 @@ enum SKSubscriptionPeriodUnit {
/// An interval lasting one day.
@JsonValue(0)
day,

/// An interval lasting one month.
@JsonValue(1)

/// An interval lasting one week.
week,
@JsonValue(2)

/// An interval lasting one month.
month,

/// An interval lasting one year.
@JsonValue(3)
year,
Expand Down