/
mustreets
/
TestApp
Обзор
Документация
Войти
/
mustreets
/
TestApp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
1
CI/CD
Аналитика
Безопасность
master
ReactotronConfig.ts
24 строки
835 B
Slava
Remove Crashlytics integration from the beta lane in Fastfile
07 июн 2026, 20:06
07 июн 2026, 20:06
f21773c
Код
Авторство
О чём код?
import { config } from './config/config'; import Reactotron from 'reactotron-react-native'; // Ensure this only initializes in a development environment if (__DEV__) { Reactotron.configure({ name: config.name, // The name displayed in the Reactotron Desktop app host: config.host, port: config.port, }) .useReactNative({ asyncStorage: config.asyncStorage, // Turn on if you install the async-storage tracking plugin networking: config.networking, // Prevents internal Metro bundler chatter from clogging your timeline }) .connect(); // Connect to the desktop client // Clear Reactotron on every fresh app reload Reactotron.clear(); // Extend the global console object so you can call console.tron.log() anywhere! // eslint-disable-next-line no-console console.tron = Reactotron; }