Getting started with in app purchases React Native (iOS)

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 38

  • @lfellidev
    @lfellidev 4 роки тому +2

    Thanks so much man! It's all I need to learn.

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

    It kinda looked like I was learning Javascript. It didn't show me anything on the setups on Apple end. Creating Subscriptions, Sandbox testers , what is the product id, etc.
    It basically showed me javascript syntax and told me things already on the documentation of IAP

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

    Next time when a user opens this App, how to check if the user has paid, is there a way we can get the user's Apple some kinds of account ids to point to a specific payment?

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

    Hello i am using product id same in code & app store connect but getting empty response

  • @Denis-fc2sv
    @Denis-fc2sv 4 роки тому +1

    Thanks for video. What about android?

  • @tatsianabukzheleva6896
    @tatsianabukzheleva6896 4 роки тому

    Thanks a bunch!

  • @arebfaraz
    @arebfaraz 4 роки тому +1

    Im unable to get array , can you help me

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

    Hi Jonas, Thanks a lot for the video you have shared that helped me a lot, however I have one query and I am grateful if you can resolve that.
    How can we unsubscribe to the current plan? Is there any way to do that from API or user must have to go to apple account and unsubscribe plan from there? If user does so how do we know that the plan has been unsubscribed?

  • @marcosportillo5240
    @marcosportillo5240 4 роки тому +1

    Another question when talking about the Receipt, is a request made to apple to check if that receipt is still valid?
    I already have my backend. But how do I implement that every month that receipt is saved in my back-end?
    the first time if it is saved, but if the subscription of 1 month is about to expire, how do I keep that receipt in my back?

    • @jonasgroendahl
      @jonasgroendahl  4 роки тому

      Yes its a request from the backend to the Apple api. Make sure your app is always checking the receipt after it’s launched. If the subscription expired or about to expire , it will say so in the api response

  • @MantuKumar-in2qq
    @MantuKumar-in2qq 4 роки тому

    Thanx man

  • @febinmohammed6160
    @febinmohammed6160 4 роки тому +2

    Great video. Can you please make one for android too

    • @jonasgroendahl
      @jonasgroendahl  4 роки тому +1

      I’m looking into it! 🐰

    • @febinmohammed6160
      @febinmohammed6160 4 роки тому

      Jonas Grøndahl eagerlyy waiting ☺️. There is no other tutorial on youtube wich explains in app payments. Thats why🙂

  • @captainjack9178
    @captainjack9178 4 роки тому +1

    hi, Thanks so much for video, one question please... when you say "Sign banking and tax agreements" you mean i have to enroll my application to appstore by 99$ for year before do this video? ,thanks to response :)

    • @jonasgroendahl
      @jonasgroendahl  4 роки тому

      You need to be enrolled in Apple developer program before you can release and add payments to apps afaik yes

    • @captainjack9178
      @captainjack9178 4 роки тому

      @@jonasgroendahl thanks so much bro, that help me so much

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

    Hi, I have a doubt about IAP,can we make the prices dynamic, I have an app that sells digital contents and the apple rejected the app since I was using a third party payment and instructed me to buy using inapp purchases but since my products price is dynamic and products can be added in future also and cart is also included, I have no idea how to implement that with in-app purchases..can you kindly guide me here..thanks in advance

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

      Hey, I'm facing through similar problem.. were you able to solve it? If yes, could you clarify how it can be done?

  • @sumanth3036
    @sumanth3036 4 роки тому

    Thanks

  • @epicop7233
    @epicop7233 4 роки тому

    Great video! Keep up the good work! My purchaseUpdatedListener is not triggered :C You know any solution? Thanks

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

    Empty array? How do we set Subscriptions? Example not giving expected result Array

  • @gobindasaha7652
    @gobindasaha7652 4 роки тому

    I am stuck inside the purchaseUpdateListener function. What I want is to active a view depending on a state variable but whenever I tried to execute something or update the state variable inside the listener it's not updating. Please help me. I followed every step exactly you have explained here.(Though the finishTransaction has been called successfully)

  • @mohitkale6879
    @mohitkale6879 4 роки тому

    Hi @Jonas How do you integrate it with an actual App Store account? Suppose I have a product registered in my App Store with Product ID "com.example.premium.monthly". Even after using this in the SKUs list it still shows the DUMMY products. How to get this work in actual project with actual products?

    • @jonasgroendahl
      @jonasgroendahl  4 роки тому

      What step are you on in terms of setting up your app, banking details etc etc. in the appstoreconnect?

    • @mohitkale6879
      @mohitkale6879 4 роки тому

      @@jonasgroendahl everything done. Actually I wanted to know does it automatically to my apps products? And does it show real products only when in sandbox or deployed on Apple and Android store? Actually I am not able to see my real products in release build on my device.

    • @jonasgroendahl
      @jonasgroendahl  4 роки тому

      @@mohitkale6879 the products should show on device in development

    • @mohitkale6879
      @mohitkale6879 4 роки тому

      @@jonasgroendahl I see the dummy products of coins even if I use my product ID in the code.

    • @whalewatch5993
      @whalewatch5993 4 роки тому

      @@jonasgroendahl same question here. How do you connect to your own apple store product, not the demo one? It looks like you used the bundle id in Xcode to set that up. But what if I don't use Xcode, there is nowhere I can set that up

  • @berkozturk1923
    @berkozturk1923 4 роки тому

    How can we validate subscription when users open the app? (without using db)

    • @jonasgroendahl
      @jonasgroendahl  4 роки тому +2

      I wouldnt attempt to do it without a backend 🙂

    • @berkozturk1923
      @berkozturk1923 4 роки тому

      @@jonasgroendahl Thanks for response