Skip to content

Commit

Permalink
[AUTOMATIC] iOS 4.23.1 => 4.24.1 (#457)
Browse files Browse the repository at this point in the history
[AUTOMATIC] iOS 4.23.1 => 4.24.1

---------

Co-authored-by: NachoSoto <ignaciosoto90@gmail.com>
  • Loading branch information
RCGitBot and NachoSoto authored Jul 10, 2023
1 parent e4e9fcc commit a77fd96
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 39 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
In `ios/PurchasesHybridCommon/Podfile` replace:

```
pod 'RevenueCat', '4.23.1'
pod 'RevenueCat', '4.24.1'
```

with:
Expand Down
2 changes: 1 addition & 1 deletion PurchasesHybridCommon.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Pod::Spec.new do |s|

s.framework = 'StoreKit'

s.dependency 'RevenueCat', '4.23.1'
s.dependency 'RevenueCat', '4.24.1'
s.swift_version = '5.0'

s.ios.deployment_target = '11.0'
Expand Down
4 changes: 2 additions & 2 deletions ios/PurchasesHybridCommon/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target 'PurchasesHybridCommon' do
use_frameworks!

# Pods for PurchasesHybridCommon
pod 'RevenueCat', '4.23.1'
pod 'RevenueCat', '4.24.1'

target 'PurchasesHybridCommonTests' do
# Pods for testing
Expand All @@ -25,5 +25,5 @@ target 'ObjCAPITester' do
platform :ios, '11.0'
use_frameworks!

pod 'RevenueCat', '4.23.1'
pod 'RevenueCat', '4.24.1'
end
8 changes: 4 additions & 4 deletions ios/PurchasesHybridCommon/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PODS:
- Nimble (10.0.0)
- Quick (5.0.1)
- RevenueCat (4.23.1)
- RevenueCat (4.24.1)

DEPENDENCIES:
- Nimble
- Quick
- RevenueCat (= 4.23.1)
- RevenueCat (= 4.24.1)

SPEC REPOS:
trunk:
Expand All @@ -17,8 +17,8 @@ SPEC REPOS:
SPEC CHECKSUMS:
Nimble: 5316ef81a170ce87baf72dd961f22f89a602ff84
Quick: 749aa754fd1e7d984f2000fe051e18a3a9809179
RevenueCat: 2b099ec01da3f3c1f26c1c4c4da3ab36a4d88f25
RevenueCat: 8e5da200b5a5f45688aead5d803654c19f739914

PODFILE CHECKSUM: 3eeaf6eb26814629e80d8ce22d77a8fe4e0207b9
PODFILE CHECKSUM: 6daaa7917aaee18eec1ca816a25dc248a89580bd

COCOAPODS: 1.12.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class OfferingInfoHybridAdditionsTests: QuickSpec {
.init(
identifier: "annual",
packageType: .annual,
storeProduct: MockStoreProduct(),
storeProduct: TestStoreProduct().toStoreProduct(),
offeringIdentifier: "default"
)
]
Expand Down Expand Up @@ -54,7 +54,7 @@ class OfferingInfoHybridAdditionsTests: QuickSpec {
.init(
identifier: "annual",
packageType: .annual,
storeProduct: MockStoreProduct(),
storeProduct: TestStoreProduct().toStoreProduct(),
offeringIdentifier: "default"
)
]
Expand All @@ -72,34 +72,17 @@ class OfferingInfoHybridAdditionsTests: QuickSpec {
extension StoreProduct.ProductCategory: @unchecked Sendable {}
extension StoreProduct.ProductType: @unchecked Sendable {}

private struct MockStoreProduct: StoreProductType {

var productCategory: StoreProduct.ProductCategory = .subscription

var productType: StoreProduct.ProductType = .autoRenewableSubscription

var localizedDescription: String = ""

var localizedTitle: String = ""

var currencyCode: String? = ""

var price: Decimal = 0.0

var localizedPriceString: String = ""

var productIdentifier: String = ""

var isFamilyShareable: Bool = false

var subscriptionGroupIdentifier: String? = nil

var priceFormatter: NumberFormatter? = nil

var subscriptionPeriod: RevenueCat.SubscriptionPeriod? = nil

var introductoryDiscount: RevenueCat.StoreProductDiscount? = nil

var discounts: [RevenueCat.StoreProductDiscount] = []
private extension TestStoreProduct {

init() {
self.init(
localizedTitle: "",
price: 0.0,
localizedPriceString: "",
productIdentifier: "",
productType: .autoRenewableSubscription,
localizedDescription: ""
)
}

}

0 comments on commit a77fd96

Please sign in to comment.