// Metro module 16134 (f16135). import AutomaticLifecycleManager from "../../../../lib/AutomaticLifecycleManager"; import { fetchAdUser } from "../../../ads/native/AdUserActionCreators.android"; import SentryUtils_native from "../../../../utils/SentryUtils.native"; class ATTManager extends AutomaticLifecycleManager { _openATTPrePromptOrFlowTimeoutId = null; actions = { POST_CONNECTION_OPEN: this.onPostConnectionOpen }; onPostConnectionOpen() { try { fetchAdUser("post_connection_open"); } catch ($e) { SentryUtils_native.captureException($e); } } _terminate() { if (this._openATTPrePromptOrFlowTimeoutId != null) { clearTimeout(this._openATTPrePromptOrFlowTimeoutId); this._openATTPrePromptOrFlowTimeoutId = null; } } } const aTTManager = new ATTManager(); export default aTTManager;