Skip to content

Commit 91da100

Browse files
[in_app_purchase_storekit] Add Swift Package Manager compatibility (#8469)
Makes `in_app_purchase_storekit` available as a Swift Package to Flutter Closes [#146905](flutter/flutter#146905)
1 parent 23f7c74 commit 91da100

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+119
-63
lines changed

packages/in_app_purchase/in_app_purchase_storekit/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.21
2+
3+
* Adds Swift Package Manager compatibility.
4+
15
## 0.3.20+4
26

37
* Exposes `jsonRepresentation` field for transactions.

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/in_app_purchase_storekit-Bridging-Header.h

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit.podspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ Downloaded by pub (not CocoaPods).
1717
# Updating it before the package is published will cause a lint error and block the tree.
1818
s.documentation_url = 'https://pub.dev/packages/in_app_purchase'
1919
s.swift_version = '5.0'
20-
s.source_files = 'Classes/**/*.{h,m,swift}'
21-
s.public_header_files = 'Classes/**/*.h'
20+
s.source_files = 'in_app_purchase_storekit/Sources/**/*.{h,m,swift}'
21+
s.public_header_files = 'in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/**/*.h'
22+
2223
s.ios.dependency 'Flutter'
2324
s.osx.dependency 'FlutterMacOS'
2425
s.ios.deployment_target = '12.0'
2526
s.osx.deployment_target = '10.15'
27+
2628
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
27-
s.resource_bundles = {'in_app_purchase_storekit_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
29+
s.resource_bundles = {'in_app_purchase_storekit_privacy' => ['in_app_purchase_storekit/Sources/in_app_purchase_storekit/Resources/PrivacyInfo.xcprivacy']}
2830
s.xcconfig = {
2931
'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift',
3032
'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// swift-tools-version: 5.9
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
// Copyright 2013 The Flutter Authors. All rights reserved.
5+
// Use of this source code is governed by a BSD-style license that can be
6+
// found in the LICENSE file.
7+
8+
import PackageDescription
9+
10+
let package = Package(
11+
name: "in_app_purchase_storekit",
12+
platforms: [
13+
.iOS(.v12),
14+
.macOS(.v10_15),
15+
],
16+
products: [
17+
.library(name: "in-app-purchase-storekit", targets: ["in_app_purchase_storekit"])
18+
],
19+
dependencies: [],
20+
targets: [
21+
.target(
22+
name: "in_app_purchase_storekit",
23+
dependencies: [
24+
"in_app_purchase_storekit_objc"
25+
],
26+
resources: [
27+
.process("Resources/PrivacyInfo.xcprivacy")
28+
]
29+
),
30+
.target(
31+
name: "in_app_purchase_storekit_objc",
32+
dependencies: [],
33+
publicHeadersPath: "include/in_app_purchase_storekit_objc",
34+
cSettings: [
35+
.headerSearchPath("include/in_app_purchase_storekit_objc")
36+
]
37+
),
38+
]
39+
)

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/InAppPurchasePlugin.swift renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit/InAppPurchasePlugin.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
import Foundation
66
import StoreKit
77

8+
#if canImport(in_app_purchase_storekit_objc)
9+
import in_app_purchase_storekit_objc
10+
#endif
11+
812
#if os(iOS)
913
import Flutter
1014
#elseif os(macOS)
@@ -241,7 +245,7 @@ public class InAppPurchasePlugin: NSObject, FlutterPlugin, FIAInAppPurchaseAPI {
241245

242246
// TODO(louisehsu): This is a workaround for objc pigeon's NSNull support. Once we move to swift pigeon, this can be removed.
243247
let castedFinishMap: [String: String] = finishMap.compactMapValues { value in
244-
if let _ = value as? NSNull {
248+
if value as? NSNull != nil {
245249
return nil
246250
} else if let stringValue = value as? String {
247251
return stringValue

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/StoreKit2/InAppPurchasePlugin+StoreKit2.swift renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit/StoreKit2/InAppPurchasePlugin+StoreKit2.swift

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

5+
import StoreKit
6+
57
@available(iOS 15.0, macOS 12.0, *)
68
extension InAppPurchasePlugin: InAppPurchase2API {
79

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/StoreKit2/sk2_pigeon.g.swift renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit/StoreKit2/sk2_pigeon.g.swift

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v22.6.0), do not edit directly.
4+
// Autogenerated from Pigeon (v22.7.3), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66

77
import Foundation
@@ -392,7 +392,7 @@ struct SK2ErrorMessage {
392392
}
393393
}
394394

395-
private class sk2_pigeonPigeonCodecReader: FlutterStandardReader {
395+
private class Sk2PigeonPigeonCodecReader: FlutterStandardReader {
396396
override func readValue(ofType type: UInt8) -> Any? {
397397
switch type {
398398
case 129:
@@ -447,7 +447,7 @@ private class sk2_pigeonPigeonCodecReader: FlutterStandardReader {
447447
}
448448
}
449449

450-
private class sk2_pigeonPigeonCodecWriter: FlutterStandardWriter {
450+
private class Sk2PigeonPigeonCodecWriter: FlutterStandardWriter {
451451
override func writeValue(_ value: Any) {
452452
if let value = value as? SK2ProductTypeMessage {
453453
super.writeByte(129)
@@ -494,18 +494,18 @@ private class sk2_pigeonPigeonCodecWriter: FlutterStandardWriter {
494494
}
495495
}
496496

497-
private class sk2_pigeonPigeonCodecReaderWriter: FlutterStandardReaderWriter {
497+
private class Sk2PigeonPigeonCodecReaderWriter: FlutterStandardReaderWriter {
498498
override func reader(with data: Data) -> FlutterStandardReader {
499-
return sk2_pigeonPigeonCodecReader(data: data)
499+
return Sk2PigeonPigeonCodecReader(data: data)
500500
}
501501

502502
override func writer(with data: NSMutableData) -> FlutterStandardWriter {
503-
return sk2_pigeonPigeonCodecWriter(data: data)
503+
return Sk2PigeonPigeonCodecWriter(data: data)
504504
}
505505
}
506506

507-
class sk2_pigeonPigeonCodec: FlutterStandardMessageCodec, @unchecked Sendable {
508-
static let shared = sk2_pigeonPigeonCodec(readerWriter: sk2_pigeonPigeonCodecReaderWriter())
507+
class Sk2PigeonPigeonCodec: FlutterStandardMessageCodec, @unchecked Sendable {
508+
static let shared = Sk2PigeonPigeonCodec(readerWriter: Sk2PigeonPigeonCodecReaderWriter())
509509
}
510510

511511
/// Generated protocol from Pigeon that represents a handler of messages from Flutter.
@@ -525,11 +525,11 @@ protocol InAppPurchase2API {
525525

526526
/// Generated setup class from Pigeon to handle messages through the `binaryMessenger`.
527527
class InAppPurchase2APISetup {
528-
static var codec: FlutterStandardMessageCodec { sk2_pigeonPigeonCodec.shared }
528+
static var codec: FlutterStandardMessageCodec { Sk2PigeonPigeonCodec.shared }
529529
/// Sets up an instance of `InAppPurchase2API` to handle messages through the `binaryMessenger`.
530530
static func setUp(
531-
binaryMessenger: FlutterBinaryMessenger,
532-
api: InAppPurchase2API?, messageChannelSuffix: String = ""
531+
binaryMessenger: FlutterBinaryMessenger, api: InAppPurchase2API?,
532+
messageChannelSuffix: String = ""
533533
) {
534534
let channelSuffix = messageChannelSuffix.count > 0 ? ".\(messageChannelSuffix)" : ""
535535
let canMakePaymentsChannel = FlutterBasicMessageChannel(
@@ -691,8 +691,8 @@ class InAppPurchase2CallbackAPI: InAppPurchase2CallbackAPIProtocol {
691691
self.binaryMessenger = binaryMessenger
692692
self.messageChannelSuffix = messageChannelSuffix.count > 0 ? ".\(messageChannelSuffix)" : ""
693693
}
694-
var codec: sk2_pigeonPigeonCodec {
695-
return sk2_pigeonPigeonCodec.shared
694+
var codec: Sk2PigeonPigeonCodec {
695+
return Sk2PigeonPigeonCodec.shared
696696
}
697697
func onTransactionsUpdated(
698698
newTransactions newTransactionsArg: [SK2TransactionMessage],

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAObjectTranslator.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/FIAObjectTranslator.m

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

5-
#import "FIAObjectTranslator.h"
5+
#import "./include/in_app_purchase_storekit_objc/FIAObjectTranslator.h"
66

77
#pragma mark - SKProduct Coders
88

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPPaymentQueueDelegate.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/FIAPPaymentQueueDelegate.m

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

5-
#import "FIAPPaymentQueueDelegate.h"
6-
#import "FIAObjectTranslator.h"
5+
#import "./include/in_app_purchase_storekit_objc/FIAPPaymentQueueDelegate.h"
6+
#import "./include/in_app_purchase_storekit_objc/FIAObjectTranslator.h"
77

88
@interface FIAPPaymentQueueDelegate ()
99

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPReceiptManager.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/FIAPReceiptManager.m

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

5-
#import "FIAPReceiptManager.h"
5+
#import "./include/in_app_purchase_storekit_objc/FIAPReceiptManager.h"
6+
67
#if TARGET_OS_OSX
78
#import <FlutterMacOS/FlutterMacOS.h>
89
#else
910
#import <Flutter/Flutter.h>
1011
#endif
11-
#import "FIAObjectTranslator.h"
12+
#import "./include/in_app_purchase_storekit_objc/FIAObjectTranslator.h"
1213

1314
@interface FIAPReceiptManager ()
1415
// Gets the receipt file data from the location of the url. Can be nil if

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPRequestHandler.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/FIAPRequestHandler.m

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

5-
#import "FIAPRequestHandler.h"
5+
#import "./include/in_app_purchase_storekit_objc/FIAPRequestHandler.h"
66
#import <StoreKit/StoreKit.h>
77

88
#pragma mark - Main Handler

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPaymentQueueHandler.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/FIAPaymentQueueHandler.m

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

5-
#import "FIAPaymentQueueHandler.h"
6-
#import "FIAPPaymentQueueDelegate.h"
7-
#import "FIATransactionCache.h"
5+
#import "./include/in_app_purchase_storekit_objc/FIAPaymentQueueHandler.h"
6+
#import "./include/in_app_purchase_storekit_objc/FIAPPaymentQueueDelegate.h"
7+
#import "./include/in_app_purchase_storekit_objc/FIATransactionCache.h"
88

99
@interface FIAPaymentQueueHandler ()
1010

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIATransactionCache.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/FIATransactionCache.m

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

5-
#import "FIATransactionCache.h"
5+
#import "./include/in_app_purchase_storekit_objc/FIATransactionCache.h"
66

77
@interface FIATransactionCache ()
88

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/Protocols/FLTMethodChannelProtocol.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/Protocols/FLTMethodChannelProtocol.m

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

5-
#import "FLTMethodChannelProtocol.h"
5+
#import "../include/in_app_purchase_storekit_objc/FLTMethodChannelProtocol.h"
6+
7+
#if TARGET_OS_OSX
8+
#import <FlutterMacOS/FlutterMacOS.h>
9+
#else
10+
#import <Flutter/Flutter.h>
11+
#endif
612

713
@interface DefaultMethodChannel ()
814
/// The wrapped FlutterMethodChannel

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/Protocols/FLTPaymentQueueProtocol.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/Protocols/FLTPaymentQueueProtocol.m

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

5-
#import "FLTPaymentQueueProtocol.h"
5+
#import "../include/in_app_purchase_storekit_objc/FLTPaymentQueueProtocol.h"
66

77
@interface DefaultPaymentQueue ()
88
/// The wrapped SKPaymentQueue

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/Protocols/FLTRequestHandlerProtocol.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/Protocols/FLTRequestHandlerProtocol.m

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

5-
#import "FLTRequestHandlerProtocol.h"
5+
#import "../include/in_app_purchase_storekit_objc/FLTRequestHandlerProtocol.h"
66
#import <Foundation/Foundation.h>
7-
#import "FIAPRequestHandler.h"
7+
#import "../include/in_app_purchase_storekit_objc/FIAPRequestHandler.h"
88

99
@interface DefaultRequestHandler ()
1010
/// The wrapped FIAPRequestHandler

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/Protocols/FLTTransactionCacheProtocol.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/Protocols/FLTTransactionCacheProtocol.m

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

5-
#import "FLTTransactionCacheProtocol.h"
5+
#import "../include/in_app_purchase_storekit_objc/FLTTransactionCacheProtocol.h"
66

77
@interface DefaultTransactionCache ()
88
/// The wrapped FIATransactionCache

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPPaymentQueueDelegate.h renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/in_app_purchase_storekit_objc/FIAPPaymentQueueDelegate.h

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

5+
#import <Foundation/Foundation.h>
6+
57
#if TARGET_OS_OSX
68
#import <FlutterMacOS/FlutterMacOS.h>
79
#else
810
#import <Flutter/Flutter.h>
911
#endif
10-
#import <Foundation/Foundation.h>
1112
#import <StoreKit/StoreKit.h>
1213
#import "FLTMethodChannelProtocol.h"
1314

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIAPRequestHandler.h renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/in_app_purchase_storekit_objc/FIAPRequestHandler.h

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

5-
#import <FLTRequestHandlerProtocol.h>
65
#import <Foundation/Foundation.h>
76
#import <StoreKit/StoreKit.h>
7+
#import "FLTRequestHandlerProtocol.h"
88

99
NS_ASSUME_NONNULL_BEGIN
1010

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/FIATransactionCache.h renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/in_app_purchase_storekit_objc/FIATransactionCache.h

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

5+
#import <Foundation/Foundation.h>
6+
57
NS_ASSUME_NONNULL_BEGIN
68

79
typedef NS_ENUM(NSUInteger, TransactionCacheKey) {

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/Protocols/FLTMethodChannelProtocol.h renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/in_app_purchase_storekit_objc/FLTMethodChannelProtocol.h

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

5+
#import <Foundation/Foundation.h>
6+
57
#if TARGET_OS_OSX
68
#import <FlutterMacOS/FlutterMacOS.h>
79
#else

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/Protocols/FLTTransactionCacheProtocol.h renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/in_app_purchase_storekit_objc/FLTTransactionCacheProtocol.h

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

5+
#include <TargetConditionals.h>
56
#import "FIATransactionCache.h"
7+
68
#if TARGET_OS_OSX
79
#import <FlutterMacOS/FlutterMacOS.h>
810
#else

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/messages.g.h renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/include/in_app_purchase_storekit_objc/messages.g.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v22.6.0), do not edit directly.
4+
// Autogenerated from Pigeon (v22.7.3), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66

77
#import <Foundation/Foundation.h>
@@ -67,8 +67,7 @@ typedef NS_ENUM(NSUInteger, FIASKProductDiscountTypeMessage) {
6767
typedef NS_ENUM(NSUInteger, FIASKProductDiscountPaymentModeMessage) {
6868
/// Allows user to pay the discounted price at each payment period.
6969
FIASKProductDiscountPaymentModeMessagePayAsYouGo = 0,
70-
/// Allows user to pay the discounted price upfront and receive the product
71-
/// for the rest of time
70+
/// Allows user to pay the discounted price upfront and receive the product for the rest of time
7271
/// that was paid for.
7372
FIASKProductDiscountPaymentModeMessagePayUpFront = 1,
7473
/// User pays nothing during the discounted period.

packages/in_app_purchase/in_app_purchase_storekit/darwin/Classes/messages.g.m renamed to packages/in_app_purchase/in_app_purchase_storekit/darwin/in_app_purchase_storekit/Sources/in_app_purchase_storekit_objc/messages.g.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v22.6.0), do not edit directly.
4+
// Autogenerated from Pigeon (v22.7.3), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66

7-
#import "messages.g.h"
7+
#import "./include/in_app_purchase_storekit_objc/messages.g.h"
88

99
#if TARGET_OS_OSX
1010
#import <FlutterMacOS/FlutterMacOS.h>

0 commit comments

Comments
 (0)