React Native In App Purchases and Subscriptions with RevenueCat (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • Let's learn How to implement In-App Purchases and Subscriptions in a React Native project using RevenueCat.
    📚 Enroll NOW for "The Full-stack Mobile Developer" and save 30%
    academy.notjust.dev/
    We will cover the whole process, from what is revenue cat, to installing and configuring the library, managing subscription products and users, building a paywall and buying the products.
    ⚡Get your free RevenueCat account:
    bit.ly/3eqmZSI
    ⚡If you want to code along, download the asset bundle (Starter project, Presentation)
    assets.notjust.dev/revenuecat
    ⚡Revenue Cat Documentation:
    docs.revenuecat.com/docs/gett...
    ⚡Join the notJust Development gang and let's build together: / discord
    LinkedIn: / vadimsavin​
    IG: / vadimsavin0​
    Twitter: / savinvadim_
    ⏱ Time Stamps ⏱
    00:00 Intro
    02:10 What are In-app Subscriptions?
    03:58 What is RevenueCat?
    05:43 Prerequisites
    06:17 Create a new RevenueCat App
    08:00 Setup the Service Account on Play Market
    09:08 Setup subscription products on Play Market
    13:33 Setup subscription products on App Store
    19:02 Setup Subscription p8 key file from App Store
    20:22 RevenueCat Products, Entitlements, and Offerings
    26:55 Coding Time: Setup starter project
    30:14 Install react-native-purcahses
    32:12 Configure Purchases
    36:19 Display available products
    45:55 Make a Purchase
    56:04 Get the subscription status
    1:00:16 Restore Transactions
    1:02:28 Identify Users (Login, Log out)
    1:11:12 Listen for Purchaser Info Updates
    1:13:33 Congrats, you have integrated subscriptions!
    #VadimSavin #notJustDevelopment #RevenueCat
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 90

  • @kahiggz
    @kahiggz 2 ปีที่แล้ว +1

    Simply amazing! This tutorial has been a blessing! You are nothing short of pure legendary !

  • @dragonniteIV
    @dragonniteIV ปีที่แล้ว +3

    MANY MANY MANY THANKS! Got very frustrated with other tutorials. Since I also got issues when following along, I could somehow fix them and better yet: know what I am doing by listening to your explanation, instead of copying pasting code and watching the magic (not) happen.
    So, thank you again. :)

  • @sgnlx_ai
    @sgnlx_ai 2 ปีที่แล้ว +1

    This is the best video for setting up revenuecat on the internet. Thank you!

  • @alexlindgren1
    @alexlindgren1 ปีที่แล้ว

    Great tutorial mate, great to get a high-level understanding of the workflow, much appreciated.

  • @marwamasese8066
    @marwamasese8066 3 ปีที่แล้ว +10

    I want to thank you most sincerely for educating alot of people who probably cannot afford paid courses. I'm one of those guys and for this I'll practice hard to become a better developer

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว

      Thanks buddy and good luck

  • @mishalalhajri5497
    @mishalalhajri5497 3 ปีที่แล้ว +3

    Thank you very much for your simple and informative tutorial. I was struggling in adding in-app-purchases using different libraries but I found this tutorial very helpful.

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว

      Glad it was helpful!

  • @m7amedk
    @m7amedk 3 ปีที่แล้ว +2

    Very well documented and explained. Thank you so much for this, from your tutorial I was convinced that RevenueCat is what I need, and I signed up via your link. + You helped me setup everything.
    Much appreciated 🙏🏼🙏🏼💜

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว

      I am happy that you found it valuable

  • @kevincastroramirez4287
    @kevincastroramirez4287 2 ปีที่แล้ว +1

    You just saved my life, thanks a lot.

  • @olanrewajuolatunde1675
    @olanrewajuolatunde1675 3 ปีที่แล้ว +1

    This is good mate. Will check them out

  • @hihihihihihi9476
    @hihihihihihi9476 9 หลายเดือนก่อน

    Brilliant presentation and explanation. Tx a lot ❤

  • @notjustdev
    @notjustdev  3 ปีที่แล้ว +1

    🚀Get your free RevenueCat account ( bit.ly/3eqmZSI ) and start monetizing your React Native app with In App Subscriptions 🚀
    📚 Enroll in "The Full-stack Mobile Developer" and become a 6-figure dev in 2021: academy.notjust.dev/

  • @yzzygomez
    @yzzygomez 2 ปีที่แล้ว +1

    The tutorias is 🔥!!

  • @fazzyakamello
    @fazzyakamello 3 ปีที่แล้ว +1

    Amazing tuts bro. Keep it up

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว

      Glad you like them!

  • @ahmadazharbinatalib7303
    @ahmadazharbinatalib7303 3 ปีที่แล้ว

    Very good info. Thankyou sir

  • @radosawrudnicki1563
    @radosawrudnicki1563 2 ปีที่แล้ว

    Nice tutorial!

  • @nataliapamplona1401
    @nataliapamplona1401 ปีที่แล้ว +1

    If someone is following this tutorial now "yarn add react-native-purchases" installs a version not compatible width the app. This is working for me: yarn add react-native-purchases@4.0.1 (which is the version that Vadim is using in the video). Thanks for the great tutorial

  • @ihsanZed
    @ihsanZed 3 ปีที่แล้ว

    new scrub here, your awesome bro.all your tutorial help us a lot. thanks

  • @reisheiaurellano3431
    @reisheiaurellano3431 2 ปีที่แล้ว

    just some question, if you are using revenuecat as payment gateway for in-App purchase subscriptions. does google play and app store will also charge some fees? thanks

  • @naunausos-dev3139
    @naunausos-dev3139 ปีที่แล้ว

    Question pls - Why am I not able to find subscription on playstore? I have an approved Closed Test build.

  • @hectorvelasquez1037
    @hectorvelasquez1037 3 ปีที่แล้ว +1

    tnks vadim you rock

  • @rv9570
    @rv9570 3 ปีที่แล้ว

    Hey Man, Explanation is mind blowing , can you please also make a same video with flutter app if possible. The goal is that only the app can be 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. Thanks in advance.

  • @cani903
    @cani903 2 ปีที่แล้ว

    I can't create products on google play console. The error message is "To add in-app products, you must add the BILLING permission to your APK file" and I have added the permission.

  • @chaincentive5911
    @chaincentive5911 3 ปีที่แล้ว

    many thanks Vadim! :-)

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว

      You are welcome!

  • @SurfsUpSeth
    @SurfsUpSeth ปีที่แล้ว

    Do you have a video on linking revenuecat with firebase and creating a hook that utilizes that workflow? Since there's a extension now for that?

  • @pradyumncs
    @pradyumncs ปีที่แล้ว

    Thank you Herooooooooooooo

  • @CyCoool
    @CyCoool 3 ปีที่แล้ว

    Many Thanks! can RevenueCat generate the invoices for customer?

  • @user-vy7gb7ty3h
    @user-vy7gb7ty3h 10 หลายเดือนก่อน

    for some reason all my subscriptions are showing to be every 30 minutes even tho I set everything to be a year. Any idea whats going on? on a real device. 52:12 it shows that your subscription is every 5 mins aswell

  • @SocratAz
    @SocratAz 2 ปีที่แล้ว

    I come across this error with macOS and ios, someone is how to unlock I am under expo 45 "Invariant Violation: `new NativeEventEmitter()` requires a non-null argument."

  • @zakheleelton8953
    @zakheleelton8953 2 ปีที่แล้ว

    Can you please make a tutorial where a user can download video to watch offline but there videos remains in the app just like TH-cam/Netflix

  • @FitnessClub8763
    @FitnessClub8763 หลายเดือนก่อน

    Im facing error on android "There is an issue with your configuration. check the underlying error for more details . Is this is the reason-> because my payment profile is has not been set and giving error "There is an issue with your payments profile" ? Is this can be the reason for not getting offers?

  • @Manish-qd1sz
    @Manish-qd1sz 2 ปีที่แล้ว

    Hi I Have One Question If have Lost iOS Phone can I restore my account purchase for android in revnue cat

  • @user-so8jw7zb5l
    @user-so8jw7zb5l 3 ปีที่แล้ว +3

    Какой жизнерадостный человек. Надо подписаться на него)

  • @LotfiORouis
    @LotfiORouis 2 ปีที่แล้ว

    Does it wok with EXPO CLI as well?

  • @MrRe-sj2iv
    @MrRe-sj2iv 2 ปีที่แล้ว

    Could you make another video about how to implement introductory offers with RevenueCat?

  • @user-lm2no9dc4i
    @user-lm2no9dc4i 7 หลายเดือนก่อน

    how to handle same apple id but different emails for subscriptions? iap in react native....

  • @artemzhydkov3141
    @artemzhydkov3141 3 ปีที่แล้ว +1

    What about purchasing subs with iOS?

  • @thinkbeyond8660
    @thinkbeyond8660 3 ปีที่แล้ว

    Thanks 🙏🌹❤ you remembered and make video ❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @kisabatool6512
    @kisabatool6512 ปีที่แล้ว

    Hey bro! a great explanation but I wanted to ask about how to cancel a subscription?

  • @ajaykumaryadav6564
    @ajaykumaryadav6564 2 ปีที่แล้ว

    HELP ME BROTHER !! i got an error over and over .. error while connecting to puchases [Error: One or more of the arguments provided are invalid.]......Please help me bro, i already follow all your steps as you mention them in video .

  • @sentilayshorts
    @sentilayshorts ปีที่แล้ว

    can u do with iap and firebase and 3 product

  • @YannickL
    @YannickL 2 ปีที่แล้ว +1

    Thank you for this great tutorial... Little question about the Paid Apps agreement (+ bank and tax info). I seems to be project specific if you are building apps for clients who are monetizing the app. But on apple connect it looks like its tied to my developer account... do I have to ask my client to create an Apple developer account?

    • @notjustdev
      @notjustdev  2 ปีที่แล้ว +1

      Yes, most probably that would be the best option. Your client craetes a deceloper account, and adds you as a contributor or developer

  • @dmcdcm
    @dmcdcm 3 ปีที่แล้ว +1

    What tool do you use to make those cool little splash animations every time you click with the cursor?

  • @khongduocbocuoc
    @khongduocbocuoc 2 ปีที่แล้ว

    Imagine if user buy more than one products, how user can restore just one of them ? I don't see anyway to provide a specific purchase ID or something like that.

  • @alexkey9372
    @alexkey9372 3 ปีที่แล้ว +1

    Hi there, loved your tutorial but i'm afraid that if my project scales the cost will be very high to maintain thereafter. is there a free/cheaper alternative or if there's a way to cut costs with revenuecat when the project scales too?

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +1

      You won't pay anything to revenuecat unless you make money. You will pay revenuecat a very small % of the total revenue you make. If your revenuecat fees will be huge, then congratulations, you are probably making millions $$ from your app.

    • @alexkey9372
      @alexkey9372 3 ปีที่แล้ว

      @@notjustdev ok that's good to know! So i guess if it makes different amounts monthly pricing adjusts? e.g 100k one month next month 10k? I was thinking to do it natively cause I did apple pay stuff in swift before but I guess this might save time. I always consider that my project will scale though. thanks for the info!

  • @-EgoSerg-
    @-EgoSerg- 3 ปีที่แล้ว +1

    Hi.
    Can you tell me, RevenueCat is working with React native Expo?
    Thanks

    • @LotfiORouis
      @LotfiORouis 2 ปีที่แล้ว

      Hey Sergey, did you get an answer for that? Please let me know as I am struggling to find a way to manage subscriptions in my expo-cli project. Thank you

  • @skverskk
    @skverskk 3 ปีที่แล้ว +1

    Awesome tutorial. One question- since I only develop on a PC, I guess setting up things on IOS using x-code is going to be impossible. Thx

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว

      To build for ios you would need a macos. On windows and linux the only option is to build and test on android emulators

    • @JustifiedTech
      @JustifiedTech 3 ปีที่แล้ว

      You could try it on Hackintosh :P

  • @naunausosapp
    @naunausosapp ปีที่แล้ว

    In Play Store, when I click on Subscription, it just keep saying Upload a New APK. Do I have to have an approve bundle before I can create subscriptions? Thanks

    • @notjustdev
      @notjustdev  ปีที่แล้ว +1

      you have to upload a new apk that has IAP enabled

    • @naunausos-dev3139
      @naunausos-dev3139 ปีที่แล้ว

      @@notjustdev Thank you very much

  • @imPriyankCoder
    @imPriyankCoder 3 ปีที่แล้ว +2

    Hey Vadim great tutorial but just out of curiosity why not to use stripe api ? or paypal ? just curious

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +2

      For in app subscriptions, you cannot use 3rd party services, you have to integrate them with the app store and play store.

    • @imPriyankCoder
      @imPriyankCoder 3 ปีที่แล้ว

      @@notjustdev isnt revenuecat is third party plugin?

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +2

      @@imPriyankCoder Yes, it's a third party, however, they do not handle the payments. The payments are still handled by Appstore and Playstore, and RevenueCat only helps you with integration, tracking, monitoring, analyzing, and so on.

  • @fitnessprincess5735
    @fitnessprincess5735 3 ปีที่แล้ว

    you are most awesome developer you are doing very well please can you build shopify clone
    ????

  • @michael-shakaikhanoba9810
    @michael-shakaikhanoba9810 3 ปีที่แล้ว +2

    Bro love you man
    Please is this revenue cat also be used in the Netflix build for the protection frm non subscribers

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +1

      I haven't planned that yet

    • @michael-shakaikhanoba9810
      @michael-shakaikhanoba9810 3 ปีที่แล้ว

      @@notjustdev would love to see this being used for the Netflix build to make things secure 😋

  • @leelachakra
    @leelachakra 3 ปีที่แล้ว

    ENTITLEMENT_ID. What is it? What does it matter?

  • @edgarmenesesbarragan4156
    @edgarmenesesbarragan4156 3 ปีที่แล้ว +1

    Sorry but it's possible publish an react native app in the Play Store, using purchase methods like RenevueCat, Stripe, Openpay or another ?

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +1

      Using RevenueCat - absolutely. It is possible because revenue cat is a middleware, and the transactions will go directly through play market and/or appstore. With Stripe and other 3rd party payment providers, it is different. THere are strict rules regarding when you can use them. Shortly, if the user buys physical goods, for example you are building a marketplace and user is buying some goods, you can use Stripe. In other cases, you have to use In App Purchases

    • @edgarmenesesbarragan4156
      @edgarmenesesbarragan4156 3 ปีที่แล้ว +1

      @@notjustdevthank you very much for your attention, I want to incorporate monthly subscriptions, and I had read that it is strict to use google pay to upload the application to the play store. So isn't true?, What do you recommend me?

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +1

      That's true. That's why I recommend you using RevenueCat, because RevenueCat will manage your google play subscriptions and make your life easier. RevenueCat just helps you setup and manage the google play IAP.

    • @edgarmenesesbarragan4156
      @edgarmenesesbarragan4156 3 ปีที่แล้ว

      @@notjustdev Thanks bro 😁👌🏼💯

  • @musabgulfam4229
    @musabgulfam4229 3 ปีที่แล้ว

    Can I get the complete source code please

  • @webdevelopmentwebdesign7689
    @webdevelopmentwebdesign7689 3 ปีที่แล้ว

    Hi Vadim, Amazing tutorial bro. When I put the app on Google Play for the first time, how do I put it free or paid?

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +1

      It depends on what you want. A paid application will require an upfront payment to download the app. You can make it free, so everyone can download it for free, and provide extra content and feauters to pro users using subscriptions and revenuecat

    • @webdevelopmentwebdesign7689
      @webdevelopmentwebdesign7689 3 ปีที่แล้ว

      @@notjustdev tnx bro

  • @nithiodev3317
    @nithiodev3317 3 ปีที่แล้ว

    Sir can you do a video showing apk build and deployment of react native applications

    • @notjustdev
      @notjustdev  3 ปีที่แล้ว +1

      checkout the last video where I show how to build and deploy the Netflix clone

  • @oneafrodev
    @oneafrodev 3 ปีที่แล้ว

    how about u show us how to implement crypto payments

  • @adre_
    @adre_ ปีที่แล้ว +1

    I feel like a knife has been stabbed in my brain every time you say "our". Please say it as our, not aaaaurrrrrrr. I watched the video with the sound turned off.

  • @nicholasdwyer9820
    @nicholasdwyer9820 ปีที่แล้ว

    For people watching this 2 years or more later, you should probably create a UserPurchaseInfoContext and getting is subscribed and other info once and access it anywhere by doing useContext.

  • @erayunvanli6977
    @erayunvanli6977 ปีที่แล้ว

    LOG [TypeError: undefined is not a function]
    getPurchaserInfo() not function
    React native js