RevenueCat makes it easy to add in app purchases to your SwiftUI app! Get a free account here: codewithchris.com/rcat
@join4te4 жыл бұрын
This is the content I want to see!!!
@CodeWithChris4 жыл бұрын
Yay, awesome! :-) -Arthur
@Shqtucke4 жыл бұрын
Yes, I would love to see how you built it...
@CodeWithChris4 жыл бұрын
Stay tuned, Shawn! Thanks for the support! :-) -Arthur
@graffitiplanet2834 жыл бұрын
be great to see how you built the meditation app Chris, with the audio samples and being able to purchase the full audio track. Thanks for all your great tutorials!
@CodeWithChris4 жыл бұрын
Thanks for your suggestion and support! We appreciate you! :-) -Arthur
@Steven-gq4dj2 жыл бұрын
If you get an error when trying to install the pods and you are on an apple silicone machine try opening terminal with rosetta 2. It fixed the issue for me
@CodeWithChris2 жыл бұрын
Hi Steven, thanks for sharing! - Pat
@nofx7144 жыл бұрын
Hello Chris, Id really like to see how you made that app layout in the future!
@CodeWithChris4 жыл бұрын
Stay tuned, thanks for watching! :-) -Arthur
@williammooney33894 жыл бұрын
Brilliant vid. I would like to see how you built the app too.
@CodeWithChris4 жыл бұрын
We will work on it, thanks for watching, William! :-) -Arthur
@alexanderbetanzos56904 жыл бұрын
Excellent video, Cris, could you explain in a video how to make in-app payments but with no consumables? Congratulations, as always good content
@CodeWithChris4 жыл бұрын
Hey Alexander, could tell me a bit more? This video went through non-consumable in app purchase which sounds like what you need?
@CodeWithChris4 жыл бұрын
Thank you for watching and for you kind words :)
@danno56454 жыл бұрын
Great video! Super helpful! I’d love to see how to build out the whole meditation app with SwiftUI. Showing how to integrate the data with a local Json file would be super helpful as well. My goal is to build a business around my app idea, so being able to monetize it with something like RevenueCat is key. Most of my app idea is built out in SwiftUI. Getting RevenueCat working, and having it work with my data in my local Json file is where I have been stuck. I’m going to go through this video again now that I have finished it, and try and get the features added to my app. I’m really excited to see additional videos on this subject and again I would love to see how to build the entire meditation app! Thanks so much!
@danno56454 жыл бұрын
Also, one question. Does the app delegate not have to be added back in on the “app” file?
@CodeWithChris4 жыл бұрын
"Hello, since its. SwiftUI theres no ""appdelegate"" file,, that is why in the video we added an Init method in order to simulate an ""appdelegate"" file run - Francis"
@kentiew74 жыл бұрын
Can you show us how to build this app from the beginning?thanks
@CodeWithChris4 жыл бұрын
We'll do our best, thank you for your support! :-) -Arthur
@onboardwithpaul4 жыл бұрын
good morning! great video, yes please I would like to see how this app was built thanks!!
@CodeWithChris4 жыл бұрын
Awesome, stay tuned, Paul! :-) -Arthur
@GenZRadio2343 жыл бұрын
Your my hero! Thanks for the brief lesson!
@CodeWithChris3 жыл бұрын
Wow, thank you so much, Jared! Means a lot! -Arthur
@davidpelletier74753 жыл бұрын
Awesome step-by-step video, once again. 👌🏻
@CodeWithChris3 жыл бұрын
Thank you so much, David! -Arthur
@kalteaches70354 жыл бұрын
he is the best i wish i can thank him in real life
@CodeWithChris4 жыл бұрын
Now here I am thanking you for being an awesome supporter. :-)
@eumakapp32213 жыл бұрын
Do you have any plans to make paid full courses on “in-app purchases with SwiftUI”? If you make it, I really want to take it.
@CodeWithChris3 жыл бұрын
Hello, thanks for your suggestion! Kindly post it here so that it gets properly documented: app.productstash.io/codewithchris#/ideas -Arthur
@mjoctavio37302 жыл бұрын
Thanks Chris! Great Tutorial as always. Btw, "import Purchases" is now changed to "import RevenueCat" in version 4
@CodeWithChris2 жыл бұрын
Thanks for the info and thank you for watching! - Pat
@bci.4 жыл бұрын
Yeah. Can you please show how you built the app?
@CodeWithChris4 жыл бұрын
Watch our playlist of Swift tutorials here in our channel. :-) -Arthur
@jayeshpateltelearglass3 жыл бұрын
Hello Chris, Yes for App Store App.
@CodeWithChris3 жыл бұрын
Thanks for dropping by, James! :) -Arthur
@Chestozo4 жыл бұрын
Chris thank you so much for another great video! and for making our path to iOS development so nicely guided! 👍
@CodeWithChris4 жыл бұрын
You are so welcome! Thanks for learning with us! :-) -Arthur
@ChristianHollmannAI4 жыл бұрын
Hi Chris, I would like to see the creation of the App
@CodeWithChris4 жыл бұрын
Watch our playlist of Swift tutorials here in our channel. :-) -Arthur
@chrometaweb Жыл бұрын
Hi chris! where do I find the code at 23:51 and so on? Also, would like a tutorial on this before making the purchases video please, Thank you
@enricobansemer36704 жыл бұрын
Good instruction, thank you. Please put your portrait in lower left corner, there is nothing important in Xcode. Your portrait overlaps in much of your videos important part of code. For a non-English beginner it is difficult to follow (e.g. at 27:30). And yes, its too much ads.
@CodeWithChris4 жыл бұрын
Thanks for your valuable feedback, Enrico! :-) -Arthur
@eumakapp32213 жыл бұрын
Kris! Thank you for the good lecture. Maybe, I think this lecture seems starting from the middle part. If I take this "Courses", can I study the previous lecture?
@CodeWithChris3 жыл бұрын
Hello, best if you start here so that everything will flow logically: codewithchris.com/start -Arthur
@adamrohr40853 жыл бұрын
How does the app remember if the user have purchased something after restarting it? Will it do that automatically or do you have to do something for it to remember? Kinda new to swift :/
@CodeWithChris3 жыл бұрын
"Hello, you can use the revenue cat API to be able to query it everytime if the user has made a purchase.. or you could save it locally using a database like CoreData,, or you can even save it in as simple as UserDefaults - Francis"
@water28003 жыл бұрын
Thanks, very helpful.
@CodeWithChris3 жыл бұрын
Great to know. Thank you so much! -Arthur
@clayfulgham213 жыл бұрын
Great Demo! Thanks!
@CodeWithChris3 жыл бұрын
Yay, thanks, Clay! -Arthur
@Melo0474 жыл бұрын
Please make a video on how you made this app
@CodeWithChris4 жыл бұрын
Awesome, Derrick! We'll do our best! :-) -Arthur
@viksviks70704 жыл бұрын
Hi Chris, mind-blowing video, exactly what i searched for! One question though. Could you share an example how to implement the restore purchase method, when the user has changed his phone for example.Thank you very much.
@CodeWithChris4 жыл бұрын
"Hello, sadly we are done with this video series but ill put in note if ever it gets revisited,. i suggest to check official documentation for now or ask revenuecat support for help on the right direction - Francis"
@chris_bennett4 жыл бұрын
You mentioned that, because this is a demo, you update the dictionary to store the fact that the user has made the in-app purchase. How would one go about doing that in an app designed to be sold on the App Store?
@CodeWithChris4 жыл бұрын
Hello, if its a real app then it is advisable to save the data to a database, might i suggest a cloud database like firebase? here is a tutorial its a bit outdated in terms of installing but the core is the same kzbin.info/aero/PLMRqhzcHGw1ZsFRLAWa_Axx7daXteynjh - Francis
@jordacheh40762 жыл бұрын
please make or show us how to build the whole app thanks
@CodeWithChris2 жыл бұрын
Hey there! We have a video for that :) kzbin.info/www/bejne/oJ_Me5iXosh8i7c&lc= - Pat
@Mahadev-x7u4 жыл бұрын
Great video.... Thank you Chris
@CodeWithChris4 жыл бұрын
Thanks as well, Andrej! :-) -Arthur
@ricksciorra2204 жыл бұрын
I would love to see how you built it.
@CodeWithChris4 жыл бұрын
Stay tuned, Rick! :-) Thanks for watching. -Arthur
@LukasLukas-kr7oy4 жыл бұрын
One question: Is the purchase saved when I close the app and restart it?
@Greenstonemovies4 жыл бұрын
In this model not, because the app doesn't persistently store the purchase data with e.g. Core Data. It is only saved in a dictionary variable, which gets re-initialized every time the app is run. So to "save the purchase" you would have to persistently store the purchase with UserDefaults or Core Data. Hopt it helps :)
@CodeWithChris4 жыл бұрын
Thanks for helping each other out! Keep on learning and having fun! :-) -Arthur
@LukasLukas-kr7oy4 жыл бұрын
Thanks
@johnpill12 жыл бұрын
Hi Chris, I’m planning on building my first proper app soon with a subscription. Do you think you should start by adding the subscription functionality at the start of the project, or could you build the whole app then add the subscription functionality in right at the end by adding an initial login type screen and then building out a sort of check before opening the app?
@CodeWithChris2 жыл бұрын
Hi John! You can post this on our CodeCrew forum codecrew.codewithchris.com and have our tech support staff assist you. Thank you! - Pat
@gordonhaviland75514 жыл бұрын
Thank you very very much Chris :)
@CodeWithChris4 жыл бұрын
You are so welcome, Gordon! Keep on being awesome! :-)
@VishwasPethe4 жыл бұрын
Please show us how you built the Meditation app
@CodeWithChris4 жыл бұрын
Great suggestion! We'll see what we can do! :-) -Arthur
@rafatwasef85183 жыл бұрын
Chris I am new how to integrate pay view controller with my main app view controller Like it is just separate view controller if the customer paid it will go to my main story board directly or need some links Thanks
@CodeWithChris3 жыл бұрын
Hello, best to post your question in our CodeCrew forum so that our tech support staff can assist you: codecrew.codewithchris.com. Thank you! -Arthur
@JoelvanBodegraven4 жыл бұрын
Thanks Chris, super helpful! Any chance you can share the source code with us? Would love to dive deeper into your logic.
@CodeWithChris4 жыл бұрын
We're working on it, thanks for your support, Joel! :-) -Arthur
@CodeWithChris4 жыл бұрын
"Hello, here is a github link for. the source code for it, enjoy :) github.com/codewithchris/revenuecat-subscription-demo - Francis"
@Autruo3 жыл бұрын
Hi bro, I have an e-learning website that uses third party payment option, at the moment my app is been rejected on a ground of In-app purchase, please how can I link the third party merchant payment with apple in-app purchase, "I mean when I click on pay it should pop up the IAP mechanism" Thanks
@CodeWithChris3 жыл бұрын
"Hello, i think you should use apple's own in-app purchase then not your old one,, try looking at storekit if it helps - Francis"
@kaipohl48194 жыл бұрын
Hey Chris, enjoyed this one as well as the other one on in-app purchases you did earlier. Thanks a million!! Quick question, at around 23:00 you talk about using an init function in your xxxApp.swift file to initialise the RevenueCat capability. Instead of this I put the relevant Purchase method calls into an onAppear attached to my main ContentView that is called in the WindowGroup closure of the body. This seems to work too but I am wondering if there could be a problem with this? Your thoughts would be appreciated. Thanks.
@CodeWithChris4 жыл бұрын
Hello, should be fine but "willAppear" will be called again once you change screen and then go back to it, so it doesn't only run "once" unlike when you do it at viewDidLoad() which is the "init" of the viewcontroller - Francis
@BenjiM20034 жыл бұрын
Where can I find the source code so I can follow along with the video?
@CodeWithChris4 жыл бұрын
We're working on it, thanks for watching! :-) -Arthur
@CodeWithChris4 жыл бұрын
"Hello, here is a github link for. the source code for it, enjoy :) github.com/codewithchris/revenuecat-subscription-demo - Francis"
@BenjiM20034 жыл бұрын
@@CodeWithChris thank you!
@dr.asimali42634 жыл бұрын
Can you give the sample code please(the one you used)
@CodeWithChris4 жыл бұрын
We're working on it, thanks for your support! :-) -Arthur
@CodeWithChris4 жыл бұрын
"Hello, here is a github link for. the source code for it, enjoy :) github.com/codewithchris/revenuecat-subscription-demo - Francis"
@devhopes4 жыл бұрын
I would like to see you build this meditation app Please!
@CodeWithChris4 жыл бұрын
Thanks for your suggestion! :-) -Arthur
@BestSolutionsAccounting4 жыл бұрын
I want to see
@CodeWithChris4 жыл бұрын
Stay tuned! :-) -Arthur
@drdax2 жыл бұрын
I just spent hours trying to figure out why "import Purchases" wasn't working. It's because it has changed to "import RevenueCat". Just to save others some time
@CodeWithChris2 жыл бұрын
Thanks for this helpful tip! :) -Arthur
@haliskara28794 жыл бұрын
you should write everything on video or you should share your source code i did not get anything from this absolute mess
@CodeWithChris4 жыл бұрын
Thanks for your feedback!
@chrometaweb Жыл бұрын
agreed
@RobertHolzapfel4 жыл бұрын
Sorry, but the number of ads is too much, a torture ... stopped after three, when I saw there is even more ... end this subscription, sorry.