mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
normalize program object
This commit is contained in:
parent
82382681fc
commit
9b6cd65b9d
1 changed files with 6 additions and 1 deletions
|
@ -38,11 +38,16 @@
|
||||||
return MainActivity.beginPurchase(id);
|
return MainActivity.beginPurchase(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onPurchaseComplete(result) {
|
||||||
|
alert(result);
|
||||||
|
}
|
||||||
|
|
||||||
window.IapManager = {
|
window.IapManager = {
|
||||||
isPurchaseAvailable: isPurchaseAvailable,
|
isPurchaseAvailable: isPurchaseAvailable,
|
||||||
hasPurchased: hasPurchased,
|
hasPurchased: hasPurchased,
|
||||||
updateProduct: updateProductInfo,
|
updateProduct: updateProductInfo,
|
||||||
beginPurchase: beginPurchase
|
beginPurchase: beginPurchase,
|
||||||
|
onPurchaseComplete: onPurchaseComplete
|
||||||
};
|
};
|
||||||
|
|
||||||
NativeIapManager.isPurchased(unlockId, "window.IapManager.updateProduct");
|
NativeIapManager.isPurchased(unlockId, "window.IapManager.updateProduct");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue