Comments (9)
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
from purchases-ios.
I should probably update Xcode so will try that sometime too.
from purchases-ios.
Hello @kgaidis,
Is this 100% reproducible for you?
Would you be able to share logs directly from Xcode? Sometimes those contain some extra information about StoreKit errors that would be very useful in this context.
Thanks!
from purchases-ios.
Is this 100% reproducible for you?
Yes; I am not sure why. It just randomly started doing that. It has worked on this device before. The one unique thing that I can think of is the 17.4 beta, but, again, the App Store version works.
Added all the logs but there is nothing extra that I see:
Couldn't read values in CFPrefsPlistSource<0x3020a3ba0> (Domain: group.com...., User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
tcp_input [C8.1.1:3] flags=4 seq=3,771,884,790, ack=0, win=0 state=0 rcv_nxt=3,771,884,790, snd_una=2,250,974,775
DEBUG: ℹ️ Configuring SDK using RevenueCat's UserDefaults suite.
DEBUG: 👤 Identifying App User ID
DEBUG: ℹ️ Debug logging enabled
DEBUG: ℹ️ SDK Version - 4.36.1
DEBUG: ℹ️ Bundle ID - com.refocus.refocus
DEBUG: ℹ️ System Version - Version 17.4 (Build 21E5209b)
DEBUG: ℹ️ Not using a simulator.
DEBUG: 👤 Initial App User ID set
DEBUG: ℹ️ Purchases is configured with response verification disabled
DEBUG: ℹ️ Delegate set
WARN: ⚠️ The appUserID passed to logIn is the same as the one already cached. No action will be taken.
DEBUG: ℹ️ Vending CustomerInfo from cache.
DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.
DEBUG: ℹ️ Offerings cache is stale, updating from network in foreground
DEBUG: ℹ️ Network operation 'GetOfferingsOperation' found with the same cache key 'GetOfferingsOpe…'. Skipping request.
DEBUG: ℹ️ GetOfferingsOperation: Started
DEBUG: ℹ️ Network operation 'GetCustomerInfoOperation' found with the same cache key 'GetCustomerInfo…'. Skipping request.
DEBUG: ℹ️ Network operation 'GetCustomerInfoOperation' found with the same cache key 'GetCustomerInfo…'. Skipping request.
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings
DEBUG: ℹ️ API request started: GET '/v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings'
tcp_input [C9.1.1:3] flags=4 seq=843,878,193, ack=0, win=0 state=0 rcv_nxt=843,878,193, snd_una=1,711,641,348
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings' (304)
DEBUG: ℹ️ No existing products cached, starting store products request for: ["pro_subscription_monthly_v1", "pro_subscription_yearly_v2", "pro_subscription_monthly_v2"]
DEBUG: ℹ️ Found an existing request for products: ["pro_subscription_monthly_v1", "pro_subscription_monthly_v2", "pro_subscription_yearly_v2"], appending to completion
DEBUG: ℹ️ GetOfferingsOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings, 0 requests left in the queue
DEBUG: ℹ️ GetCustomerInfoOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2
DEBUG: ℹ️ API request started: GET '/v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2'
DEBUG: 😻 Store products request received response
DEBUG: 😻 Store products request finished
ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)
There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).
More information: https://rev.cat/why-are-offerings-empty
ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)
There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).
More information: https://rev.cat/why-are-offerings-empty
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2' (304)
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: 😻 CustomerInfo updated from network.
DEBUG: ℹ️ GetCustomerInfoOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2, 0 requests left in the queue
tcp_input [C12.1.1:3] flags=4 seq=2,067,795,836, ack=0, win=0 state=8 rcv_nxt=2,067,795,837, snd_una=4,073,400,121
tcp_input [C12.1.1:3] flags=4 seq=2,067,795,836, ack=0, win=0 state=8 rcv_nxt=2,067,795,837, snd_una=4,073,400,121
tcp_input [C12.1.1:3] flags=4 seq=2,067,795,837, ack=0, win=0 state=8 rcv_nxt=2,067,795,837, snd_una=4,073,400,121
tcp_input [C12.1.1:3] flags=4 seq=2,067,795,837, ack=0, win=0 state=0 rcv_nxt=2,067,795,837, snd_una=4,073,400,121
DEBUG: ℹ️ No cached Offerings, fetching from network
DEBUG: ℹ️ Offerings cache is stale, updating from network in foreground
DEBUG: ℹ️ GetOfferingsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request GET /v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings
DEBUG: ℹ️ API request started: GET '/v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings'
DEBUG: ℹ️ API request completed: GET '/v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings' (304)
DEBUG: ℹ️ No existing products cached, starting store products request for: ["pro_subscription_monthly_v1", "pro_subscription_yearly_v2", "pro_subscription_monthly_v2"]
DEBUG: ℹ️ GetOfferingsOperation: Finished
DEBUG: ℹ️ Serial request done: GET /v1/subscribers/OVXHUbDmlUTNc9Ic5Z9tg3c6qWn2/offerings, 0 requests left in the queue
DEBUG: 😻 Store products request finished
DEBUG: 😻 Store products request received response
ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)
There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).
More information: https://rev.cat/why-are-offerings-empty
ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).
More information: https://rev.cat/why-are-offerings-empty
from purchases-ios.
I updated Xcode and the iPadOS version and still the same problem 🤷 Just consistently errors out with no obvious way to fix. Again, apologies for my lack of great feedback - just throwing this problem out there in case others experience it as it's quite odd. I'll update if it starts working.
from purchases-ios.
Hello @kgaidis!
Now that iOS 17.4 has been released, can you still reproduce this issue?
If so, would you mind trying the following, and letting me know if it throws an error, and its contents?
try await StoreKit.Product.products(for: ["your_product_identifier"])
from purchases-ios.
I found the solution at the end of three days.
Every subscription was only active for Germany, and we kept getting this error when a device registered in the UK downloaded it from the app store.
If you can't solve it despite all instructions, make sure to check this situation as well.
make sure all countries are available.
from purchases-ios.
Now that iOS 17.4 has been released, can you still reproduce this issue?
I updated the iPad and it now randomly started working! Thank you for the check-in :)
I'll close the issue, but feel free to reopen if needed.
from purchases-ios.
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.
from purchases-ios.
Related Issues (20)
- purchases-ios stuck fetching in Xcode HOT 4
- SPM install takes forever HOT 17
- /v1/receipts api returns status_code 529 HOT 7
- Paywall language changes on every app re-install HOT 6
- "can't find package" error. HOT 4
- Add support for the native macOS platform to the RevenueCat Paywalls HOT 2
- Way to test Promotions in-app purchases from Store HOT 1
- Unable to fetch offering on real device when using Storekit file HOT 5
- Weird state of checkTrialOrIntroDiscountEligibility HOT 6
- Bug: Writing Keys out of container HOT 6
- macOS App hanging for at least 2000 ms because of check for macOS app running on the main thread. HOT 2
- CustomerInfo needs subscriptions. HOT 6
- Subtle Paywall localization issue HOT 4
- Offerings returns available offerings, then doesn't use them HOT 3
- Template 4 As Paywall Footer Has Incorrect Size While Loading, And Never Resizes Afterwards HOT 7
- 'StoreProduct' is ambiguous for type lookup in the context when using RevenueCat with Superwall-iOS v.3.6.3 HOT 4
- "Sign in with Apple ID" modal dialog (with user already signed into App Store app) when calling `purchasePackage` HOT 10
- Should the func onChangeOf<V> be private? HOT 6
- `Xcode 16` / `iOS 18`: Thread 21: EXC_BAD_ACCESS (code=1, address=0xfffffffffffffff8) in ETagManager.Response.encode(to:) HOT 21
- Bug: Last opened is not what is supposed to be. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purchases-ios.