GithubHelp home page GithubHelp logo

Comments (3)

russell-archer avatar russell-archer commented on June 15, 2024

from storehelper.

russell-archer avatar russell-archer commented on June 15, 2024

I can't reproduce the issues you're seeing. All seems to be as expected.

To test I used the simulator and the StoreHelperDemo project. Using Xcode 14.1 (14B47b) with the latest build of StoreHelper and the StoreHelperDemo project. Minimum deployment target set to iOS 16.0. Running on macOS Ventura 13.0.1. I set the renewal period to be 30 seconds and then I did the following:

  • Subscribed to the 'silver' product
  • StoreHelper correctly showed me as subscribed
  • Tapped on the subscription info button to display the subscription data
  • Tapped on the 'Manage Subscription' button and cancelled the subscription
  • After 30 seconds or so the StoreHelper correctly showed the subscription as cancelled
  • Subscribed to the 'silver' product again
  • StoreHelper correctly showed me as subscribed
  • Tapped on the subscription info button, then tapped 'Manage Subscription' and upgraded the subscription to 'gold'
  • StoreHelper correctly showed me as subscribed to the 'gold' product
  • Let the subscription auto-renew a couple of times
  • Everything as expected and the subscription correctly renewed
  • All the transactions displayed in the StoreKit Transactions window were exactly what I'd expect

So, everything appears to be correct.

One thing to note, Apple's documentation says that the SwiftUI .manageSubscriptionsSheet(isPresented:) doesn't work correctly in the StoreKit Testing environment. StoreHelper logs a warning to that affect. They say the same thing about the .refundRequestSheet(for:isPresented:) modifier. They always both seem to work OK for me. If you're still seeing the same thing, maybe you could try running in the sandbox environment with a real device?

from storehelper.

ashayk avatar ashayk commented on June 15, 2024

Hi Russel,

Thanks for the very quick turnaround. I'm going to update XCode and try again. I've had a bit of strange behaviour, so it all might be related to that rather than StoreHelper. I'm encouraged that things are working well on your end, so I'll keep working to get it going.

from storehelper.

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.