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

Make web Redemption Link APIs stable #4591

Merged
merged 1 commit into from
Dec 16, 2024
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: 0 additions & 2 deletions RevenueCatUI/View+OnRedeemWebPurchaseAttempt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ extension View {
/// ```
/// - Note: If the SDK is not configured when the URL is received, the URL will be ignored
/// - Note: If you need to control better when to perform the redemption, see our docs for examples.
///
/// Warning: This is currently experimental and subject to change.
public func onWebPurchaseRedemptionAttempt(
perform completion: @escaping @Sendable (WebPurchaseRedemptionResult) -> Void
) -> some View {
Expand Down
2 changes: 0 additions & 2 deletions Sources/Purchasing/Purchases/Purchases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,6 @@ public extension Purchases {
}
}

/// Warning: This is currently experimental and subject to change.
func redeemWebPurchase(
webPurchaseRedemption: WebPurchaseRedemption,
completion: @escaping (CustomerInfo?, PublicError?) -> Void
Expand All @@ -1251,7 +1250,6 @@ public extension Purchases {
completion: completion)
}

/// Warning: This is currently experimental and subject to change.
func redeemWebPurchase(_ webPurchaseRedemption: WebPurchaseRedemption) async -> WebPurchaseRedemptionResult {
return await self.purchasesOrchestrator.redeemWebPurchase(webPurchaseRedemption)
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/WebPurchaseRedemption/URL+WebPurchaseRedemption.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ extension URL {
/// Parses a URL and converts it to a ``WebPurchaseRedemption`` if possible that can be
/// redeemed using ``Purchases/redeemWebPurchase(_:)`
///
/// Warning: This is currently experimental and subject to change.
///
/// - Seealso: ``Purchases/redeemWebPurchase(_:)``
public var asWebPurchaseRedemption: WebPurchaseRedemption? {
return Purchases.parseAsWebPurchaseRedemption(self)
Expand Down
1 change: 0 additions & 1 deletion Sources/WebPurchaseRedemption/WebPurchaseRedemption.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import Foundation

/// Class representing a web redemption deep link that can be redeemed by the SDK.
/// Warning: This is currently experimental and subject to change.
///
/// - Seealso: ``Purchases/redeemWebPurchase(_:)``
@objc(RCWebPurchaseRedemption) public final class WebPurchaseRedemption: NSObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import Foundation

/// Represents the result of a web purchase redemption
/// Warning: This is currently experimental and subject to change.
///
/// - Seealso: ``Purchases/redeemWebPurchase(_:)``
public enum WebPurchaseRedemptionResult: Sendable {
Expand Down