Some user tell me they get this error "Unknown error. Please contact support"
I don't know what is the reason he get this error!
Anyone know what is the reason for this issue ? And how to fix it ?
I have same problem, did you find a solution @X901 ?
@rafaelapaula Unfortunately I didn't find a solution
I leave it as it is
but I felt like I lose some customers with this issue =(
some users didn't had any issue , others had this issue
I don't understand what is the reason of this issue !
Hi everyone. Sorry for the late reply.
First of all, there is no code in the SwiftyStoreKit library that returns "Unknown error. Please contact support".
Instead, the sample demo application uses this string as a placeholder when an error has occurred but there is no message for it. So you would only get this error if you're using the same error handling code in the sample demo app.
So assuming you are using the same error handling code in the sample demo app, you could get this error in one of the following cases:
retrieveProductsInfo, and StoreKit returns a response object with no products and no invalidProductIdentifiers. Not sure why this would happen and the Apple documentation is not clear about it.restorePurchases, but some purchases failed to restore.Hope this is clearer.
By the way, this seems a duplicate of #169
Most helpful comment
Hi everyone. Sorry for the late reply.
First of all, there is no code in the SwiftyStoreKit library that returns "Unknown error. Please contact support".
Instead, the sample demo application uses this string as a placeholder when an error has occurred but there is no message for it. So you would only get this error if you're using the same error handling code in the sample demo app.
So assuming you are using the same error handling code in the sample demo app, you could get this error in one of the following cases:
retrieveProductsInfo, and StoreKit returns a response object with no products and no invalidProductIdentifiers. Not sure why this would happen and the Apple documentation is not clear about it.restorePurchases, but some purchases failed to restore.Hope this is clearer.