Skip to content

Commit

Permalink
Merge pull request #26 from Purchasely/Release/4.2.1RC
Browse files Browse the repository at this point in the history
Release 4.2.1
  • Loading branch information
EPIKorial authored Dec 20, 2023
2 parents 057e75e + cd7a4da commit 7ae9097
Show file tree
Hide file tree
Showing 102 changed files with 672 additions and 424 deletions.
3 changes: 2 additions & 1 deletion Purchasely-tvOS.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@
"4.1.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.1.3/Purchasely-tvos.framework.zip",
"4.1.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.1.4/Purchasely-tvos.framework.zip",
"4.1.5": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.1.5/Purchasely-tvos.framework.zip",
"4.2.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.2.0/Purchasely-tvos.framework.zip"
"4.2.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.2.0/Purchasely-tvos.framework.zip",
"4.2.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.2.1/Purchasely-tvos.framework.zip"
}
3 changes: 2 additions & 1 deletion Purchasely.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@
"4.1.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.1.3/Purchasely-ios.framework.zip",
"4.1.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.1.4/Purchasely-ios.framework.zip",
"4.1.5": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.1.5/Purchasely-ios.framework.zip",
"4.2.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.2.0/Purchasely-ios.framework.zip"
"4.2.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.2.0/Purchasely-ios.framework.zip",
"4.2.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/4.2.1/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 = '4.2.0'
s.version = '4.2.1'
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
32 changes: 21 additions & 11 deletions Purchasely/Frameworks/Purchasely.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>Purchasely.framework/Purchasely</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Purchasely.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -17,26 +19,27 @@
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>simulator</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_x86_64-simulator</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Purchasely.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -45,11 +48,13 @@
<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>Purchasely.framework/Purchasely</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
Expand All @@ -62,22 +67,27 @@
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<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>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0</string>
<string>4.2.1</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 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// Generated by Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
#ifndef PURCHASELY_SWIFT_H
#define PURCHASELY_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -42,12 +42,18 @@
#include <string.h>
#endif
#if defined(__cplusplus)
#if __has_include(<ptrauth.h>)
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
# ifndef __ptrauth_swift_value_witness_function_pointer
# define __ptrauth_swift_value_witness_function_pointer(x)
# endif
# ifndef __ptrauth_swift_class_method_pointer
# define __ptrauth_swift_class_method_pointer(x)
# endif
#pragma clang diagnostic pop
#endif
#endif

Expand Down Expand Up @@ -246,6 +252,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_NOEXCEPT
#endif
#if !defined(SWIFT_C_INLINE_THUNK)
# if __has_attribute(always_inline)
# if __has_attribute(nodebug)
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
# else
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
# endif
# else
# define SWIFT_C_INLINE_THUNK inline
# endif
#endif
#if defined(_WIN32)
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
Expand Down Expand Up @@ -596,6 +613,7 @@ enum PLYPresentationType : NSInteger;
@class PLYPresentationViewController;
@class PLYPresentationPlan;
@class PLYPresentationMetadata;
@class UIColor;

SWIFT_CLASS("_TtC10Purchasely15PLYPresentation")
@interface PLYPresentation : NSObject
Expand All @@ -609,6 +627,7 @@ SWIFT_CLASS("_TtC10Purchasely15PLYPresentation")
@property (nonatomic, readonly, strong) PLYPresentationViewController * _Nullable controller;
@property (nonatomic, readonly, copy) NSArray<PLYPresentationPlan *> * _Nonnull plans;
@property (nonatomic, readonly, strong) PLYPresentationMetadata * _Nullable metadata;
@property (nonatomic, readonly, strong) UIColor * _Nullable backgroundColor;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -846,6 +865,7 @@ SWIFT_CLASS("_TtC10Purchasely10Purchasely")




@interface Purchasely (SWIFT_EXTENSION(Purchasely))
+ (void)showController:(UIViewController * _Nonnull)controller type:(enum PLYUIControllerType)type;
@end
Expand All @@ -854,7 +874,6 @@ SWIFT_CLASS("_TtC10Purchasely10Purchasely")




@class StorekitSettings;
@class NSLocale;
enum PLYAttribute : NSInteger;
Expand Down Expand Up @@ -1330,29 +1349,32 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSDictionary<N
+ (void)userDidConsumeSubscriptionContent;
@end

