2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 16690
|
|
|
|
|
// Function ID: 130129
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: resolved
|
2026-07-27 11:26:19 +00:00
|
|
|
// Dependencies: [4809, 1194, 6271, 3, 1899, 16066, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 16690 (resolved)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_4 from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_5 from "_isNativeReflectConstruct";
|
|
|
|
|
import importDefaultResult from "timestamp";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
importDefaultResult = new importDefaultResult("BackgroundSync");
|
2026-07-23 10:11:24 +00:00
|
|
|
let result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/headless_tasks/android/BackgroundSync.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default (arg0) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = arg0;
|
2026-07-20 16:05:17 +00:00
|
|
|
if ("active" === state.getState()) {
|
|
|
|
|
let resolved = Promise.resolve();
|
|
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
let isConnectedResult = _isNativeReflectConstruct.isConnected();
|
2026-07-20 16:05:17 +00:00
|
|
|
if (!isConnectedResult) {
|
2026-07-23 10:11:24 +00:00
|
|
|
isConnectedResult = _isNativeReflectConstruct.isTryingToConnect();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
if (!isConnectedResult) {
|
2026-07-25 08:10:48 +00:00
|
|
|
const result = importDefault(1899).carefullyOpenDatabase(id.getId());
|
|
|
|
|
let obj = importDefault(1899);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
resolved = new Promise((arg0) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
outer1_6.log("Executing BackgroundSync with ", callback);
|
|
|
|
|
const obj = callback(outer1_2[5]);
|
|
|
|
|
callback(outer1_2[5]).backgroundSync({}).then(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
return resolved;
|
|
|
|
|
};
|