Skip to content

Commit

Permalink
Merge pull request #54 from Purchasely/Release/5.0.2RC2
Browse files Browse the repository at this point in the history
5.0.2
  • Loading branch information
EPIKorial authored Jan 24, 2025
2 parents cb8c58d + 1d54fbd commit f2804c4
Show file tree
Hide file tree
Showing 210 changed files with 11,508 additions and 1,439 deletions.
3 changes: 2 additions & 1 deletion Purchasely-tvOS.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@
"4.5.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.5.4/Purchasely-tvos.framework.zip",
"5.0.0-rc01": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.0-rc01/Purchasely-tvos.framework.zip",
"5.0.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.0/Purchasely-tvos.framework.zip",
"5.0.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.1/Purchasely-tvos.framework.zip"
"5.0.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.1/Purchasely-tvos.framework.zip",
"5.0.2": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.2/Purchasely-tvos.framework.zip"
}
3 changes: 2 additions & 1 deletion Purchasely-xcframework.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
"4.5.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.5.4/Purchasely-ios-xcframework.zip",
"5.0.0-rc01": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.0-rc01/Purchasely-ios-xcframework.zip",
"5.0.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.0/Purchasely-ios-xcframework.zip",
"5.0.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.1/Purchasely-ios-xcframework.zip"
"5.0.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.1/Purchasely-ios-xcframework.zip",
"5.0.2": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.2/Purchasely-ios-xcframework.zip"
}
3 changes: 2 additions & 1 deletion Purchasely.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,6 @@
"4.5.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.5.4/Purchasely-ios.framework.zip",
"5.0.0-rc01": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.0-rc01/Purchasely-ios.framework.zip",
"5.0.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.0/Purchasely-ios.framework.zip",
"5.0.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.1/Purchasely-ios.framework.zip"
"5.0.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.1/Purchasely-ios.framework.zip",
"5.0.2": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.0.2/Purchasely-ios.framework.zip"
}
2 changes: 1 addition & 1 deletion Purchasely.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Purchasely'
s.version = '5.0.1'
s.version = '5.0.2'
s.summary = 'The simplest way to add In App Purchase to your apps.'

# This description is used to generate tags and improve search results.
Expand Down
34 changes: 17 additions & 17 deletions Purchasely/Frameworks/Purchasely.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,21 @@
<key>BinaryPath</key>
<string>Purchasely.framework/Purchasely</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Purchasely.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>Purchasely.framework/Versions/A/Purchasely</string>
<string>Purchasely.framework/Purchasely</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Purchasely.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -34,60 +31,63 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>Purchasely.framework/Purchasely</string>
<string>Purchasely.framework/Versions/A/Purchasely</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>Purchasely.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>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>Purchasely.framework/Purchasely</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>tvos-arm64</string>
<key>LibraryPath</key>
<string>Purchasely.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>
<dict>
<key>BinaryPath</key>
<string>Purchasely.framework/Purchasely</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Purchasely.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>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>CFBundleShortVersionString</key>
<string>5.0.1</string>
<string>5.0.2</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
#ifndef PURCHASELY_SWIFT_H
#define PURCHASELY_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -644,6 +644,7 @@ SWIFT_CLASS("_TtC10Purchasely15PLYPresentation")
@property (nonatomic, readonly, copy) NSArray<PLYPresentationPlan *> * _Nonnull plans;
@property (nonatomic, readonly, strong) PLYPresentationMetadata * _Nullable metadata;
@property (nonatomic, readonly, strong) UIColor * _Nullable backgroundColor;
@property (nonatomic, readonly) NSInteger height;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -860,6 +861,34 @@ SWIFT_PROTOCOL("_TtP10Purchasely12PLYUIHandler_")
- (void)displayWithAlert:(enum PLYAlertMessage)alert with:(NSError * _Nullable)error proceed:(void (^ _Nonnull)(void))proceed;
@end

enum PLYUserAttributeType : NSInteger;
enum PLYUserAttributeSource : NSInteger;

SWIFT_PROTOCOL("_TtP10Purchasely24PLYUserAttributeDelegate_")
@protocol PLYUserAttributeDelegate
@optional
- (void)onUserAttributeSetWithKey:(NSString * _Nonnull)key type:(enum PLYUserAttributeType)type value:(id _Nullable)value source:(enum PLYUserAttributeSource)source;
- (void)onUserAttributeRemovedWithKey:(NSString * _Nonnull)key source:(enum PLYUserAttributeSource)source;
@end

typedef SWIFT_ENUM(NSInteger, PLYUserAttributeSource, open) {
PLYUserAttributeSourcePurchasely = 0,
PLYUserAttributeSourceClient = 1,
};

typedef SWIFT_ENUM(NSInteger, PLYUserAttributeType, open) {
PLYUserAttributeTypeString = 0,
PLYUserAttributeTypeBool = 1,
PLYUserAttributeTypeInt = 2,
PLYUserAttributeTypeDouble = 3,
PLYUserAttributeTypeDate = 4,
PLYUserAttributeTypeStringArray = 5,
PLYUserAttributeTypeIntArray = 6,
PLYUserAttributeTypeDoubleArray = 7,
PLYUserAttributeTypeBoolArray = 8,
PLYUserAttributeTypeUnknown = 9,
};


/// This class manages the In App purchase process from grabbing the product details to performing
/// the purchase and sending the receipts to the server.
Expand Down Expand Up @@ -888,14 +917,14 @@ SWIFT_CLASS("_TtC10Purchasely10Purchasely")




@interface Purchasely (SWIFT_EXTENSION(Purchasely))
+ (void)showController:(UIViewController * _Nonnull)controller type:(enum PLYUIControllerType)type from:(UIViewController * _Nullable)sourceViewController;
@end





@class StorekitSettings;
@class NSLocale;
enum PLYAttribute : NSInteger;
Expand All @@ -910,6 +939,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
+ (NSString * _Nullable)getSDKVersion SWIFT_WARN_UNUSED_RESULT;
+ (void)setEventDelegate:(id <PLYEventDelegate> _Nullable)eventDelegate;
+ (void)setUIHandler:(id <PLYUIHandler> _Nullable)uiHandler;
+ (void)setUserAttributeDelegate:(id <PLYUserAttributeDelegate> _Nonnull)userAttributeDelegate;
/// This function is used to set a handler that is called when a user
/// makes an action in a paywall to give a chance to the app to intercept it
/// and act or let Purchasely deal with it (or both).
Expand Down
Binary file not shown.
Loading

0 comments on commit f2804c4

Please sign in to comment.