/// WARNING: Add new attribute to the end and always check the list is in the same order than Android
/// It is very important to have the same order for bridges SDK (RN, Flutter, Cordova, Unity) to work properly
/// *
typedef SWIFT_ENUM(NSInteger, PLYAttribute, open) {
PLYAttributeAmplitudeUserId = 0,
PLYAttributeAmplitudeDeviceId = 1,
PLYAttributeFirebaseAppInstanceId = 2,
PLYAttributeAirshipChannelId = 3,
PLYAttributeAirshipUserId = 4,
PLYAttributeBatchInstallationId = 5,
PLYAttributeBatchCustomUserId = 6,
PLYAttributeAdjustId = 7,
PLYAttributeAppsflyerId = 8,
PLYAttributeOneSignalPlayerId = 9,
PLYAttributeMixpanelDistinctId = 10,
PLYAttributeClevertapId = 11,
PLYAttributeSendinblueUserEmail = 12,
PLYAttributeIterableUserEmail = 13,
PLYAttributeIterableUserId = 14,
PLYAttributeAtInternetIdClient = 15,
PLYAttributeMParticleUserId = 16,
PLYAttributeBranchUserDeveloperIdentity = 17,
PLYAttributeCustomerioUserEmail = 18,
PLYAttributeCustomerioUserId = 19,
PLYAttributeMoengageUniqueId = 20,
PLYAttributeOneSignalExternalId = 21,
PLYAttributeFirebaseAppInstanceId = 0,
PLYAttributeAirshipChannelId = 1,
PLYAttributeAirshipUserId = 2,
PLYAttributeBatchInstallationId = 3,
PLYAttributeAdjustId = 4,
PLYAttributeAppsflyerId = 5,
PLYAttributeOneSignalPlayerId = 6,
PLYAttributeMixpanelDistinctId = 7,
PLYAttributeClevertapId = 8,
PLYAttributeSendinblueUserEmail = 9,
PLYAttributeIterableUserEmail = 10,
PLYAttributeIterableUserId = 11,
PLYAttributeAtInternetIdClient = 12,
PLYAttributeMParticleUserId = 13,
PLYAttributeCustomerioUserId = 14,
PLYAttributeCustomerioUserEmail = 15,
PLYAttributeBranchUserDeveloperIdentity = 16,
PLYAttributeAmplitudeUserId = 17,
PLYAttributeAmplitudeDeviceId = 18,
PLYAttributeMoengageUniqueId = 19,
PLYAttributeOneSignalExternalId = 20,
PLYAttributeBatchCustomUserId = 21,
};

typedef SWIFT_ENUM(NSInteger, PLYThemeMode, open) {
Expand Down Expand Up @@ -1398,12 +1420,14 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) StorekitSett



#endif
#if defined(__cplusplus)


#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#if defined(__cplusplus)
#endif
#pragma clang diagnostic pop
#endif

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-compiler-version: Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Purchasely
import AVFoundation
import AVKit
import CommonCrypto
import DeveloperToolsSupport
import Foundation
@_exported import Purchasely
import StoreKit
Expand All @@ -13,6 +14,7 @@ import UIKit
import WebKit
import _Concurrency
import _StoreKit_SwiftUI
import _SwiftConcurrencyShims
extension Swift.Array {
public subscript(safe index: Swift.Int) -> Element? {
get
Expand Down Expand Up @@ -502,6 +504,7 @@ extension PLYPlan {
@objc final public let controller: PLYPresentationViewController?
@objc final public let plans: [PLYPresentationPlan]
@objc final public let metadata: PLYPresentationMetadata?
@objc final public let backgroundColor: UIKit.UIColor?
@objc deinit
}
@objc public enum PLYPresentationType : Swift.Int {
Expand Down Expand Up @@ -858,13 +861,10 @@ extension Purchasely {
@objc public static func clearUserAttributes()
@objc public static func clearUserAttribute(forKey key: Swift.String)
@objc public enum PLYAttribute : Swift.Int {
case amplitudeUserId
case amplitudeDeviceId
case firebaseAppInstanceId
case airshipChannelId
case airshipUserId
case batchInstallationId
case batchCustomUserId
case adjustId
case appsflyerId
case oneSignalPlayerId
Expand All @@ -875,11 +875,14 @@ extension Purchasely {
case iterableUserId
case atInternetIdClient
case mParticleUserId
case branchUserDeveloperIdentity
case customerioUserEmail
case customerioUserId
case customerioUserEmail
case branchUserDeveloperIdentity
case amplitudeUserId
case amplitudeDeviceId
case moengageUniqueId
case oneSignalExternalId
case batchCustomUserId
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
// swift-compiler-version: Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Purchasely
import AVFoundation
import AVKit
import CommonCrypto
import DeveloperToolsSupport
import Foundation
@_exported import Purchasely
import StoreKit
Expand All @@ -13,6 +14,7 @@ import UIKit
import WebKit
import _Concurrency
import _StoreKit_SwiftUI
import _SwiftConcurrencyShims
extension Swift.Array {
public subscript(safe index: Swift.Int) -> Element? {
get
Expand Down Expand Up @@ -502,6 +504,7 @@ extension Purchasely.PLYPlan {
@objc final public let controller: Purchasely.PLYPresentationViewController?
@objc final public let plans: [Purchasely.PLYPresentationPlan]
@objc final public let metadata: Purchasely.PLYPresentationMetadata?
@objc final public let backgroundColor: UIKit.UIColor?
@objc deinit
}
@objc public enum PLYPresentationType : Swift.Int {
Expand Down Expand Up @@ -858,13 +861,10 @@ extension Purchasely.Purchasely {
@objc public static func clearUserAttributes()
@objc public static func clearUserAttribute(forKey key: Swift.String)
@objc public enum PLYAttribute : Swift.Int {
case amplitudeUserId
case amplitudeDeviceId
case firebaseAppInstanceId
case airshipChannelId
case airshipUserId
case batchInstallationId
case batchCustomUserId
case adjustId
case appsflyerId
case oneSignalPlayerId
Expand All @@ -875,11 +875,14 @@ extension Purchasely.Purchasely {
case iterableUserId
case atInternetIdClient
case mParticleUserId
case branchUserDeveloperIdentity
case customerioUserEmail
case customerioUserId
case customerioUserEmail
case branchUserDeveloperIdentity
case amplitudeUserId
case amplitudeDeviceId
case moengageUniqueId
case oneSignalExternalId
case batchCustomUserId
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 7ae9097

Please sign in to comment.