/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCxxPlatform/react/coremodules/AppStateModule.cpp
28 строк
807 B
Andrew Datsenko
Move rncxx coremodules
16 апр 2025, 19:53
16 апр 2025, 19:53
929099f
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "AppStateModule.h" namespace facebook::react { AppStateConstants AppStateModule::getConstants(jsi::Runtime& /*rt*/) { // TODO: T160890586 Wire up AppState implementation to use real data return AppStateConstants{.initialAppState = ""}; } void AppStateModule::getCurrentAppState( jsi::Runtime& /*rt*/, const AsyncCallback<AppState>& /*success*/, jsi::Function /*error*/) {} void AppStateModule::addListener( jsi::Runtime& /*rt*/, const std::string& /*eventName*/) {} void AppStateModule::removeListeners(jsi::Runtime& /*rt*/, double /*count*/) {} } // namespace facebook::react