9d0242fdc3
Summary: public Due to the cross-platform polyfills we have added (and will add in future) to `UIManager.js`, accessing UIManager directly via NativeModules instead of importing the wrapper is discouraged. This diff fixes a few places where we were doing this inside our own modules. Note: As a general policy, we should avoid accessing modules via NativeModules anyway. Using wrapper classes allows us to provide static declarations for all the native methods and properties, which can be checked at build time by flow. If we access the modules directly, those interfaces are only known at runtime. Reviewed By: vjeux Differential Revision: D2881300 fb-gh-sync-id: 6737358ea8ea6d722cc1941a4b9fa0123a87fc29 |
||
---|---|---|
.. | ||
FBSnapshotTestCase | ||
RCTTest.xcodeproj | ||
RCTSnapshotManager.h | ||
RCTSnapshotManager.m | ||
RCTTestModule.h | ||
RCTTestModule.m | ||
RCTTestRunner.h | ||
RCTTestRunner.m | ||
SnapshotViewIOS.android.js | ||
SnapshotViewIOS.ios.js |