mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
Remove JS logs from app
This commit is contained in:
@@ -76,7 +76,7 @@ class CoreContainer extends React.Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
return <Navigator />;
|
||||
return <Navigator onNavigationStateChange={null} />;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ function setup(done) {
|
||||
const isDev = global.isDebuggingInChrome || __DEV__;
|
||||
|
||||
const logger = reduxLogger({
|
||||
predicate: () => isDev,
|
||||
predicate: () => false,
|
||||
collapsed: true,
|
||||
duration: true,
|
||||
});
|
||||
@@ -24,7 +24,7 @@ function setup(done) {
|
||||
middlewares.push(applyMiddleware(...[thunk]));
|
||||
|
||||
if (isDev) {
|
||||
middlewares.push(applyMiddleware(...[logger]));
|
||||
// middlewares.push(applyMiddleware(...[logger]));
|
||||
middlewares.push(applyMiddleware(require('redux-immutable-state-invariant')()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user