Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.1.4 #43

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion Nami.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Nami'
s.version = '3.1.3'
s.version = '3.1.4'
s.summary = 'Easy Apple StoreKit subscriptions & in-app purchases, with powerful built-in paywalls and A/B testing.'

s.description = <<-DESC
Expand Down
Binary file modified NamiApple.xcframework.zip
Binary file not shown.
14 changes: 7 additions & 7 deletions NamiApple.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>NamiApple.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>NamiApple.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>tvos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,16 +494,16 @@ SWIFT_CLASS("_TtC9NamiApple15NamiEntitlement")
@property (nonatomic, copy) NSString * _Nullable name;
/// Description of entitlement
@property (nonatomic, copy) NSString * _Nullable desc;
/// The Nami ID of the entitlement.
@property (nonatomic, copy) NSString * _Nonnull namiId;
/// The unique ID of the entitlement, use this to refer to the system when referencing an entitlements.
@property (nonatomic, copy) NSString * _Nonnull referenceId;
/// All SKU’s (StoreKit products or other) that grant this entitlement on purchase on this app platform.
@property (nonatomic, copy) NSArray<NamiSKU *> * _Nonnull relatedSkus;
@property (nonatomic, readonly, copy) NSArray<NamiSKU *> * _Nonnull relatedSkus;
/// List of NamiSKU objects that have been purchased and grant this entitlement.
@property (nonatomic, copy) NSArray<NamiSKU *> * _Nonnull purchasedSkus;
@property (nonatomic, readonly, copy) NSArray<NamiSKU *> * _Nonnull purchasedSkus;
/// Purchase records for any purchased SKU. Purchase records hold details like date of purchase, or subscription expiration.
@property (nonatomic, copy) NSArray<NamiPurchase *> * _Nonnull activePurchases;
@property (nonatomic, readonly, copy) NSArray<NamiPurchase *> * _Nonnull activePurchases;
@property (nonatomic, readonly) NSUInteger hash;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand All @@ -517,10 +517,10 @@ SWIFT_CLASS("_TtC9NamiApple22NamiEntitlementManager")


