Skip to content

Commit 88122e4

Browse files
authored
Merge pull request #69 from Purchasely/Release/5.3.4RC
5.3.4
2 parents d3b4fc0 + 2a49cb0 commit 88122e4

File tree

77 files changed

+8716
-8313
lines changed

Some content is hidden

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

77 files changed

+8716
-8313
lines changed

Purchasely-tvOS.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,6 @@
109109
"5.3.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.0/Purchasely-tvos.framework.zip",
110110
"5.3.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.1/Purchasely-tvos.framework.zip",
111111
"5.3.2": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.2/Purchasely-tvos.framework.zip",
112-
"5.3.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.3/Purchasely-tvos.framework.zip"
112+
"5.3.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.3/Purchasely-tvos.framework.zip",
113+
"5.3.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.4/Purchasely-tvos.framework.zip"
113114
}

Purchasely-xcframework.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@
3636
"5.3.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.0/Purchasely-ios-xcframework.zip",
3737
"5.3.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.1/Purchasely-ios-xcframework.zip",
3838
"5.3.2": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.2/Purchasely-ios-xcframework.zip",
39-
"5.3.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.3/Purchasely-ios-xcframework.zip"
39+
"5.3.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.3/Purchasely-ios-xcframework.zip",
40+
"5.3.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.4/Purchasely-ios-xcframework.zip"
4041
}

Purchasely.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,6 @@
112112
"5.3.0": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.0/Purchasely-ios.framework.zip",
113113
"5.3.1": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.1/Purchasely-ios.framework.zip",
114114
"5.3.2": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.2/Purchasely-ios.framework.zip",
115-
"5.3.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.3/Purchasely-ios.framework.zip"
115+
"5.3.3": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.3/Purchasely-ios.framework.zip",
116+
"5.3.4": "https://github.com/Purchasely/Purchasely-iOS/releases/download/5.3.4/Purchasely-ios.framework.zip"
116117
}

Purchasely.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'Purchasely'
11-
s.version = '5.3.3'
11+
s.version = '5.3.4'
1212
s.summary = 'The simplest way to add In App Purchase to your apps.'
1313

1414
# This description is used to generate tags and improve search results.

