Skip to content

Commit

Permalink
[in_app_purchase] Expose in_app_purchase_exception.dart correctly (fl…
Browse files Browse the repository at this point in the history
…utter#3874)

* Expose in_app_purchase_exception.dart correctly

* Update iOS implementation to use new instance
  • Loading branch information
mvanbeusekom committed May 11, 2021
1 parent be327bb commit eb37661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

export 'errors.dart';
export 'in_app_purchase_exception.dart';

0 comments on commit eb37661

Please sign in to comment.