Skip to content

Commit dac6009

Browse files
mvanbeusekomfotiDim
authored andcommitted
[in_app_purchase] Expose in_app_purchase_exception.dart correctly (flutter#3874)
* Expose in_app_purchase_exception.dart correctly * Update iOS implementation to use new instance
1 parent 7c7ab5f commit dac6009

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/in_app_purchase/in_app_purchase_ios/lib/src/in_app_purchase_ios_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class InAppPurchaseIosPlatform extends InAppPurchasePlatform {
4848

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

5353
_skPaymentQueueWrapper = SKPaymentQueueWrapper();
5454
_observer = _TransactionObserver(StreamController.broadcast());

packages/in_app_purchase/in_app_purchase_platform_interface/lib/src/errors/errors.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
export 'errors.dart';
5+
export 'in_app_purchase_exception.dart';

0 commit comments

Comments
 (0)