Purchasely/Frameworks/Purchasely.xcframework/Info.plist

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,71 +6,71 @@
66
<array>
77
<dict>
88
<key>BinaryPath</key>
9-
<string>Purchasely.framework/Purchasely</string>
9+
<string>Purchasely.framework/Versions/A/Purchasely</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64</string>
11+
<string>ios-arm64_x86_64-maccatalyst</string>
1212
<key>LibraryPath</key>
1313
<string>Purchasely.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17+
<string>x86_64</string>
1718
</array>
1819
<key>SupportedPlatform</key>
1920
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>maccatalyst</string>
2023
</dict>
2124
<dict>
2225
<key>BinaryPath</key>
2326
<string>Purchasely.framework/Purchasely</string>
2427
<key>LibraryIdentifier</key>
25-
<string>tvos-arm64</string>
28+
<string>ios-arm64_x86_64-simulator</string>
2629
<key>LibraryPath</key>
2730
<string>Purchasely.framework</string>
2831
<key>SupportedArchitectures</key>
2932
<array>
3033
<string>arm64</string>
34+
<string>x86_64</string>
3135
</array>
3236
<key>SupportedPlatform</key>
33-
<string>tvos</string>
37+
<string>ios</string>
38+
<key>SupportedPlatformVariant</key>
39+
<string>simulator</string>
3440
</dict>
3541
<dict>
3642
<key>BinaryPath</key>
3743
<string>Purchasely.framework/Purchasely</string>
3844
<key>LibraryIdentifier</key>
39-
<string>tvos-arm64_x86_64-simulator</string>
45+
<string>ios-arm64</string>
4046
<key>LibraryPath</key>
4147
<string>Purchasely.framework</string>
4248
<key>SupportedArchitectures</key>
4349
<array>
4450
<string>arm64</string>
45-
<string>x86_64</string>
4651
</array>
4752
<key>SupportedPlatform</key>
48-
<string>tvos</string>
49-
<key>SupportedPlatformVariant</key>
50-
<string>simulator</string>
53+
<string>ios</string>
5154
</dict>
5255
<dict>
5356
<key>BinaryPath</key>
54-
<string>Purchasely.framework/Versions/A/Purchasely</string>
57+
<string>Purchasely.framework/Purchasely</string>
5558
<key>LibraryIdentifier</key>
56-
<string>ios-arm64_x86_64-maccatalyst</string>
59+
<string>tvos-arm64</string>
5760
<key>LibraryPath</key>
5861
<string>Purchasely.framework</string>
5962
<key>SupportedArchitectures</key>
6063
<array>
6164
<string>arm64</string>
62-
<string>x86_64</string>
6365
</array>
6466
<key>SupportedPlatform</key>
65-
<string>ios</string>
66-
<key>SupportedPlatformVariant</key>
67-
<string>maccatalyst</string>
67+
<string>tvos</string>
6868
</dict>
6969
<dict>
7070
<key>BinaryPath</key>
7171
<string>Purchasely.framework/Purchasely</string>
7272
<key>LibraryIdentifier</key>
73-
<string>ios-arm64_x86_64-simulator</string>
73+
<string>tvos-arm64_x86_64-simulator</string>
7474
<key>LibraryPath</key>
7575
<string>Purchasely.framework</string>
7676
<key>SupportedArchitectures</key>
@@ -79,15 +79,15 @@
7979
<string>x86_64</string>
8080
</array>
8181
<key>SupportedPlatform</key>
82-
<string>ios</string>
82+
<string>tvos</string>
8383
<key>SupportedPlatformVariant</key>
8484
<string>simulator</string>
8585
</dict>
8686
</array>
8787
<key>CFBundlePackageType</key>
8888
<string>XFWK</string>
8989
<key>CFBundleShortVersionString</key>
90-
<string>5.3.3</string>
90+
<string>5.3.4</string>
9191
<key>XCFrameworkFormatVersion</key>
9292
<string>1.0</string>
9393
</dict>

Purchasely/Frameworks/Purchasely.xcframework/ios-arm64/Purchasely.framework/Headers/Purchasely-Swift.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,29 @@ SWIFT_CLASS("_TtC10Purchasely15PLYPresentation")
702702
@property (nonatomic, readonly, strong) UIColor * _Nullable backgroundColor;
703703
@property (nonatomic, readonly) NSInteger height;
704704
@property (nonatomic, readonly) enum PLYDisplayMode displayMode;
705+
/// Displays the presentation to the user.
706+
/// This method handles the presentation of the content (e.g., a paywall) on the screen.
707+
/// It’s a wrapper around the core presentation logic of the Purchasely SDK.
708+
/// note:
709+
/// If <code>sourceViewController</code> is <code>nil</code>, the SDK will automatically attempt to find the top-most view controller in your application’s hierarchy to present from. This is useful for calling the display method from a non-UI context.
710+
/// \param sourceViewController The <code>UIViewController</code> from which to present the new view. This is optional. If you provide a view controller, the presentation will originate from it.
711+
///
705712
- (void)displayFrom:(UIViewController * _Nullable)sourceViewController;
713+
/// Programmatically closes the currently displayed presentation.
714+
/// Call this method to dismiss the view controller that was shown via the <code>display()</code> method.
715+
/// It internally handles the correct dismissal logic based on the type of content being shown.
716+
/// note:
717+
/// This function differentiates between two presentation types:
718+
/// <ul>
719+
/// <li>
720+
/// A “Flow”: A sequence of multiple, connected screens managed by <code>FlowsManager</code>.
721+
/// </li>
722+
/// <li>
723+
/// A single controller: A standalone screen.
724+
/// It ensures the appropriate manager handles the dismissal.
725+
/// </li>
726+
/// </ul>
727+
- (void)close;
706728
@property (nonatomic, readonly) BOOL isFlow;
707729
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
708730
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
Binary file not shown.

0 commit comments

Comments
 (0)