In-app Subscriptions & Paywalls with RevenueCat in React Native

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

КОМЕНТАРІ • 40

  • @notjustdev
    @notjustdev  7 місяців тому

    🐱 This video is sponsored by RevenueCat - a subscription platform built for mobile apps!
    Sign up for a free RevenueCat account here: bit.ly/3Hxi9k8

  • @mertdogaray343
    @mertdogaray343 6 місяців тому +2

    This is the cleanest and easiest explanation, thank you.

    • @notjustdev
      @notjustdev  5 місяців тому

      Glad it was helpful!

  • @nateliason
    @nateliason 2 місяці тому

    Fantastic walkthrough, thank you so much for making it!

  • @nicolasaguilar2202
    @nicolasaguilar2202 2 місяці тому

    Amazing tutorial, I'm trying to once the user pay and has an active entlitement, do an update the user level in a database. How I can idenify if the user has an active entitlement (paid the suscription and is active)?

  • @treksis
    @treksis 7 місяців тому

    Thanks for the work. My week-end watch list 😁

  • @wisdomelue
    @wisdomelue 7 місяців тому

    thanks for all the work you are putting in

  • @felix-channel7655
    @felix-channel7655 2 місяці тому

    do you have any toturial connect from the scratch react native cli + revenuecat (without expo) ?

  • @haryanvideveloper777
    @haryanvideveloper777 7 місяців тому +1

    Does revenueCat takes any commission like play/app store ?

  • @wanderhungerbuhler
    @wanderhungerbuhler 7 місяців тому

    Nice video. In iOS always works but why don't work in Android?

  • @chinfanster
    @chinfanster Місяць тому

    If we set up two entitlements, for example, basic and premium, does revenueCat ensure that the user only subscribes to one of them?

  • @DanielA-wc6nh
    @DanielA-wc6nh 3 місяці тому +2

    Is not working There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).

    • @DanielA-wc6nh
      @DanielA-wc6nh 3 місяці тому

      I refactor the use effect using another function with async and use await on configure const initialPurchases = async () => {
      if (Platform.OS === 'ios') {
      console.log('ios');
      await Purchases.configure({apiKey: 'appl_nNVoXMfVXkBxrxMracOsyEStTrD'});
      } else if (Platform.OS === 'android') {
      await Purchases.configure({apiKey: 'appl_nNVoXMfVXkBxrxMracOsyEStTrD'});
      }
      Purchases.setLogLevel(LOG_LEVEL.DEBUG);
      Purchases.getCustomerInfo()
      .then(customerInfo => {
      console.log('Purchases.getCustomerInfo', customerInfo);
      })
      .catch(error => {
      console.log('Purchases.getCustomerInfo error', error);
      });
      //get offerings
      Purchases.getOfferings()
      .then(offerings => {
      console.log('Purchases.getOfferings', offerings.all);
      })
      .catch(error => {
      console.log('Purchases.getOfferings error', error);
      });
      };
      initialPurchases();

    • @El_ii
      @El_ii 2 місяці тому +1

      had the same problem. You need to set up Xocde for in-app purchases and Apple Connect Idk why he didn't add it in his tutorial....

    • @DanielA-wc6nh
      @DanielA-wc6nh 2 місяці тому

      Thanks man. I uploaded the app with in-app purchase some weeks ago.

    • @DanielA-wc6nh
      @DanielA-wc6nh Місяць тому

      @AbhishekShankar-q2p This problem was becouse apikey is not setting correctly on Docs you can find examples with RN but in my case I resolver with In the useEffect use await when setting the apikey that works for me put the code on a function with async and just call it on useEffect

    • @abhishekshankar6305
      @abhishekshankar6305 Місяць тому

      But I am getting the correct API key in console as I am using dotenv , I am also using useEffect as you told me. ​@@DanielA-wc6nh

  • @Akash-em9ho
    @Akash-em9ho 7 місяців тому

    Hi, Can we actually get google play payment service for a web platform anyway?

  • @nat.serrano
    @nat.serrano 6 місяців тому +1

    this is a good video, but I would appreciate if you also develop for android, the only reason I’m using RN is because android

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

    I have problem when upload key to google play like you at 2:08:49. How can resolve it?

  • @ralpha112
    @ralpha112 6 місяців тому +1

    im getting this error "There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used)."
    Any solution please.

    • @martincdt
      @martincdt 5 місяців тому

      Same error, did you fix it?

    • @DanielA-wc6nh
      @DanielA-wc6nh 3 місяці тому

      Same here

    • @DanielA-wc6nh
      @DanielA-wc6nh 3 місяці тому +3

      In the useEffect use await when setting the apikey that works for me put the code on a function with async and just call it on useEffect

    • @SamuelIbiyemi-mq7mk
      @SamuelIbiyemi-mq7mk Місяць тому

      You might have to make a new development build for your app since react-native-purchases use native codes.

    • @avery4staradventure
      @avery4staradventure Місяць тому

      Solution is to make sure you create subscriptions AFTER the paid apps agreement has become active. If you created them before, delete and re-create.

  • @FitnessClub8763
    @FitnessClub8763 2 місяці тому

    How can i test this paywall on emulator or physical devices. i

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

    getting this error "There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).", please help...

    • @antoinewaag9226
      @antoinewaag9226 2 місяці тому

      I have the exact same problem.. Did you find a solution ?

    • @El_ii
      @El_ii 2 місяці тому

      had the same problem. You need to set up Xocde for in-app purchases and Apple Connect Idk why he didn't add it in his tutorial....

    • @avery4staradventure
      @avery4staradventure Місяць тому

      Solution is to make sure you create subscriptions AFTER the paid apps agreement has become active. If you created them before, delete and re-create.

  • @kaydenangel3742
    @kaydenangel3742 7 місяців тому

    Thank you so much can you please do the one using aws amplify and connect with quicksight