React Native In-App Purchases (Android) - incl Backend and testers from scratch

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 113

  • @mantikhatasi
    @mantikhatasi 3 роки тому +2

    probably only video on youtube actually explaining.

  • @tyrionmeredith69
    @tyrionmeredith69 3 роки тому +9

    Absolutely brilliant! You’ve really helped me and my business integrate in app purchases on our app , thank you

  • @andyduncan5971
    @andyduncan5971 2 роки тому +3

    I'm still using your two videos on 'in app purchases', every time I change the way we do subscriptions on our phone apps, nine months after initial release, so kudos to you. Thank you again for all the time and effort you took to produce them both. Absolute life saver.

    • @euanmorgann
      @euanmorgann  2 роки тому +1

      Wow! Thank you and best of luck ☺️

  • @ToxiSniping
    @ToxiSniping 3 роки тому +4

    Finally a complete tutorial with backend! Good job mate I appreciate it

  • @Duartebotero
    @Duartebotero 3 роки тому +1

    Thank you for this!!! We just need now two more videos with a Web Stripe implementation and then a RevenueCat to synch all ...Thanks

  • @muhammetgokturk3252
    @muhammetgokturk3252 3 роки тому +1

    Kardesim adamsin adam o kadar yardimi dokundu ki anlatamam. Hi bro, I can't tell you how much you helped me. You are an amazing man.

  • @patlagoon
    @patlagoon 2 роки тому

    huge THANK YOU for this tutorial. I would have never been able to implement iap without this video.

  • @bloggerklik
    @bloggerklik Рік тому +1

    Hi Euan, I'm thinking about finishing my app and publishing it in 2 months. Purchases have changed, I think, and I don't know how up-to-date this video is. I've integrated it into my "in app purchase" project by watching your videos before. It was truly a quality and complete guide. Are you thinking of making new content? Thanks 👍❤

  • @iampain97
    @iampain97 Рік тому

    appreciate your effort for this video. just 1 hour video took months to make.

  • @anothernumber9753
    @anothernumber9753 2 роки тому

    Thank you so much!! this has been super helpful to me. I spent literally an entire day messing around with firebase backend. I was missing the google json thing and you having that really saved the day for me. thank you!

    • @learnto-codebymsy9884
      @learnto-codebymsy9884 2 роки тому

      Hey. Can you help me out. I have done everything but I am stuck with the error from the backend, there has been an error with your purchase. It seems like my code is not going to the try part. Rather it is going to the catch part. I have been trying for a long time and could really use some help.

  • @TheByadiqe
    @TheByadiqe 3 роки тому +6

    If you are a license tester you don't need to install expo updates and publish the changes, debug version of the app will work just fine. But make sure to use android device not an emulator because billing library doesn't work in emulator. Thanks for the video!

    • @sumarianakadek1855
      @sumarianakadek1855 3 роки тому

      this is very untrue, i'm testing it, it should be uploaded/push with expo update in order to request purchase. otherwise you'll getting an error which says request is not available for purchase

  • @alejandroklever
    @alejandroklever 4 місяці тому

    You saved me hours of work. Thanks a lot 😁🙌

    • @JamesUkoli
      @JamesUkoli 3 місяці тому

      Did you get any build.gradle errors?

  • @arupde6320
    @arupde6320 3 роки тому

    bro plz upload more on advance react native topics .. ur explanation is very good ...

  • @Попробуйповторить-е7з

    THe best RNIap turorial!!!🤟

  • @ricardoolivaresventura4603
    @ricardoolivaresventura4603 3 роки тому

    Brother, Thank you very much for this video.
    It's what I was looking for

  • @skippybassmaster7268
    @skippybassmaster7268 2 роки тому

    Awesome !! Absolutely well done, you are good at teaching, keep it up thanks

  • @maximilianonareacarvajal9240

    Bro, thanks for your time! This video helped me a lot :)

  • @iyankamau
    @iyankamau 3 роки тому

    Exactly what I was looking for. Thanks.

  • @youcefben3105
    @youcefben3105 3 роки тому

    Thank you so much I followed your tutorial and it helped me a lot.

  • @RenatoColossuss
    @RenatoColossuss 3 роки тому

    Sensational my brother! Thank you very much, success for you.

  • @Kubaguette
    @Kubaguette 3 роки тому +1

    Finished the tutorial. Very well explained and awesome done. It would have been even better if you could provide the payment also for consumable items, everything you did was with a subscription so in my case its not working perfectly when I try to buy things but I got it working now 100% my own way.

    • @chrislloyd1734
      @chrislloyd1734 2 роки тому

      Hi, I am also doing consumables only. From what I see there is no need to validate a consumable purchase. Validation is only required to check if a subscription or one time purchase has already been made or is active or not. Am I correct?

    • @Kubaguette
      @Kubaguette 2 роки тому

      @@chrislloyd1734 Im not sure about that. I implemented validation and it works so I better stick to that before messing up anything 😂

    • @chrislloyd1734
      @chrislloyd1734 2 роки тому +1

      @@Kubaguette OK. Thanks for your quick reply.

  • @EdersonFaccinFrasson
    @EdersonFaccinFrasson 3 роки тому

    It is awesome, now worked for me, thanks.

  • @philosophycode6551
    @philosophycode6551 3 роки тому

    Excellent!! best explanation, thank you very much, bre,

  • @ja61R
    @ja61R Рік тому

    I’m from Pakistan and I don’t develop I study only 8 class and I learn Java myself not learned still learning. And if anyone is my teacher during this one year, it is you. SIR

  • @sentilayshorts
    @sentilayshorts Рік тому +1

    can u make a new video with new iap for subs and products ?

  • @groultaria6732
    @groultaria6732 3 роки тому +2

    Awesome work, I find it so hard to get good info on this topic with react native. Liked, subscribed, and shared. Would it also be possible to share your VS Theme? I want to do a vim version of it!!

    • @euanmorgann
      @euanmorgann  3 роки тому

      Thank you! The theme is called 'Community Material Theme Darker High Contrast'

    • @chrislloyd1734
      @chrislloyd1734 2 роки тому

      @@euanmorgann Hi, I am doing consumables only such as extra coins that can be used and spent within the app. From what I see there is no need to validate a consumable purchase. Validation is only required to check if a subscription or one time purchase has already been made or is active or not. Am I correct?

  • @sumarianakadek1855
    @sumarianakadek1855 3 роки тому

    the best explanation, thank you, you have saved me from misery :rofl:

  • @jonathanguillen7704
    @jonathanguillen7704 3 роки тому +1

    Best guide for RNIAP out there!!! I really thank your effort here, mate! I have a couple of questions, though. Would Google have any concerns if we keep validating subscription status on each app launch? Also, are you aware of any charges doing so? Thanks again!! I liked and suscribed :D

    • @euanmorgann
      @euanmorgann  2 роки тому +1

      Thank you :D no there shouldn't be any issues or charges, however you could perhaps store the subscription data in your own database and verify it yourself :)

    • @cubetechnologyinnovationmy1728
      @cubetechnologyinnovationmy1728 2 роки тому

      @@euanmorgann Hey!! Thanks Euan! That's exactly what I did, haha. Thanks a lot!

  • @ahsanabrar880
    @ahsanabrar880 Рік тому

    thanks man, great job

  • @TuanNguyen-cs6kl
    @TuanNguyen-cs6kl 3 роки тому

    Thank you very much. I'm from VietNam

  • @venkatbalasubramanian480
    @venkatbalasubramanian480 3 роки тому +2

    Are you able to add the IAP to the Play Store without doing "Rollout to Production" first? I want to be able to test my IAP on Android before pushing it to the Play Store.

  • @gilbertopalomeque8135
    @gilbertopalomeque8135 3 роки тому

    Excellent!!

  • @ziamohe-uddin2178
    @ziamohe-uddin2178 Рік тому +1

    FIrst of all i want to thank you for this helpful tutorial. can you please mention the react native iap library version ? i have checked it in you git repo but not found any help.

  • @been0420
    @been0420 Рік тому +1

    I just use internal test for the test but you used closed test. Is it impossible use internal test to iap test?

    • @Antonym-b5o
      @Antonym-b5o Рік тому

      the same question. Do you have an answer?

  • @danielyonamusic
    @danielyonamusic 3 роки тому

    awesome, thanks!

  • @reia1768
    @reia1768 2 роки тому

    Thanks for this tutorial, Very well explained . Hope you don’t mind if i ask, maybe you know also how to upgrade and downgrade the subscription.

  • @danielcti
    @danielcti 2 роки тому

    excelent video

  • @pradipbade3349
    @pradipbade3349 3 роки тому

    Awesome video. how to debug on device in-app purchase methods?

  • @찍먹좌-n7z
    @찍먹좌-n7z 3 роки тому

    Thanks😀
    Now watching 53:44
    TODO 32:08

  • @GGGGGGGGGG96
    @GGGGGGGGGG96 3 роки тому

    Hi! This tutorial covers how to make an purchase but the renewal of an subscription is not covered in this video? Thanks!

  • @arupde6320
    @arupde6320 3 роки тому

    Bro plz uupload more videos on react native ..

  • @plmstrokes
    @plmstrokes 2 роки тому

    in case of non-consumable products, can i rely just on purchase history? w/o back end validation i mean.
    btw nice content, thx.

  • @sentilayshorts
    @sentilayshorts Рік тому

    I want purchase details add to cloud firebase when receipt bought and when app closed and opened its must check is there available sub if yes, continue app but if no I want delete purchase detail from cloud firebase, I hope u understand I mean how I will do it?

  • @sentilayshorts
    @sentilayshorts Рік тому

    can u do with firebase and 3 product and without firebase functions

  • @scascar92
    @scascar92 3 роки тому

    Awesome

  • @matthewjin3337
    @matthewjin3337 2 роки тому

    thanks for post great vidoe. can you please give me a hint of how to use in app purchase as "coin" in react native? thanks!

  • @rog0079
    @rog0079 2 роки тому +1

    Hi, first of all thanks for this great video! I have a question, can we use other payment methods like Stripe, Razerpay for a subscription based app instead of using in-app purchases with the same backend process? Like is it a good idea? Anyone?

    • @carit.psicologo
      @carit.psicologo Рік тому

      I think you can't because of play store rules, they get a 30% cut

  • @harisahmed4734
    @harisahmed4734 8 місяців тому

    hi ! one time code successfully redeem but custom code not redeemed because it can be redeemed inside app any solutions

  • @592swapnil
    @592swapnil 2 роки тому

    Thanks for saving from the great grand canyon.

  • @RaviThakor-j6h
    @RaviThakor-j6h Рік тому

    so what if i cancelled the subscription during the trial, how will i know from the code

  • @MoraesDev
    @MoraesDev 3 роки тому

    why I can't buy in debug mode ? the product list in debug but said I can't buy this products have any idea ?

  • @chrislloyd1734
    @chrislloyd1734 2 роки тому

    Hi, I am doing consumables only such as extra coins that can be used and spent within the app. From what I see there is no need to validate a consumable purchase. Validation is only required to check if a subscription or one time purchase has already been made or is active or not. Am I correct?

  • @vnkpurohit
    @vnkpurohit 2 роки тому

    i got subscriptions but purchase request is not working how do i debug it

  • @fraty1630
    @fraty1630 3 роки тому

    Hello, Thanks for the video! I was trying to set it up using the above steps but unable to fetch products/subscriptions. I followed all your steps but when I'm trying to console log the output, it's just an empty array. Is there anything I should do ?

  • @hiteshtarbundiya7339
    @hiteshtarbundiya7339 3 роки тому

    how to run this apk becaus for console log, you not display how to run and get output on conlose

  • @danielfischer6846
    @danielfischer6846 2 роки тому

    Hi Euan, thanks a lot for your videos, I don't think I could have implemented this without them. However, I have the problem that in production mode (app is available on google play) every purchased subscribtion returns paymentState: 2. I decided to accept these as valid transactions in my backend, but now my play console says that I have zero subscriptions (even though I can see in my database that new users subscribed to the app). Do you have an idea?

  • @shehriyarnadeem2582
    @shehriyarnadeem2582 3 роки тому

    The app link sends to testers takes infinite time to load. Please let me know what might be the problem?

  • @SilverionGameplays
    @SilverionGameplays 9 місяців тому

    It give me errors when using IAP methods and I don't know why... Can you upload package.json? Or the whole project? TYSM

  • @been0420
    @been0420 2 роки тому

    Hello.. First of all thank you for good video. I have some trouble. I think I can connect play store because I didn't get message "error connecting to store" but I can't get products. And I can make .aab file using ./gradlew bundleRelease command. There is a message like this : > Task :react-native-iap:generatePlayReleaseRFile FAILED
    However I can't find this error anywhere.... Can I get some help from you? please....

  • @sagarraturi7283
    @sagarraturi7283 3 роки тому

    Hey bro, nice video just one question. I am not able to disable the pause subscription option from manage subscription settings in play console even if i select disabled in pause subscription then it is still showing me the pause subscription option in google playstore manage subscription screen. Pls can u check and let me know if u find any solution thanks
    One more thing to add that i am getting this issue in alpha testing

  • @dariolimardo1619
    @dariolimardo1619 2 роки тому

    hello thanks for the tutorial. my problem is that isActiveSubscription always returns false despite the subscription being purchased. do you have an idea why?

  • @sentilayshorts
    @sentilayshorts Рік тому

    how can i check subscriber without firebase functions??

    • @carit.psicologo
      @carit.psicologo Рік тому

      You can check in any backend type, firebase is just the fastest to get up and running

  • @Ptit.clement
    @Ptit.clement 3 роки тому +1

    Haha yeaaaah !

  • @FevziYıldızhan-y5l
    @FevziYıldızhan-y5l 5 місяців тому

    Is there anyone I can get help on this matter?

  • @thetamefear
    @thetamefear 3 роки тому

    bro, it's have a bug with more then 1 subscriptions to check ;) they didn't update their places in history by purchasing

  • @blueLab2024
    @blueLab2024 3 роки тому

    hello i get this error TypeError: undefined is not an object (evaluating '_reactNativeIap.default.initConnection')

    • @euanmorgann
      @euanmorgann  3 роки тому +1

      Hello, this answer on github suggest that
      import * as IAP from 'react-native-iap'
      could fix the issue
      github.com/dooboolab/react-native-iap/issues/1264

    • @blueLab2024
      @blueLab2024 3 роки тому

      @@euanmorgann thanks yes fixed

  • @Pendududesign
    @Pendududesign 3 роки тому

    I got a : Callable request verification passed {"verifications":{"auth":"MISSING","app":"MISSING"}} from firebase. And purchaseState is still at 0. is it normal ? it's seems this error comes from app check ?

    • @alfatech5252
      @alfatech5252 3 роки тому

      The same for me i am working on it now

    • @Pendududesign
      @Pendududesign 3 роки тому

      @@alfatech5252 i think the problem comes from the user test. Google do not acknowledge test user so… the purchase state will be always 0. I will test on production and see if the state is different if it’s a real user (me). With a true credit card.

    • @alfatech5252
      @alfatech5252 3 роки тому

      are you using emulator or real android device?

    • @Pendududesign
      @Pendududesign 3 роки тому

      @@alfatech5252 real device

    • @Pendududesign
      @Pendududesign 3 роки тому +1

      @@alfatech5252 Ok it's working for me I just forgot to use one function. It's working with test user as well. All good. Thank you for the tutorial. (really great and helpful)

  • @AllahomAnsorGaza
    @AllahomAnsorGaza 2 роки тому

    any news about expo ? :D

    • @euanmorgann
      @euanmorgann  2 роки тому

      Hoping to make a tutorial soon 😁

  • @ErenVardar
    @ErenVardar Рік тому

    There has been an error with your purchase. "There has been an error with your purchase"

  • @kvlknctk
    @kvlknctk 3 роки тому

    I like your tone of voice, knowledge and style of expression. but I think it will be better for you if you give up the operating system you are using.

    • @euanmorgann
      @euanmorgann  3 роки тому +1

      I dislike windows too 😂 I use Mac and Linux also, but my main machine has always been Windows

  • @sentilayshorts
    @sentilayshorts Рік тому

    parameter specified as non-null is null: method kotlin.jvm.internal.intrinsics.checknotnullparameter, parameter skuArr what's the problem?

  • @furkandemir-rl6mb
    @furkandemir-rl6mb Рік тому

    "skus" is required I get this error , help me please

    • @IRCAcademy
      @IRCAcademy 6 місяців тому

      if por migration 10.0.0. yo need to put getproducts({skus: productid]), instead of getproducts("productid"). just that, the same getsubscriptions, etc