decord/source/modules/quests/native/ATTModal/ATTManager.android.tsx

41 lines
1.4 KiB
TypeScript
Raw Normal View History

// Module ID: 17645
// Function ID: 17646
// Name: ATTManager
// Dependencies: [7314, 7934, 1231, 2]
2026-07-20 16:05:17 +00:00
// Module 17645 (ATTManager)
import SentryUtilsDefault from "SentryUtils" /* 1231 */;
import AdUserActionCreators from "AdUserActionCreators" /* 7934 */;
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7314 */;
2026-07-23 10:11:24 +00:00
require = fn;
2026-07-29 08:29:29 +00:00
class ATTManager extends tmp2 {
constructor() {
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
applyArgumentsResult._openATTPrePromptOrFlowTimeoutId = null;
applyArgumentsResult.actions = { POST_CONNECTION_OPEN: applyArgumentsResult.onPostConnectionOpen };
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
const prototype = ATTManager.prototype;
prototype["onPostConnectionOpen"] = function onPostConnectionOpen() {
try {
const adUser = AdUserActionCreators.fetchAdUser("post_connection_open");
2026-07-29 08:29:29 +00:00
} catch (tmp4) {
SentryUtilsDefault.captureException(tmp4);
2026-07-29 08:29:29 +00:00
}
};
prototype["_terminate"] = function _terminate() {
const self = this;
if (null != this._openATTPrePromptOrFlowTimeoutId) {
const _clearTimeout = clearTimeout;
clearTimeout(self._openATTPrePromptOrFlowTimeoutId);
self._openATTPrePromptOrFlowTimeoutId = null;
}
};
const aTTManager = new ATTManager();
const size = fn(2);
const result = size.fileFinishedImporting("modules/quests/native/ATTModal/ATTManager.android.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default aTTManager;