I have an application which uses auto renewable subscription. I use applicationUsername property of SKMutablePayment to save some information. How can I later read this data from opaque value from receipt?
I try to do it similarly to this solution: https://www.objc.io/issues/17-security/receipt-validation/
But when I try to decode opaque value
NSString *str = [[NSString alloc] initWithData:opaqueData encoding:NSUTF8StringEncoding];
my str
variable is empty.