diff --git a/bridge/helpers/index.js b/bridge/helpers/index.js index b611d53c..17a4a731 100644 --- a/bridge/helpers/index.js +++ b/bridge/helpers/index.js @@ -30,3 +30,17 @@ firebaseAdmin.initializeApp({ credential: firebaseAdmin.credential.cert(require('./service-account')), databaseURL: 'https://rnfirebase-b9ad4.firebaseio.com', }); + +const originalLog = console.log; +console.log = (...args) => { + if ( + args && + args[0] && + typeof args[0] === 'string' && + args[0].includes('Deprecated ') + ) { + return undefined; + } + + return originalLog(...args); +};