I need the purchaseToken for our server. This field exsits in the Android API,
1/**2 * Token that uniquely identifies a purchase.3 */4 val purchaseToken: String,5
And it is received upon purchase. But iOS API of the purchase function below doesn't send it back
1func purchase(package: Package) async throws -> PurchaseResultData2
When I debug, I see a similar data inside this:
1purchaseResultData.customerInfo.allPurchases.first?.value["id"]2
But allPurchases
is private so I can't get it this way.
Any ideas?