SwiftUI In-App Subscriptions with RevenueCat 2022

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2024

Комментарии • 105

  • @escoffierdesign179
    @escoffierdesign179 Год назад +1

    Enjoyed the tutorial. I mad e the mistake of not entering my details and ticking tax forms info right at the beginning of the Tutorial which gave strange errors later down the line. I left the problem for 3 weeks and came back to it and quickly realised my mistake. Just goes to show that many times the errors encountered are down to not paying full attention to the Tutorial.
    Thanks again for the content, and as bellow I think it would be useful to see what Andrew Badea was requesting.
    Perhaps one of individual non consumables. This is definitely the best tutorial out there on Revenue Cat and hope that they can appreciate the concise way that you went through this and thought it.
    Cheers

    • @CodeWithChris
      @CodeWithChris  Год назад

      Small mistake but a big learning experience because you NEVER going to make this error again! #growth
      @AdrienVillez

  • @Swift_Alvar
    @Swift_Alvar Год назад +5

    Thanks for your tutorial, very clear and useful, I want to add Generate App Specific Shared Secret was moved to General > App Information in App Store Connect

  • @damjandabo
    @damjandabo 2 года назад +1

    Thank you very much for this tutorial! It's very useful to have visual and spoken content together with the documentation when integrating RC. I've just added in-App subscriptions to my new app with ease. I've used your link to create the RC account ;)

    • @CodeWithChris
      @CodeWithChris  2 года назад +1

      Glad to hear it was helpful! If you didn't know, RC has an amazing podcast where they interview iOS Devs and it's always about monetization and IAP. Very useful and I always learn something new! Perfect for the daily commute!
      @AdrienVillez

    • @damjandabo
      @damjandabo 2 года назад +1

      @@CodeWithChris Thank you for the suggestion, I will try out their podcast.

  • @Janssonn
    @Janssonn 2 года назад

    This is by far the best video showing how to use the methods in RevenueCat! I have my set up working but but optimal and very clunky code (new ios dev here..) This video just made so much sense to me on another level. Thank you! :)

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Thank you so much for watching! - Pat

  • @airstrike5062
    @airstrike5062 Год назад

    I may have already said this before, but thanks for the great video and great vibe throughout all these tutorials. Truly top tier talent, thank you!

    • @CodeWithChris
      @CodeWithChris  Год назад

      Thanks for that wonderful comment! I'll be sure to let Chris know :) - Iñaki

  • @TheDavid1234abcd
    @TheDavid1234abcd 10 месяцев назад +1

    For everyone watching now. Don’t forget to add a store kit certificate and upload it to revenuecat. Otherwise it will say “invalid purchase.”

  • @aydncanataberk4083
    @aydncanataberk4083 2 года назад

    Thank you! I’ve released my first supscription app thanks to your video. Now it’s time to update it.

    • @CodeWithChris
      @CodeWithChris  2 года назад

      That's great! Thank you for learning with us! If you want to be featured in our CWC Success Stories Campaign, you can email us at care@codewithchris.com with your story! :) - Pat

  • @maxdondada
    @maxdondada 2 года назад

    Chris I wanted to thank-you for making these videos.

  • @lovelacepuppy858
    @lovelacepuppy858 2 года назад

    Thank you for keeping the Revenue Cat tutorials up to date!
    Question: How can I cancel the subscription in my app?

    • @lovelacepuppy858
      @lovelacepuppy858 2 года назад

      + When I clear purchase history under Sandbox Testers, I can still see the subscribed user in Revenue Cat data. Although I have cleared the purchase history on App Store, every time I get the user info in XCode, "isSubscriptionActive" returns true.

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi there! You can post your question to our CodeCrew forum (codecrew.codewithchris.com) so our tech support staff can assist you and help you with your question. Thank you! - Pat

  • @soulyft
    @soulyft Год назад

    Thank you Chris... this was great! Really helped me as I am working on my first app.

  • @JohnSchwartz-yr4bm
    @JohnSchwartz-yr4bm Год назад +2

    Hi Chris,
    I’m writing to thank you your great instructional content on SwiftUI and especially this video!
    I teach a dog sport called Rally Obedience and sometime last year, my wife said to me “you need to figure out a way to teach more students than the few who can attend your classes in person.”
    After considerable thought, I decided an App was the way to go. I had a clear vision of what I wanted the app to be, how I wanted it to look and how it should function. I wanted to include free content and an in-app subscription for content that I’ve developed over the years.
    This idea of an app serves a niche-market of a niche-market, so it’s not commercially viable enough to invest to have developed - so I decided I had to do it myself. The only problem - I’m not an app developer - I didn’t have the first clue about developing or coding an app. What was I thinking?
    After watching a ton of video lessons and tutorials, Swift started to make sense. I still struggle a bit with writing and syntax, but I can understand most of what I read - ultimately, I’ve found the solutions for my project.
    My project started back in September when I decided iOS, Swift and Xcode were the path to follow. I setup my developer account in mid-September and by the end of the month I had uploaded by first rudimentary build to TestFlight.
    As weeks continued, the design and function fell into place and was actually pretty fun.
    But the final piece, the thing that I was most worried about, was integrating in-app subscription - and that’s when I found this video.
    You made it so easy even a non-coder, non-developer could follow along and get it done.
    Yesterday, just a few months after this all began, v1.0.0(1) of my app has been approved and is now live in the App Store - it’s far better than I imagined and I’ve already got my first subscription!
    Thank you!

    • @CodeWithChris
      @CodeWithChris  Год назад +1

      Oh wow! That's awesome!! It always starts with a great app idea and then the hardwork comes after. Congratulations on your app!! - Pat

    • @airstrike5062
      @airstrike5062 Год назад

      That is such an awesome story! Thank you for sharing. Made my day just to know you achieved your goal and made your dream app come true. Keep up the good work!!

  • @Enzo-sp3bf
    @Enzo-sp3bf Год назад

    Thanks very much for the great and easy understanding tutorial ! I have successfully repeated what the project suppose to show. Only one little problem I faced and have solved: the two buttons on the paywall are only able to show up after the "Agreements, Tax and Banking" are filled and have Active Status.

    • @CodeWithChris
      @CodeWithChris  Год назад

      Thank you for watching and great job solving the issue you encountered!! - Pat

  • @nuclearpsyche
    @nuclearpsyche 2 года назад +1

    What an awesome intro! Thank you.

  • @prairieln
    @prairieln 8 месяцев назад

    Thank you, Chris, for another valuable content provided to the community! As always, it was masterfully delivered! Separately, I'm wondering whether you happen to have a video on how to implement Promo Offer by any chance. Thanks again!

  • @ABadea07
    @ABadea07 2 года назад +2

    Great video! Will you be making a series on non-consumable purchase strategy? Many RevenueCat tutorials cover subscription purchases; however, I’m curious on the best method to implement non-consumables. Using your meditation app as an example, what if only a few cards in your CardView ForEach loop were designated for in-app purchases (reasons for this could vary, from skill level to explicit material and the need to include a paywall for only a few cards)? Also, once these few cards are purchased, how might you display them in a “My Purchased Cards” View for easy access and filtering. Just something I’m considering and haven’t been able to find. Thanks!

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hey Andrew! Thanks for watching! Do you mind sharing your tutorial recommendations here app.productstash.io/codewithchris#/ideas? We'll have our team look at them and see what we can do! :) - Pat

  • @prairieln
    @prairieln 8 месяцев назад

    Chris, is it possible you can make a video on testing Restore Purchase? I'm having a hard time validating it using Sandbox environment. Much appreciated!

  • @gregas3068
    @gregas3068 11 месяцев назад

    Very Nice mister. Keep them comin

  • @JoaoBarros-o1m
    @JoaoBarros-o1m 7 месяцев назад

    Thank you so much Chris!! Saved my time !

  • @kavinda_dilshan_paramsoodi
    @kavinda_dilshan_paramsoodi Год назад

    Damn. Thank you so much. Loved it.

  • @koni3855
    @koni3855 Год назад

    Great tutorial, and thanks for RevenueCat to sponsor it! Given the fact this was sponsored by RevenueCat, it would have been even better not to put ads in the video... I got more than 15 ads while watching this video, really annoying... :/

    • @CodeWithChris
      @CodeWithChris  Год назад

      Hello! Sorry to hear about that! Ads do help us make more videos for this channel (and our courses on www.codewithchris.com). Now, even with or without ads turned on, RUclips has full power over if they still want to add ads for their own goods or not, so out of the 15, a good half was probably the platform
      @AdrienVillez

  • @karameid4426
    @karameid4426 Год назад

    Hi Chris,
    This was a great video to follow with to complete myself so thank you. Was just wondering, how can I link a user's account (made through Firebase Authentication for example) to the data indicating they paid for a particular membership? So that if they were to log in on another device or re-install the app, the user account still has access as is it's a paid account. Any clarification you can give would be highly appreciated. Thank you.

  • @GairoDuran23
    @GairoDuran23 4 месяца назад

    Thanks Chris for the video! Question: If a user signs up for a recurring subscription at a certain price and the developer decides to change the price in the future, will the user automatically be charged the new price once the change is made?

    • @ivarvaw
      @ivarvaw Месяц назад

      That wouldn't make any sense. Someone subscribes to you for $5 and you change the price to $100. Then the user would suddenly be charged $100 and get very angry. When the user's subscription ends, he will probably see the new price. Otherwise, he'll keep paying the $5.

  • @yusufcaglar
    @yusufcaglar 2 года назад +1

    Thank you Chris 😎🙌🏻

  • @raphaels8585
    @raphaels8585 11 месяцев назад

    Awesome and useful tutorial. Thanks a lot

  • @kr1s0404
    @kr1s0404 2 года назад

    Thank you Chris for this amazing video!

  • @kananabilzada2453
    @kananabilzada2453 6 месяцев назад

    Thank you for great video 👌, After Purchase I get App Store Server Notification from App Store. How we know which user subscribed? We get transactionID just from RevenueCat, and I think it is not enough for trust user (User also can update subscription from Account Setting) Please tell me correct way to do that :(
    Thanks again for the content :)

  • @bobbygeneric9396
    @bobbygeneric9396 2 года назад

    Great, would love to see a tutorial for a single non consumable in app purchase

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hey Bobby! Thanks for watching! You can post your tutorial recommendations here app.productstash.io/codewithchris#/ideas :) - Pat

  • @matias.leonetti
    @matias.leonetti Год назад

    Amazing tutorial

  • @CraigSchubert
    @CraigSchubert 2 года назад

    This is great! Would love to see more like this. :-)

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi Craig! Thanks for watching! Stay tuned to our RUclips channel for more videos like this! - Pat

  • @martinjonesdh
    @martinjonesdh Год назад

    Great video Chris. Im getting my subscription costs showing in $ and not £ even though App Store Connect is showing £. Any suggestions please?

  • @iamuchey
    @iamuchey Год назад

    Thank you for this!

  • @amonjavree
    @amonjavree Год назад +1

    Thank you so much. Wouldn't it be possible to upload just this project to github?

    • @CodeWithChris
      @CodeWithChris  Год назад +1

      It is already hosted on our GitHub, here is the link: github.com/codewithchris/revenuecat-subscriptions
      (all other links are in this video's description)
      Have a wonderful Xmas!
      @AdrienVillez

  • @markcui8277
    @markcui8277 Год назад

    HI Chris,
    Thank you so much for the tutorial. I integrated what you did and almost there. I run into a problem: when I have a new installation to iPhone, a wireless network permission popup for user to approve, after the approval, subscription details does not show on the paywall. If I run from Xcode on the device again, those details appears. Any suggestions?

    • @CodeWithChris
      @CodeWithChris  Год назад

      We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat

  • @vfxdsn8898
    @vfxdsn8898 Год назад

    if you have an offer for first-time-user, how can you test to find if the offer is successfully working?
    my app has first month free trial subscription products but there’s no way to know if it really is since when you purchase with a sandbox account, it doesn’t show you when the bill starts…

  • @opsenpai8818
    @opsenpai8818 2 года назад

    Hi Chris, great video. But how do I set the restore purchases from transfer purchases to block restores? Is there any additional code for that?

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi thanks for watching! We suggest posting your question on our CodeCrew forum codecrew.codewithchris.com and have our tech support staff help you. - Pat

  • @over825hp
    @over825hp 2 года назад

    Keyboard switches? Lubed or not?

  • @MahmudHasan-yi7ux
    @MahmudHasan-yi7ux 4 месяца назад

    Hi Chris how to fix this problem. (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)

    • @CodeWithChris
      @CodeWithChris  4 месяца назад +1

      Hi, please note that this is an old video from 2 years ago. If you need to learn the up-to-date way to integrate RevenueCat, I suggest going over to their docs at: www.revenuecat.com/docs/welcome/overview. - Iñaki

  • @phorbinsflyers6280
    @phorbinsflyers6280 2 года назад

    Thanks again for another great video. Any idea what you need to include in your privacy policy for your app as far as the type of data collected by revenue cat when using this implementation? I'm using a policy generation service called iUbenda and they're giving me options for the revenue cat service for the following data types: Device information, trackers, unique device identifiers (IDFA/google ad ID), Usage data, and User ID. Any thoughts? Thanks!

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi! Thanks for watching! You may post your question on our CodeCrew forum (codecrew.codewithchris.com) so that our tech support staff can assist you! - Pat

  • @Reloader449
    @Reloader449 2 года назад

    So by this time many are running Xcode 13.x and Monterey?
    I have started the one-year-old "2021 SwiftUI Tutorial for Beginners" and lessons 3 and 4 cause my MacBook Pro to shut down without warnings. I tried going back to Xcode 12.x but Monterey wouldn't let me do that. Problems started with app store Xcode 13.4.1 so now I have the 14 beta. This got past the shut down problem in Lesson 3, but it is back now in lesson 4. This macbook has 16GB memory and about 200GB free drive space, was recently wiped and has a new battery.

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hey Curt, sorry to hear that. You can post about this on our CodeCrew forum (codecrew.codewithchris.com) so our tech support staff can help you out. - Pat

  • @labfpv
    @labfpv Год назад

    Thanks! but how can I distinct the design of the 2 buttons.
    I would like to have different buttons depending on the type of subscription (monthly, yearly) and therefore to be able to customize them individually, to distinguish between the different products by varying the design of the buttons.

    • @CodeWithChris
      @CodeWithChris  Год назад

      Hi! We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat

  • @kr1s0404
    @kr1s0404 2 года назад

    Hey Chris, after watching this video, I've added the RevenueCat in my app and publish it to the App Store. But I have encounter one problem. When I use a simulator to test my app, the product(button) will appear in the swiftUI view, but when I download my App from App Store, the product disappear, do you know what's the problem? (the product also appear on the testflight version of my App)

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi Kris! We suggest posting your question on our CodeCrew forum codecrew.codewithchris.com so that our tech support staff can assits you. - Pat

  • @Enzo-sp3bf
    @Enzo-sp3bf Год назад

    As the app owner and developer. Is there any way to use all subscription tier features without paying to subscript my own product in production environment?

    • @PhilGerb93
      @PhilGerb93 11 месяцев назад

      Did you ever find how to achieve this?

  • @jackmcline8211
    @jackmcline8211 2 года назад

    Should I use official xcode version? Because I always get error "Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)"

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi Jack! We suggest posting on our CodeCrew forum so our tech support staff can help you. Here's the link codecrew.codewithchris.com - Pat

  • @gabrielmoffa
    @gabrielmoffa 2 года назад

    thanks

  • @SHOLINGER
    @SHOLINGER 2 года назад +3

    you haven’t changed even a little bit from 4 years

    • @Invisibletoday
      @Invisibletoday 2 года назад +1

      Is that a compliment or insult?

    • @SHOLINGER
      @SHOLINGER 2 года назад

      @@Invisibletoday compliment

  • @LTNKidd
    @LTNKidd 2 года назад

    Is there a simple way in my PreviewProvider that I can set isSubscriptionActive to true?

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi there! We ecnourage you to post your question on our CodeCrew forum codecrew.codewithchris.com and have our tech support staff assist you. Thank you! - Pat

  • @jonivadeaf
    @jonivadeaf Год назад

    I don’t know revenuecat in-app Subscriptions to SwiftUI sheets need button error..😢I want Subscriptions me help you… I am sad😞

    • @CodeWithChris
      @CodeWithChris  Год назад

      Hi! We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat

  • @curt8806
    @curt8806 2 года назад

    Does this work with in-app purchases too?

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hey Curt, you can post your question on our CodeCrew forum (codecrew.codewithchris.com) so our tech staff assist you. - Pat

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Yes: docs.revenuecat.com/docs/ios-products
      @AdrienVillez

  • @Saifullahi_koki
    @Saifullahi_koki 2 года назад

    Hi am from nigeria

  • @airstrike5062
    @airstrike5062 Год назад

    having said that, this video has SO MANY ads it's painful to skip back and forth through the content. jesus!

  • @viktorosadsky5582
    @viktorosadsky5582 2 года назад

    noice

  • @koketsomashego8075
    @koketsomashego8075 2 года назад

    Very good video
    Sadly I am getting this when attempting to purchase a package. in Sandbox
    {
    message: There was a problem with the App Store.,
    underlyingErrorMessage: An unknown error occurred,
    readable_error_code: STORE_PROBLEM,
    code: 2,
    readableErrorCode: STORE_PROBLEM,
    userCancelled: false
    }

    • @CodeWithChris
      @CodeWithChris  2 года назад +1

      Hi Koketso! We suggest posting this to our CodeCrew forum codecrew.codewithchris.com so that our tech support staff can help you out. - Pat