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.2.2 #70

Merged
merged 1 commit into from
Aug 8, 2024
Merged
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
@@ -8,7 +8,7 @@

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

s.description = <<-DESC
Binary file modified NamiApple.xcframework.zip
Binary file not shown.
18 changes: 9 additions & 9 deletions NamiApple.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -8,21 +8,24 @@
<key>BinaryPath</key>
<string>NamiApple.framework/NamiApple</string>
<key>LibraryIdentifier</key>
<string>ios-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>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>NamiApple.framework/NamiApple</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>NamiApple.framework</string>
<key>SupportedArchitectures</key>
@@ -31,40 +34,37 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>NamiApple.framework/NamiApple</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>NamiApple.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>NamiApple.framework/NamiApple</string>
<key>LibraryIdentifier</key>
<string>tvos-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>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Original file line number Diff line number Diff line change
@@ -280,6 +280,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
@import Foundation;
@import ObjectiveC;
@import StoreKit;
@import UIKit;
#endif

#endif
@@ -389,6 +390,15 @@ enum NamiLogLevel : NSInteger;

@class NSString;

SWIFT_CLASS("_TtC9NamiApple27NamiAppSuppliedVideoDetails")
@interface NamiAppSuppliedVideoDetails : NSObject
@property (nonatomic, copy) NSString * _Nonnull url;
@property (nonatomic, copy) NSString * _Nullable name;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


SWIFT_CLASS("_TtC9NamiApple12NamiCampaign")
@interface NamiCampaign : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull id;
@@ -1027,15 +1037,25 @@ SWIFT_CLASS("_TtC9NamiApple13NamiMLManager")
@end


SWIFT_CLASS("_TtC9NamiApple26NamiPaywallComponentChange")
@interface NamiPaywallComponentChange : NSObject
SWIFT_CLASS("_TtC9NamiApple16NamiPaywallEvent")
@interface NamiPaywallEvent : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


SWIFT_CLASS("_TtC9NamiApple16NamiPaywallEvent")
@interface NamiPaywallEvent : NSObject
SWIFT_CLASS("_TtC9NamiApple31NamiPaywallEventComponentChange")
@interface NamiPaywallEventComponentChange : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end


SWIFT_CLASS("_TtC9NamiApple29NamiPaywallEventVideoMetadata")
@interface NamiPaywallEventVideoMetadata : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@@ -1053,7 +1073,6 @@ SWIFT_CLASS("_TtC9NamiApple18NamiPaywallManager")
@class NamiPurchaseSuccess;
@class SKProduct;
@class SKPaymentTransaction;
@class NamiPromo;

@interface NamiPaywallManager (SWIFT_EXTENSION(NamiApple))
/// Provides Nami a callback to activate addiitonal UI required for the user to attempt to log in. This is called when a paywall is raised that has a “sign in” button the user taps.
@@ -1122,10 +1141,10 @@ SWIFT_CLASS("_TtC9NamiApple18NamiPaywallManager")
+ (void)hide;
/// Use this to check if a paywall is currently being shown to the end user
+ (BOOL)isPaywallOpen SWIFT_WARN_UNUSED_RESULT;
/// Receive a signed signature for applying to a promotion. Requires a proper entitlement to use.
+ (void)getSignedPromoWithSkuId:(NSString * _Nonnull)skuId promoId:(NSString * _Nonnull)promoId completeHandler:(void (^ _Nullable)(NamiPromo * _Nullable))completeHandler;
/// Used to set product details when StoreKit is unavailable. For advanced use cases only.
+ (void)setProductDetailsWithProductDetails:(NSString * _Nonnull)productDetails;
/// Used to asynchronously set a video URL for use by the paywall video component. For advanced use cases only.
+ (void)setAppSuppliedVideoDetailsWithUrl:(NSString * _Nonnull)url name:(NSString * _Nullable)name;
@end


@@ -1416,6 +1435,13 @@ typedef SWIFT_ENUM(NSInteger, StoreKitStatusCodes, open) {




@class UIEvent;

@interface UIWindow (SWIFT_EXTENSION(NamiApple))
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent * _Nullable)_;
@end

#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
Binary file modified NamiApple.xcframework/ios-arm64/NamiApple.framework/Info.plist
Binary file not shown.
Loading