Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/* Metro module 7358; source: utils/native/IAPUtils.mock.tsx; dependencies: [7359, 2] */
|
||||
function _fun59307(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59307, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7536:6, offset: 0x016e5213, size: 141 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/native/IAPUtils.mock.tsx');
|
||||
exports.default = {loadProducts: function() {
|
||||
var Promise = global.Promise;
|
||||
return Promise.resolve(require(dependencyMap[0]).copiedIAPProducts);
|
||||
}, purchaseProduct: function() {
|
||||
var Promise = global.Promise;
|
||||
var Error = global.Error;
|
||||
return Promise.reject(new Error('IAPUtils is mocked — purchases cannot be completed in this build.'));
|
||||
}, canMakePayments: function() {
|
||||
var Promise = global.Promise;
|
||||
return Promise.resolve(true);
|
||||
}, restorePurchases: function() {
|
||||
var Promise = global.Promise;
|
||||
return Promise.resolve([]);
|
||||
}, fetchStoreFront: function() {
|
||||
var Promise = global.Promise;
|
||||
return Promise.resolve({'country': 'US', 'currency': 'usd'});
|
||||
}};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user