Provide access to SKReceiptRefreshRequest on iOS
See original GitHub issuecurrently both getAvailablePurchases and getPurchaseHistory call the same method on iOS which uses restoreCompletedTransactions
.
The problem with this method is this intermittent issue. As an alternative to circumvent this issue it is suggested to use SKReceiptRefreshRequest to get the latest purchase.
I don’t know if there is a similar function on android. But it would be useful to provide access to the API on iOS.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
SKReceiptRefreshRequest | Apple Developer Documentation
A request to the App Store to get the app receipt, which represents the user's transactions with your app. iOS 7.0+ iPadOS 7.0+...
Read more >ios - Is SKReceiptRefreshRequest limited to the testing ...
1 Answer 1 ... You shouldn't be calling SKReceiptRefreshRequest to keep the receipt up to date. As you've seen, any time you access...
Read more >iOS & Mac App Stores | In App Purchasing - Unity - Manual
However, iOS provides a Transaction Receipt that contains all purchases, including Ask to Buy. Access the most recent Transaction Receipt ...
Read more >iOS Auto Renewing Subscriptions - Josh Wright
Auto-renewing subscriptions in iOS are confusing. ... App Loads If CACHED_EXPIRATION is in the future Grant Access!
Read more >Provide access to SKReceiptRefreshRequest on iOS #337
Provide access to SKReceiptRefreshRequest on iOS #337. schumannd posted onGitHub. currently both getAvailablePurchases and getPurchaseHistory call the same ...
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
Hey, was wondering what is the status on this? I am interested in helping with the implementation - (in a week + as I have my hands full with my disseration atm).
After launching an IAP subscription to prod, been noticing some weird payloads returned by the ios verification endpoint, where no actual receipts are in the
latest_receipt_info
orin_app
fieldsWhat made it even weird,
transactionDate
(as sent by thereact-native-iap
on the client ) is0
. As many other posts across the web (i.e this) mentioned this might be circumvented by this method.Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.