1 Star 0 Fork 0

jh/Rocket.Chat.ReactNative

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.js 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
import 'react-native-gesture-handler';
import 'react-native-console-time-polyfill';
import { AppRegistry } from 'react-native';
import { name as appName, share as shareName } from './app.json';
import { isFDroidBuild } from './app/lib/constants';
import { isAndroid } from './app/lib/methods/helpers';
if (__DEV__) {
require('./app/ReactotronConfig');
} else {
console.log = () => {};
console.time = () => {};
console.timeLog = () => {};
console.timeEnd = () => {};
console.warn = () => {};
console.count = () => {};
console.countReset = () => {};
console.error = () => {};
console.info = () => {};
}
if (!isFDroidBuild && isAndroid) {
require('./app/lib/notifications/videoConf/backgroundNotificationHandler');
}
AppRegistry.registerComponent(appName, () => require('./app/index').default);
// For storybook, comment everything above and uncomment below
// import 'react-native-gesture-handler';
// import 'react-native-console-time-polyfill';
// import { AppRegistry } from 'react-native';
// import { name as appName } from './app.json';
// require('./app/ReactotronConfig');
// AppRegistry.registerComponent(appName, () => require('./.storybook/index').default);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/kfcvme1949/Rocket.Chat.ReactNative.git
git@gitee.com:kfcvme1949/Rocket.Chat.ReactNative.git
kfcvme1949
Rocket.Chat.ReactNative
Rocket.Chat.ReactNative
master

搜索帮助