Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Reads and parses App Store receipt.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
iOSApp | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Path | The file path of the receipt to read. If empty, we read the receipt of current file. |
mbs("iOSApp.ReadReceipt"; "/Applications/Test.app/Contents/_MASReceipt/receipt") | Optional |
Returns JSON or error.
Read receipt of a macOS app:
MBS("iOSApp.ReadReceipt"; "/Applications/Test.app/Contents/_MASReceipt/receipt")
Example result:
{
"expirationDate" : null,
"inAppPurchases" : [
],
"bundleIdentifier" : "com.test.test",
"appVersion" : "16.0",
"opaqueValue" : "JZ1gFXm34qI+cdiUV0jVow==",
"originalAppVersion" : "13.1",
"receiptHash" : "Xm1\/u8I3vf45PTt6UR7p1U0Q15M=",
"purchaseDate" : "2020-04-16 13:44:32 +0000",
"bundleIdentifierData" : "Y29tLnRlc3QudGVzdA==",
"creationDate" : "2020-08-22 08:39:20 +0000",
"transactionDate" : "2020-08-22 08:39:20 +0000"
}
This function checks for a license.
Created 31st August 2020, last changed 31st August 2020