2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 18106
|
|
|
|
|
// Function ID: 18107
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: BundleUpdaterActionCreators
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: [17, 4982, 1115, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 18106 (BundleUpdaterActionCreators)
|
2026-09-10 05:38:07 +00:00
|
|
|
import _mod17 from "module_17" /* 17 */;
|
2026-09-15 14:23:42 +00:00
|
|
|
import util from "util" /* 1115 */;
|
2026-09-16 07:03:15 +00:00
|
|
|
import AlertActionCreatorsDefault from "AlertActionCreators" /* 4982 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const NativeModules = _mod17.NativeModules;
|
2026-07-23 10:11:24 +00:00
|
|
|
let c4 = false;
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("actions/native/BundleUpdaterActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
prepareUpdate(versionRequired) {
|
|
|
|
|
if (versionRequired) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj2 = { title: null, body: null, confirmText: null, cancelText: null, onConfirm: null };
|
|
|
|
|
const intl = util.intl;
|
|
|
|
|
obj2.title = intl.string(util.t.GQZdmI);
|
|
|
|
|
const intl2 = util.intl;
|
|
|
|
|
obj2.body = intl2.string(util.t.Fizu9y);
|
|
|
|
|
const intl3 = util.intl;
|
|
|
|
|
obj2.confirmText = intl3.string(util.t.UefCDS);
|
|
|
|
|
const intl4 = util.intl;
|
|
|
|
|
obj2.cancelText = intl4.string(util.t["1SzcG6"]);
|
|
|
|
|
obj2.onConfirm = function onConfirm() {
|
2026-07-29 08:29:29 +00:00
|
|
|
BundleUpdaterManager = BundleUpdaterManager.BundleUpdaterManager;
|
2026-07-20 16:05:17 +00:00
|
|
|
return BundleUpdaterManager.reload();
|
|
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
AlertActionCreatorsDefault.show(obj2);
|
2026-08-24 06:08:38 +00:00
|
|
|
c4 = true;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
deferUpdate() {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (c4) {
|
|
|
|
|
c4 = false;
|
2026-07-20 16:05:17 +00:00
|
|
|
const BundleUpdaterManager = NativeModules.BundleUpdaterManager;
|
|
|
|
|
BundleUpdaterManager.reload();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|