Open chrisdev0342 opened 1 year ago
Is this on a device with iOS 15 or newer? have you tried using Storekit2 mode?
Is this on a device with iOS 15 or newer? have you tried using Storekit2 mode?
Yes, using StoreKit it works in debug mode but after deploying on TestFlight does not work.
I have seen this on other tickets. It might be the kind of subscription. For iOS 15+, using storekit2 mode seems to solve it.
Any update on this? Is it confirmed that we need storekit2 mode for ios 15+? I thought storekit2 wasn't mandatory?
This could be a configuration issue on the appstore,
I am currently facing the same issue with subscriptions fetching an empty array. But let me try the Storekit2 mode and see how it goes.
Wow! I woke up this morning, I did the Storekit configuration. And everything started working perfectly as supposed. Though, I ensured that everything matched the values I have on the apple console.
Thanks
I've been facing this same issue of fetching empty array for about 2 weeks now
Please how do I use storekit2?
@oloyedewaris follow the step in this documentation ===> https://www.revenuecat.com/blog/engineering/ios-in-app-subscription-tutorial-with-storekit-2-and-swift/#h-setting-up-app-store-connect
I am getting the same error, but on purchase. I am using expo 49
Is this on a device with iOS 15 or newer? have you tried using Storekit2 mode?
Yes, using StoreKit it works in debug mode but after deploying on TestFlight does not work.
i facing same problem.
also using setup({storekitMode:'STOREKIT2_MODE'})
I am also getting same issue
all steps done (storekit confiuguration) as described here: https://developer.apple.com/documentation/xcode/setting-up-storekit-testing-in-xcode#Enable-StoreKit-Testing-in-Xcode
but now getting empty array when try to fetch subscritions
any updates on this issue?
Description I am fetching renewable subscriptions in IOS, which always returns an empty array. Although everything is working fine on Android. I also tried to run
requestSubscription
with one of thesku
but it throws an error:I am trying to fetch like:
const subscription = await RNIap.getSubscriptions({ skus: ["subscription_01", "subscription_01"] });
I've been struggling with this from past week, I have tried to push build to TestFlight and test but no success. Any help will be much appreciated.
Expected Behavior Ideally it should return an array of subscriptions just like Android.
Environment: