Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
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
Update iOS implementation to use new instance
  • Loading branch information
mvanbeusekom committed May 11, 2021
commit 345c3306fbdcd209e5f0130aaffa5fa815280fff
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class InAppPurchaseIosPlatform extends InAppPurchasePlatform {

// Register the platform-specific implementation of the idiomatic
// InAppPurchase API.
InAppPurchasePlatform.setInstance(InAppPurchaseIosPlatform());
InAppPurchasePlatform.instance = InAppPurchaseIosPlatform();

_skPaymentQueueWrapper = SKPaymentQueueWrapper();
_observer = _TransactionObserver(StreamController.broadcast());
Expand Down