iOS 15 fails to fetch products.
See original GitHub issuePlease use Discussion board if you want to get some help out of it. Please report issue if there is a bug.
Version of react-native-iap
react-native-iap 7.3.0
(tried in 7.5.0 also)
Version of react-native
react-native: 0.64.0
Platforms you faced the error (IOS or Android or both?)
iOS, version 15.0
Expected behavior
getSubscriptions
call should populate subscriptions
(useIAP
)
Actual behavior
getSubscriptions
will never trigger callback.- In the log I am getting ->
Background Task 88 ("SKProductsRequest"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
Looks like an iOS 15 related issue.
Tested environment (Emulator? Real Device?)
Real Device
Steps to reproduce the behavior
- Install app in the device which already has an expired device (Not sure about fresh install)
currentPurchase
will get populated with older purchase details.- Quit the app and try again. No product will be fetched,
getSubscriptions
will continue forever. - At this time TestFlight app turns into
renew
status.
Refer threads
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:16 (2 by maintainers)
Top Results From Across the Web
iOS update and restore errors - Apple Support
iOS update and restore errors · Try these steps first · Choose your error number or message · Update the software on your...
Read more >Why Won't My iPhone Update to iOS 15/16 - iMobie
It will fix any iPhone (including iPhone 14) update failed and restore the device to the latest iOS version.
Read more >Common iOS 15 Problems and How to Fix Them | Digital Trends
Head to the App Store, and make sure that all updates have been applied to your apps. Developers may have released an update...
Read more >12 Best Ways to Fix Unable to Install iOS 15 Error - TechWiser
iPhone users on various forums suggest that re-inserting the SIM tray fixed the iOS 15 not installing issue. To do so, simply remove...
Read more >How to Fix Load Content Error in iOS 15 - Lifewire
If you're using iCloud Private Relay, you can get around the error by enabling Private Relay for the Wi-Fi network you're using. To...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Definitely the same for me. I can’t get available purchases and subscriptions from
getSubscriptions
andgetAvailablePurchases
. What is the main reason?react-native-iap
version problem or any other things? Needed help!The promise is not resolving at all. React Native 0.66.4 / iOS15.4
Done
orError
is never logged.