Skip to content
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: 1 addition & 1 deletion Sources/PurchaseKit/Manager/RKPurchasesManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public actor PurchasesManager: PurchasesProtocol {
/// - identifiers: Product IDs registered in App Store Connect.
@discardableResult
public nonisolated static func configure(identifiers: [String]) -> PurchasesManager {
precondition(instance == nil, "PurchasesActor.configure(_:)" + " has already been called. Double configuration is not allowed.")
precondition(instance == nil, "PurchasesActor.configure(_:) has already been called. Double configuration is not allowed.")
let instance = PurchasesManager(identifiers: identifiers)
self.instance = instance
Task.detached {
Expand Down
2 changes: 1 addition & 1 deletion Sources/PurchaseKit/Protocols/RKPurchasesProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public protocol PurchasesProtocol: Sendable {
/// - SeeAlso: ``PurchasesProtocol/requestProducts(includingCache:)``
public extension PurchasesProtocol {
func requestProducts(includingCache: Bool = true) async throws -> [StoreProduct] {
[]
try await requestProducts(includingCache: includingCache)
}
}