Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
29 lines
791 B
TypeScript
29 lines
791 B
TypeScript
// Module ID: 11207
|
|
// Function ID: 11208
|
|
// Name: iapProducts
|
|
// Dependencies: [11208, 2]
|
|
|
|
// Module 11207 (iapProducts)
|
|
import billing_iapProducts from "billing/iapProducts" /* 11208 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("utils/native/IAPUtils.mock.tsx");
|
|
|
|
export default {
|
|
loadProducts() {
|
|
return Promise.resolve(billing_iapProducts.copiedIAPProducts);
|
|
},
|
|
purchaseProduct() {
|
|
const error = new Error("IAPUtils is mocked \u2014 purchases cannot be completed in this build.");
|
|
return Promise.reject(error);
|
|
},
|
|
canMakePayments() {
|
|
return Promise.resolve(true);
|
|
},
|
|
restorePurchases() {
|
|
return Promise.resolve([]);
|
|
},
|
|
fetchStoreFront() {
|
|
return Promise.resolve({ country: "US", currency: "usd" });
|
|
}
|
|
};
|