mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9214da1238
Summary: Followup to https://github.com/facebook/react-native/issues/34379 by danilobuerger Loading Flipper via reflection is type unsafe and requires extra code + exception handling that we can get rid of. The recommended way to use Flipper on Android is either via a `no-op` artifact or by using build flavors. As we already had a setup for Flipper for `debug`, I'm creating the `release` equivalent which is just a stub. This allows us to get rid of some code inside `MainApplication.java` ## Changelog [Android] [Changed] - Do not load Flipper via reflection Pull Request resolved: https://github.com/facebook/react-native/pull/34383 Test Plan: Will wait for a CI result on this. Reviewed By: cipolleschi Differential Revision: D38615257 Pulled By: cortinico fbshipit-source-id: 66bb2c46c5df36a15c1b27512209a849f55d64c9