Coder Social home page Coder Social logo

Comments (9)

RCGitBot avatar RCGitBot commented on July 17, 2024

👀 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.

kgaidis avatar kgaidis commented on July 17, 2024

I should probably update Xcode so will try that sometime too.

from purchases-ios.

MarkVillacampa avatar MarkVillacampa commented on July 17, 2024

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.

kgaidis avatar kgaidis commented on July 17, 2024

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.

kgaidis avatar kgaidis commented on July 17, 2024

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.

MarkVillacampa avatar MarkVillacampa commented on July 17, 2024

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.

zackha avatar zackha commented on July 17, 2024

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.

Screenshot 2024-03-12 at 23 40 32

from purchases-ios.

kgaidis avatar kgaidis commented on July 17, 2024

Hi @MarkVillacampa

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.

github-actions avatar github-actions commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.