iOS In App Purchases with RevenueCat (Lesson 1)
HTML-код
- Опубликовано: 19 май 2024
- In this video, you are going to learn:
- How to set up a Renewable Subscription In App Purchases
- How to display the in-app purchase in your app and let the user buy it
- How to programmatically check the user's level of access so that you can unlock the paid content if they’ve already purchased the subscription.
⏱ Time Stamps ⏱
00:00 What you'll learn
01:15 Outline
02:52 Apple Developer Account
03:27 RevenueCat
04:29 Xcode Project Set Up
06:53 App Store Connect
11:46 Recap
⚡Get your free RevenueCat account:
cwc.to/revcat/
⚡Documentation Links:
docs.revenuecat.com/docs/ios
docs.revenuecat.com/docs/gett...
docs.revenuecat.com/docs/ios-...
⚡Looking for more training like this? Check out CWC+:
codewithchris.com/courses/?ut...
⚡To continue learning how to make apps with us, be sure to subscribe to our channel:
ruclips.net/user/codewith...
⚡And we also have a thriving CodeCrew community where you can meet like-minded iOS learners and get support on your own iOS app development journey:
codecrew.codewithchris.com/?u...
⚡Website: codewithchris.com/?...
⚡Instagram: / codewithchris
⚡Twitter: / codewithchris
CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. On the site, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Xcode and app building from my course and materials!
#InAppPurchases #RevenueCat #CodeWithChris
QOTD ⚡ Do you want to make money from your app Or is it going to be free without monetization? Let me know by leaving a quick comment below! 👇 Get your free RevenueCat to follow along with this lesson! ➡️ cwc.to/revcat/
Thanks Chris, You’re helping allot of people!!!
Glad to hear it! Our pleasure!
- Kat
I have already signed up for RevenueCat and am working on a SwiftUI app and have been stuck. I’m a newer dev. I would love to see some bonus lessons in this course showing how to unlock non-consumables on a basic SwiftUI app. I’ve been hoping that RevenueCat would reach out to someone like you and sponsor some videos showing how to use their stuff with SwiftUI. I’m excited to follow along with this series. Your videos always really help me a lot! (Fingers crossed that RevenueCat will sponsor some SwiftUI bonus lessons! 🤩)
Cool, thanks for signing up! A SwiftUI bonus lesson is awesome. 😊
- Kat
I just love Chris for no reason !!!
Thank you 😄
- Kat
Wish I knew about this earlier, just spent hours implementing a single IAP in my app haha
Awesome! Wish we released this earlier. 😄
- Kat
awesome topic Chris, when will lesson 2 come out?
Very soon!
- Kat
Great video Chris. Will this work for my tvOS App?
Hello, this is more for iOS apps for mobile devices. :-) -Arthur
Before spending time in this entire series, can you answer two questions. Is revenue cat a third party library? By implementing revenue cat does it create xcworkspace file in Xcode project? Please let me know. This is very important for me to make a decision for my app.
Dear Chris. Does RevenueCat auto validate receipt when user purchase product? I'm confusing about receipt validation in StoreKit. Thank you so much!
"Hello, try checking out the revenuecat documentation or support because they might have changed it since then
- Francis"
@@CodeWithChris Ok thank you!
Hey Chris is it a hassle to change your address you initially put on app connect?
Thanks
Hello, probably a bit you should be able to access it on the website or something and not directly on the app/Xcode
- Francis
@@CodeWithChris Thank you!
Hi. So if i just want to make the app 30 day trial, after which user will either by the app or will not be able to use it anymore, which one i can use? Thank you
Hello, depends on how you do it, later on in other lessons we may take about subscriptions so stay tuned
- Francis
I like revenuecat, I used them in my latest project until I found its limitations. At the moment I just store receipts in a database and check with Apples servers. You should do a tutorial on that later, it’s really useful and not that documented.
Thanks for the suggestion!
- Kat
Can you wrap up which limitations were so severe that you had to switch to something else ?
stigekalder Sure, they didn’t provide the option to have two subscriptions which were both monthly. I needed one without a discount and one with a discount on the first month. So two different monthly subscriptions if that makes sense
Johan Albrectsen Thanks for your feedback !
stigekalder No problem. Build it from the ground up yourself. It’s worth it, and not being dependent on external libraries is SO nice :)
Hey Chris! I have so many ideas for creating apps and have started a few for the visual backgrounds, but I don't know what to code! I feel like I can't do it, but my ideas are really cool! Can you please help? Thanks!
Hi, you have to start from the basics. I would recommend starting here bit.ly/LearnSwift2019 and here bit.ly/BeginnersPlaylist
Then use this tool (approadmap.io/) to know what you need to learn next!
- Kat
Hi Chris,
I have an app already on-line on app store connect and I am looking for a way to upload a batch of in-app purchased items (csv file or similar):
Can RevenueCat be of help to me?
Hey Chris, Explanation is mind blowing , can you please also make a same video with flutter app for andoid google pay store if possible. The goal is that only the app user can used (all features) if they buy the subscription for monthly or yearly or weekly. So when the user download and open the app it should pop-up the subscription page and once they subscribe it they can use according to the subscription time limit and then again the same process. . Note, i have no login process on app. Thanks in advance
Hello, Ravi! Thanks for leaving this comment, but we are only strictly focused on iOS app development. :-) -Arthur
@@CodeWithChris No problem, thank you for the information. Best of luck for the career.
Hello Chris, I will be starting off with a simple free app, that in the future will have extra features, I would prefer a time limited run time option, where user purchases after x days. but where to store install date persistently?
Hello, you can try store it in your database, UserDefaults, or Keychain
- Francis
Hello, you can try store it in your database, UserDefaults, or Keychain
- Francis
@@CodeWithChris Hello Chris, as I understand it, if the user deletes the app and re-installs app, this start date info will be lost.
Can you please link a “how to make a city builder iOS app” (as a tutorial).
There are six parts of what I’m confused about :
1) How to code count down timers into the app.
2) How to make pre-requisites, in order for the player to build something else.
3) How to code land expansions, and lock further expansions until requirements are met.
4) Resources, population, happiness, etc.
5) How to provide additional land (a different city) past the first city, along with a map for this.
6) Graphical UI
Thanks so much in advance 😄
Hi there, I suggest checking out the App Roadmap (approadmap.io/) to know what you need to learn for your app.
- Kat
Dear Chris! Can you please make a tiny tutorial on how to make an app with large titles in the navigation bar, that shifts to regular titles as you scroll down the UITableView underneath it? Also, there should be a UIImageView as a background behind the table view. The background is what ultimately destroys this whole transition from large titles to regular ones, and no one on Stackoverflow seems to have come up with a solution yet. It's a 5-minute tutorial, but it will help so many starting developers out there. And even the advanced ones, as, I repeat, NO ONE KNOWS HOW TO DO THAT. No one, except for you, of course, I think =)
Hello, you should really change the navigation bar title that would be hard to keep track. you can probaby make a "hack" that if the tableview is active (via listeners or something) then change the title of the viewcontroller to what you want
- Francis
@@CodeWithChris Thanx! Will try!
Chris thanks a lot
You're welcome!
- Kat
Thanks Chris
Welcome!
- Kat
Can you make a video on how to make a Search bar and show results?
Hi Jon, you can add your tutorial requests here: cwc.to/request
- Kat
Hi Chris, I was doing your youtube tutorial and when I call the API I get this in the console "nw_protocol_get_quic_image_block_invoke dlopen libquic failed" (the status of the API response is 200 ) and i have no idea of to solve this, do you have any idea?
i see also this (The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.)
Hello, try loading a different video, it seems that the video is somehow blocked or is not allow for viewing via the API
- Francis
Hello Chris, can you make a few videos on SpriteKit if you know about that? Begginers guide
Hi there, we actually have a course on SpriteKit and it's available here codewithchris.com/courses/
- Kat
@@CodeWithChris Thanks alot
hi! I was prompt with the Export Compliance Information and was asked if my app uses encryption. Does storekit count as encryption? Thank you
Hello, check out this stackoverflow article stackoverflow.com/a/63024118
- Francis
CodeWithChris Thank you! The accepted answer was (c) Limited to authentication, digital signature, or the decryption of data or files. However i would like to believe that (d) Specially designed and limited for banking use or “money transactions” is more relevant. Do you have a take on this? Thanks!
please help.
Could you explain some things to me?
I am using RevenueCat in React-native
Maybe it's the same. In terms of this.
but I have a question. When I decide to buy something with another user that I have, it does not register in Revenue. Does the cache have something to do?
or how do I delete a user when I log out or because the other user is still in session.
Then if I access from another user in the summary of Revenue-cat the same ID_USER is repeated
always Why?
Hello, it may be an issue with programming or the values that you saved in your app was not "cleared" before changing the user, i suggest to try and debug using print statements every time do you a step and monitor the changes
- Francis
I'd love to know how to do one off in-app purchases without using a third party service. Can this be done? Is it possible without a third party? I want to make a tip jar.
Yes! Can be done with Apple’s StoreKit but unfortunately we don’t yet have a tutorial for that - Pat
do i need apple developer subscription to start this tutorial??
Nope! You can start right away and worry about the subscription later. Have fun! :-) -Arthur
So in Xcode 12, when I click the plus button to add a capability. I can't find In-App Purchases.
"Hello, this is because recently apple has ""hidden"" this capability to paid developer profile only (meaning you need to subscribe to the $99 yearly subscription) in order to ""unlock"" this capability
- Francis"
@@CodeWithChris Ok Thank you so much for letting me know!
@@CodeWithChris Thank you for the clarification!
Wow!!
🙌🙌
- Kat
For those who are interested in watching his videos, I was able to get my first job creating apps simply from watching his videos.
That's amazing, Lucas! Hope you'll be able to share your story someday. CONGRATULATIONS! Have a fulfilling time! :-) -Arthur
I have some excellent news for everyone! Now that I have installed Ubuntu I can install Xcode and I’m going to recreate Unchated 4 to mobile
How?
Good luck!
- Kat
Enroll in Apple Dev Program ! is it free?
It is not unfortunately! :-) But it's a worthy investment I think. :-) -Arthur
In the App Store In-App Purchases the only options are Consumable, Non-Consumable, and Non-Renewing Subscription. Where is the option to pick Auto-Renewal Subscription?
Hello, you can try to contact RevenueCat support maybe you need to do something to enable auto-renew
- Francis
hi sir, how do I make an online transportation application
?
Hi there. We have a couple of playlists to get you started on iOS app development. I would recommend starting here bit.ly/LearnSwift2019 and here bit.ly/BeginnersPlaylist
Then use this tool (approadmap.io) to know what you need to learn next!
- Kat
So you can make android app or u can only make iOS app
What we are teaching are only for iOS apps. :-) -Arthur
No „Auto-Renewable Subscription“ option available, what am I supposed to do?
Hello, you can try asking revenue cat why you can't see that option for you. you mght need to set up a few things to get that started
- Francis
Crazy huh X x
Thanks for watching! -Arthur
iOS In App Purchases with RevenueCat (Lesson 2)
When It will come ?
Very soon!
- Kat