When a user reinstalls the application and attempts to purchase a subscription they have already purchased, Apple correctly displays a dialog indicating that the user is already subscribed. However, instead of automatically restoring the user's account, Qonversion throws an unknown error.
Steps to Reproduce
Install the application and purchase a subscription
Uninstall the application
Reinstall the application
Attempt to purchase the same subscription again
Expected Behavior
Apple displays the "You're already subscribed" dialog
Qonversion should automatically detect the existing subscription and restore the user's account
User should be granted access to their subscription without any errors
Actual Behavior
Apple displays the "You're already subscribed" dialog (correct)
Qonversion throws the following error:
Code: Unknown
Description: An unknown error occurred
Additional Message: Qonversion Error Code: Unknown
isUserCancelled: false
User's account is not automatically restored
Environment
Platform: iOS
Qonversion SDK Version: 10.0.2
iOS Version: 18.5
Additional Context
The issue occurs specifically in the reinstall scenario where the user already has an active subscription. The error indicates isUserCancelled: false, confirming this is not a user-initiated cancellation but rather an error in the subscription restoration flow.
Severity
High - This prevents users from accessing their already-paid subscriptions after reinstalling the app, resulting in a poor user experience and potential support burden.Retry