Closed ryanmeisters closed 1 year ago
👀 SDKONCALL-250 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
@ryanmeisters could you provide us a bit more info regarding how you're making purchases and where you're seeing the non-consumable missing?
That line shouldn't be causing an issue: in theory, it should just check if you have an active subscription before posting a receipt to our backend, to send some extra information in those cases. Before that PR, the value for productData
when posting to the backend was always nil
when restoring, and afterwards, it should be nil
if the user has no active subscriptions, and if they do, it should contain some extra information regarding the products they're subscribed to.
That being said, if you're actually experiencing an issue that goes away when rolling back to a previous SDK version, then we need to explore further.
Could you share debug logs and code snippets? Are you checking the information in the dashboard or through code?
Thanks for the reply. oh yeah, I see. That's just the completion handler and then backend.post(..)
is still called. working on getting more info together
Well, shoot. Now I can't repro.
Tested migrating the legacy purchase to RC and also restoring legacy purchase to a different device with RC, and all seems to be working. I must be crazy 😞
no worries, let me know if you run into this again!
will do, thanks. closing for now
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.
Posted in community here but opening an issue because I'm pretty sure this is a bug.
Describe the bug My app previously had a single "pro" non-consumable purchase, and now I'm implementing subscriptions with revenue cat. Migrating the legacy non-consumable purchase doesn't work with the latest SDK version.
The problem is that, when doing the migration (as recommended in the docs), I hit this line of code, which short-circuits if there is no active subscription. Is it a bug that this code is ignoring non-consumables?
After more digging I found that this PR introduced the
receipt.mostRecentActiveSubscription
check. I downgraded my app to version 4.15.5 of the SDK (right before that PR was released) and the migration now works as expected.useStoreKit2IfEnabled(false)
) (Y/N): YAdditional context Add any other context about the problem here.