mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
73427561f7
Summary: It turns out that in release builds, proguard is doing something weird with inner classes, so that getSimpleName() is actually returning "OuterClass$InnerClass" in some cases. We have logic to handle this case already in JavaScriptModuleRegistry, so I'm moving that out to a static method that I can access in bridgeless mode. Also adding tests for it. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D19701703 fbshipit-source-id: 625737bfb50ca8ba2bd26034e2a74c682783ba8a