react native iap not providing the subscription information

I am handling the buy subscription with this function

const handleBuySubscription = async (productId) => {

    try {

      await requestSubscription({

        sku: productId,

      });

      setLoading(false);

    } catch (error) {

      setLoading(false);

      if (error instanceof PurchaseError) {

        errorLog({ message: `[${error.code}]: ${error.message}`, error });

      } else {

        errorLog({ message: "handleBuySubscription", error });

      }

    }

  };


but the

requestSubscription({

        sku: productId,

      })

does not return anything, and it is stuck at await

Posted on Jul 22, 2025 7:47 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

react native iap not providing the subscription information

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.