"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeepAwake = KeepAwake;
const jsx_runtime_1 = require("react/jsx-runtime");
const expo_keep_awake_1 = require("expo-keep-awake");
const react_1 = require("react");
function KeepAwake() {
    // useKeepAwake();
    (0, react_1.useEffect)(() => {
        (0, expo_keep_awake_1.activateKeepAwakeAsync)();
        return () => {
            (0, expo_keep_awake_1.deactivateKeepAwake)();
        };
    }, []);
    return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
}
//# sourceMappingURL=keep-awake.native.js.map