@interface NamiEntitlementManager (SWIFT_EXTENSION(NamiApple))
/// Returns a list of all entitlements defined in the Control Center. Note this includes both inactive and active entitements. To see only active entitements use activeEntitlments().
/// Returns a list of all entitlements defined in the Control Center. Note this includes both inactive and active entitlements. To see only active entitements use activeEntitlements().
///
/// returns:
/// array of all NamiEntitlement objects defined in the Control Center
/// array of all NamiEntitlements objects defined in the Control Center
+ (NSArray<NamiEntitlement *> * _Nonnull)available SWIFT_WARN_UNUSED_RESULT;
/// Returns a list of all active entitlements. Nami checks entitlements across all platforms you have set up in the Control Center. Use active entitlements to control access to different features in your app.
///
Expand Down
Binary file modified NamiApple.xcframework/ios-arm64/NamiApple.framework/Info.plist
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,24 @@ public enum NamiCampaignType : Swift.String, Swift.Codable {
@_hasMissingDesignatedInitializers @objc public class NamiEntitlement : ObjectiveC.NSObject, Swift.Codable {
@objc public var name: Swift.String?
@objc public var desc: Swift.String?
@objc public var namiId: Swift.String
@objc public var referenceId: Swift.String
@objc public var relatedSkus: [NamiApple.NamiSKU]
@objc public var purchasedSkus: [NamiApple.NamiSKU]
@objc public var activePurchases: [NamiApple.NamiPurchase]
@objc public var relatedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var purchasedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var activePurchases: [NamiApple.NamiPurchase] {
@objc get
}
@objc override dynamic public var hash: Swift.Int {
@objc get
}
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
required public init(from decoder: Swift.Decoder) throws
public func encode(to _: Swift.Encoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc deinit
}
extension Foundation.NSNotification.Name {
public static var NamiActiveEntitlementsNotification: Foundation.Notification.Name
}
public typealias NamiEntitlementsResponseHandler = (_ activeEntitlements: [NamiApple.NamiEntitlement]) -> Swift.Void
@objc extension NamiApple.NamiEntitlementManager {
@objc public static func available() -> [NamiApple.NamiEntitlement]
Expand Down Expand Up @@ -759,6 +765,8 @@ public func clearAllNamiStorage()
@objc get
}
@objc public init(productIdentifier: NamiApple.StoreId, purchaseSource: NamiApple.NamiPurchaseSource)
@available(iOS 15.0, *)
public init(transaction: StoreKit.Transaction, source: NamiApple.NamiPurchaseSource?)
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public var isSubscription: Swift.Bool
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,24 @@ public enum NamiCampaignType : Swift.String, Swift.Codable {
@_hasMissingDesignatedInitializers @objc public class NamiEntitlement : ObjectiveC.NSObject, Swift.Codable {
@objc public var name: Swift.String?
@objc public var desc: Swift.String?
@objc public var namiId: Swift.String
@objc public var referenceId: Swift.String
@objc public var relatedSkus: [NamiApple.NamiSKU]
@objc public var purchasedSkus: [NamiApple.NamiSKU]
@objc public var activePurchases: [NamiApple.NamiPurchase]
@objc public var relatedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var purchasedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var activePurchases: [NamiApple.NamiPurchase] {
@objc get
}
@objc override dynamic public var hash: Swift.Int {
@objc get
}
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
required public init(from decoder: Swift.Decoder) throws
public func encode(to _: Swift.Encoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc deinit
}
extension Foundation.NSNotification.Name {
public static var NamiActiveEntitlementsNotification: Foundation.Notification.Name
}
public typealias NamiEntitlementsResponseHandler = (_ activeEntitlements: [NamiApple.NamiEntitlement]) -> Swift.Void
@objc extension NamiApple.NamiEntitlementManager {
@objc public static func available() -> [NamiApple.NamiEntitlement]
Expand Down Expand Up @@ -759,6 +765,8 @@ public func clearAllNamiStorage()
@objc get
}
@objc public init(productIdentifier: NamiApple.StoreId, purchaseSource: NamiApple.NamiPurchaseSource)
@available(iOS 15.0, *)
public init(transaction: StoreKit.Transaction, source: NamiApple.NamiPurchaseSource?)
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public var isSubscription: Swift.Bool
Expand Down
Binary file modified NamiApple.xcframework/ios-arm64/NamiApple.framework/NamiApple
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -496,16 +496,16 @@ SWIFT_CLASS("_TtC9NamiApple15NamiEntitlement")
@property (nonatomic, copy) NSString * _Nullable name;
/// Description of entitlement
@property (nonatomic, copy) NSString * _Nullable desc;
/// The Nami ID of the entitlement.
@property (nonatomic, copy) NSString * _Nonnull namiId;
/// The unique ID of the entitlement, use this to refer to the system when referencing an entitlements.
@property (nonatomic, copy) NSString * _Nonnull referenceId;
/// All SKU’s (StoreKit products or other) that grant this entitlement on purchase on this app platform.
@property (nonatomic, copy) NSArray<NamiSKU *> * _Nonnull relatedSkus;
@property (nonatomic, readonly, copy) NSArray<NamiSKU *> * _Nonnull relatedSkus;
/// List of NamiSKU objects that have been purchased and grant this entitlement.
@property (nonatomic, copy) NSArray<NamiSKU *> * _Nonnull purchasedSkus;
@property (nonatomic, readonly, copy) NSArray<NamiSKU *> * _Nonnull purchasedSkus;
/// Purchase records for any purchased SKU. Purchase records hold details like date of purchase, or subscription expiration.
@property (nonatomic, copy) NSArray<NamiPurchase *> * _Nonnull activePurchases;
@property (nonatomic, readonly, copy) NSArray<NamiPurchase *> * _Nonnull activePurchases;
@property (nonatomic, readonly) NSUInteger hash;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand All @@ -519,10 +519,10 @@ SWIFT_CLASS("_TtC9NamiApple22NamiEntitlementManager")


@interface NamiEntitlementManager (SWIFT_EXTENSION(NamiApple))
/// Returns a list of all entitlements defined in the Control Center. Note this includes both inactive and active entitements. To see only active entitements use activeEntitlments().
/// Returns a list of all entitlements defined in the Control Center. Note this includes both inactive and active entitlements. To see only active entitements use activeEntitlements().
///
/// returns:
/// array of all NamiEntitlement objects defined in the Control Center
/// array of all NamiEntitlements objects defined in the Control Center
+ (NSArray<NamiEntitlement *> * _Nonnull)available SWIFT_WARN_UNUSED_RESULT;
/// Returns a list of all active entitlements. Nami checks entitlements across all platforms you have set up in the Control Center. Use active entitlements to control access to different features in your app.
///
Expand Down Expand Up @@ -1797,16 +1797,16 @@ SWIFT_CLASS("_TtC9NamiApple15NamiEntitlement")
@property (nonatomic, copy) NSString * _Nullable name;
/// Description of entitlement
@property (nonatomic, copy) NSString * _Nullable desc;
/// The Nami ID of the entitlement.
@property (nonatomic, copy) NSString * _Nonnull namiId;
/// The unique ID of the entitlement, use this to refer to the system when referencing an entitlements.
@property (nonatomic, copy) NSString * _Nonnull referenceId;
/// All SKU’s (StoreKit products or other) that grant this entitlement on purchase on this app platform.
@property (nonatomic, copy) NSArray<NamiSKU *> * _Nonnull relatedSkus;
@property (nonatomic, readonly, copy) NSArray<NamiSKU *> * _Nonnull relatedSkus;
/// List of NamiSKU objects that have been purchased and grant this entitlement.
@property (nonatomic, copy) NSArray<NamiSKU *> * _Nonnull purchasedSkus;
@property (nonatomic, readonly, copy) NSArray<NamiSKU *> * _Nonnull purchasedSkus;
/// Purchase records for any purchased SKU. Purchase records hold details like date of purchase, or subscription expiration.
@property (nonatomic, copy) NSArray<NamiPurchase *> * _Nonnull activePurchases;
@property (nonatomic, readonly, copy) NSArray<NamiPurchase *> * _Nonnull activePurchases;
@property (nonatomic, readonly) NSUInteger hash;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand All @@ -1820,10 +1820,10 @@ SWIFT_CLASS("_TtC9NamiApple22NamiEntitlementManager")


@interface NamiEntitlementManager (SWIFT_EXTENSION(NamiApple))
/// Returns a list of all entitlements defined in the Control Center. Note this includes both inactive and active entitements. To see only active entitements use activeEntitlments().
/// Returns a list of all entitlements defined in the Control Center. Note this includes both inactive and active entitlements. To see only active entitements use activeEntitlements().
///
/// returns:
/// array of all NamiEntitlement objects defined in the Control Center
/// array of all NamiEntitlements objects defined in the Control Center
+ (NSArray<NamiEntitlement *> * _Nonnull)available SWIFT_WARN_UNUSED_RESULT;
/// Returns a list of all active entitlements. Nami checks entitlements across all platforms you have set up in the Control Center. Use active entitlements to control access to different features in your app.
///
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,24 @@ public enum NamiCampaignType : Swift.String, Swift.Codable {
@_hasMissingDesignatedInitializers @objc public class NamiEntitlement : ObjectiveC.NSObject, Swift.Codable {
@objc public var name: Swift.String?
@objc public var desc: Swift.String?
@objc public var namiId: Swift.String
@objc public var referenceId: Swift.String
@objc public var relatedSkus: [NamiApple.NamiSKU]
@objc public var purchasedSkus: [NamiApple.NamiSKU]
@objc public var activePurchases: [NamiApple.NamiPurchase]
@objc public var relatedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var purchasedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var activePurchases: [NamiApple.NamiPurchase] {
@objc get
}
@objc override dynamic public var hash: Swift.Int {
@objc get
}
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
required public init(from decoder: Swift.Decoder) throws
public func encode(to _: Swift.Encoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc deinit
}
extension Foundation.NSNotification.Name {
public static var NamiActiveEntitlementsNotification: Foundation.Notification.Name
}
public typealias NamiEntitlementsResponseHandler = (_ activeEntitlements: [NamiApple.NamiEntitlement]) -> Swift.Void
@objc extension NamiApple.NamiEntitlementManager {
@objc public static func available() -> [NamiApple.NamiEntitlement]
Expand Down Expand Up @@ -759,6 +765,8 @@ public func clearAllNamiStorage()
@objc get
}
@objc public init(productIdentifier: NamiApple.StoreId, purchaseSource: NamiApple.NamiPurchaseSource)
@available(iOS 15.0, *)
public init(transaction: StoreKit.Transaction, source: NamiApple.NamiPurchaseSource?)
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public var isSubscription: Swift.Bool
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,24 @@ public enum NamiCampaignType : Swift.String, Swift.Codable {
@_hasMissingDesignatedInitializers @objc public class NamiEntitlement : ObjectiveC.NSObject, Swift.Codable {
@objc public var name: Swift.String?
@objc public var desc: Swift.String?
@objc public var namiId: Swift.String
@objc public var referenceId: Swift.String
@objc public var relatedSkus: [NamiApple.NamiSKU]
@objc public var purchasedSkus: [NamiApple.NamiSKU]
@objc public var activePurchases: [NamiApple.NamiPurchase]
@objc public var relatedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var purchasedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var activePurchases: [NamiApple.NamiPurchase] {
@objc get
}
@objc override dynamic public var hash: Swift.Int {
@objc get
}
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
required public init(from decoder: Swift.Decoder) throws
public func encode(to _: Swift.Encoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc deinit
}
extension Foundation.NSNotification.Name {
public static var NamiActiveEntitlementsNotification: Foundation.Notification.Name
}
public typealias NamiEntitlementsResponseHandler = (_ activeEntitlements: [NamiApple.NamiEntitlement]) -> Swift.Void
@objc extension NamiApple.NamiEntitlementManager {
@objc public static func available() -> [NamiApple.NamiEntitlement]
Expand Down Expand Up @@ -759,6 +765,8 @@ public func clearAllNamiStorage()
@objc get
}
@objc public init(productIdentifier: NamiApple.StoreId, purchaseSource: NamiApple.NamiPurchaseSource)
@available(iOS 15.0, *)
public init(transaction: StoreKit.Transaction, source: NamiApple.NamiPurchaseSource?)
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public var isSubscription: Swift.Bool
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,24 @@ public enum NamiCampaignType : Swift.String, Swift.Codable {
@_hasMissingDesignatedInitializers @objc public class NamiEntitlement : ObjectiveC.NSObject, Swift.Codable {
@objc public var name: Swift.String?
@objc public var desc: Swift.String?
@objc public var namiId: Swift.String
@objc public var referenceId: Swift.String
@objc public var relatedSkus: [NamiApple.NamiSKU]
@objc public var purchasedSkus: [NamiApple.NamiSKU]
@objc public var activePurchases: [NamiApple.NamiPurchase]
@objc public var relatedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var purchasedSkus: [NamiApple.NamiSKU] {
@objc get
}
@objc public var activePurchases: [NamiApple.NamiPurchase] {
@objc get
}
@objc override dynamic public var hash: Swift.Int {
@objc get
}
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
required public init(from decoder: Swift.Decoder) throws
public func encode(to _: Swift.Encoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc deinit
}
extension Foundation.NSNotification.Name {
public static var NamiActiveEntitlementsNotification: Foundation.Notification.Name
}
public typealias NamiEntitlementsResponseHandler = (_ activeEntitlements: [NamiApple.NamiEntitlement]) -> Swift.Void
@objc extension NamiApple.NamiEntitlementManager {
@objc public static func available() -> [NamiApple.NamiEntitlement]
Expand Down Expand Up @@ -759,6 +765,8 @@ public func clearAllNamiStorage()
@objc get
}
@objc public init(productIdentifier: NamiApple.StoreId, purchaseSource: NamiApple.NamiPurchaseSource)
@available(iOS 15.0, *)
public init(transaction: StoreKit.Transaction, source: NamiApple.NamiPurchaseSource?)
required public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
@objc public var isSubscription: Swift.Bool
Expand Down
Binary file not shown.
Loading