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

Changed StoreKit2Setting.default back to .enabledOnlyForOptimizations #2022

Merged
merged 1 commit into from
Nov 4, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Misc/StoreKit2Setting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extension StoreKit2Setting {
: .enabledOnlyForOptimizations
}

static let `default`: Self = .enabledForCompatibleDevices
static let `default`: Self = .enabledOnlyForOptimizations

}

Expand Down
4 changes: 2 additions & 2 deletions Sources/Purchasing/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ import Foundation

/**
* Set `usesStoreKit2IfAvailable`.
* - Parameter usesStoreKit2IfAvailable: opt out of using StoreKit 2 on devices that support it.
* Defaults to `true`.
* - Parameter usesStoreKit2IfAvailable: opt in using StoreKit 2 on devices that support it.
* Defaults to `false`.
*/
@objc public func with(usesStoreKit2IfAvailable: Bool) -> Builder {
self.storeKit2Setting = .init(useStoreKit2IfAvailable: usesStoreKit2IfAvailable)
Expand Down