This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IAPResponse { | |
// https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html#//apple_ref/doc/uid/TP40008267-CH7-SW15 | |
private ReceiptInfo latest_receipt_info; | |
private ReceiptInfo latest_expired_receipt_info; | |
private ReceiptInfo pending_renewal_info; | |
private String latest_receipt; | |
private String environment; | |
private String auto_renew_status; | |
private String auto_renew_product_id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var queryIterator = client.queryDocuments(collection._self, querySpec); | |
queryIterator.executeNext(function (err, results, headers) { | |
if (err) { | |
// deal with error... | |
} else { | |
// deal with payload... | |
var ruConsumed = headers['x-ms-request-charge']; | |
} | |
}) | |
return queryIterator.toArray( (e, r) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# find the team identifier and team name for a given distribution provisioning profile | |
function provisioning_identity() { | |
ORIGINAL_PROVISION="$1" | |
security cms -D -i $ORIGINAL_PROVISION > "tmp.plist" | |
TMP_FILE="tmp.plist" | |
local result=() |