This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,25 @@
// 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;