mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 14:18:23 +00:00
Summary: @public The Chrome debugger can't handle synchronous method calls, so we should avoid doing them. Double wrapped the if with a DEV check so that it's removed when bundling in non-dev mode. Reviewed By: fkgozali Differential Revision: D10345056 fbshipit-source-id: 7a7a2c73f089693da5edafdf3ecf7a3e5d767e52