Open cervebar opened 10 months ago
Description iOS - Storekit 2
When calling getAvailablePurchases({onlyIncludeActiveItems: true}) the field verificationResultIOS (aka jwsRepresentation) is empty.
getAvailablePurchases({onlyIncludeActiveItems: true})
verificationResultIOS
We found that the cause (probably) is that it is serialized only as transaction. Related code is getAvailableItems in RNIapIosSk2.swift#L576 and IapSerializationUtils.swift#L140. This should be called instead - with the verificationResult IapSerializationUtils.swift#L179.
getAvailableItems
Expected Behavior
verificationResultIOS is not empty after calling getAvailablePurchases
getAvailablePurchases
Environment:
To Reproduce
const activeSubscriptions = await getAvailablePurchases({onlyIncludeActiveItems: true}) console.log(JSON.stringify(activeSubscriptions, null, 2))
+1 Having the same issue
some issues
I am also having the same issue. Did anyone find the solution?
Description iOS - Storekit 2
When calling
getAvailablePurchases({onlyIncludeActiveItems: true})
the fieldverificationResultIOS
(aka jwsRepresentation) is empty.We found that the cause (probably) is that it is serialized only as transaction. Related code is
getAvailableItems
in RNIapIosSk2.swift#L576 and IapSerializationUtils.swift#L140. This should be called instead - with the verificationResult IapSerializationUtils.swift#L179.Expected Behavior
verificationResultIOS
is not empty after callinggetAvailablePurchases
Environment:
To Reproduce